ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFTaus.h
Revision: 1.2
Committed: Sun Mar 22 10:00:46 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.1: +12 -12 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillerPFTaus.h,v 1.1 2009/03/20 18:47:45 bendavid Exp $
3 bendavid 1.1 //
4     // FillerPFTaus
5     //
6     // Implementation of a filler to fill EDM pf taus into our mithep::PFTau data structure.
7     //
8     // Authors: C.Loizides, J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPFTAUS_H
12     #define MITPROD_TREEFILLER_FILLERPFTAUS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "MitAna/DataTree/interface/Collections.h"
17     #include "MitProd/TreeFiller/interface/BaseFiller.h"
18     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
19    
20     namespace mithep
21     {
22     class FillerPFTaus : public BaseFiller
23     {
24     public:
25     FillerPFTaus(const edm::ParameterSet &cfg, const char *name, bool active=1);
26     ~FillerPFTaus();
27    
28 loizides 1.2 void BookDataBlock(TreeWriter &tws);
29     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30 bendavid 1.1
31     private:
32 loizides 1.2 std::string edmName_; //edm name of jets collection
33     std::string mitName_; //mit name of jets collection
34     std::string trackMapName_; //name of imported TrackMap
35     std::string jetMapName_; //name of imported PFJetMap
36     std::string pfCandMapName_; //name of imported PFCandidateMap
37     const mithep::TrackMap *trackMap_; //map wrt Tracks
38     const mithep::PFJetMap *jetMap_; //map wrt pfjets
39     const mithep::PFCandidateMap *pfCandMap_; //map wrt pf candidates
40     mithep::PFTauArr *taus_; //array of taus
41 bendavid 1.1 };
42     }
43     #endif