ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPATElectrons.h
Revision: 1.6
Committed: Mon Jun 15 15:00:25 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b
Changes since 1.5: +3 -7 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.6 // $Id: FillerPATElectrons.h,v 1.5 2009/03/22 10:00:46 loizides Exp $
3 sixie 1.1 //
4     // FillerPATElectrons
5     //
6 loizides 1.4 // Implementation of a filler to fill PAT electrons into our mithep::Electron data structure.
7 sixie 1.1 //
8     // Authors: S.Xie
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.2 #ifndef MITPROD_TREEFILLER_FILLERPATELECTRONS_H
12     #define MITPROD_TREEFILLER_FILLERPATELECTRONS_H
13 sixie 1.1
14 loizides 1.6 #include "MitAna/DataTree/interface/ElectronFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 sixie 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerPATElectrons : public BaseFiller
21     {
22     public:
23 loizides 1.4 FillerPATElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
24 sixie 1.1 ~FillerPATElectrons();
25    
26 loizides 1.5 void BookDataBlock(TreeWriter &tws);
27     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28 sixie 1.1
29     private:
30 loizides 1.4 std::string edmName_; //edm name of electron collection
31     std::string mitName_; //mit name of electron collection
32     std::string gsfTrackMapName_; //name of imported map wrt gsf tracks
33     std::string trackerTrackMapName_; //name of imported map wrt to trk tracks
34     mithep::ElectronArr *electrons_; //electron array
35     const mithep::TrackMap *gsfTrackMap_; //imported gsf track map
36     const mithep::TrackMap *trackerTrackMap_; //imported track track map
37 sixie 1.1 };
38     }
39     #endif