ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFCandidates.h
Revision: 1.4
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.3: +3 -5 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.4 // $Id: FillerPFCandidates.h,v 1.3 2009/03/22 10:00:46 loizides Exp $
3 bendavid 1.1 //
4     // FillerPFCandidates
5     //
6     // Implementation of a filler to fill EDM PFCandidates into our mithep::PFCandidate data structure.
7     //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPFCANDIDATES_H
12     #define MITPROD_TREEFILLER_FILLERPFCANDIDATES_H
13    
14 loizides 1.4 #include "MitAna/DataTree/interface/PFCandidateFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 bendavid 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerPFCandidates : public BaseFiller
21     {
22     public:
23     FillerPFCandidates(const edm::ParameterSet &cfg, const char *name, bool active=1);
24     ~FillerPFCandidates();
25    
26 loizides 1.3 void BookDataBlock(TreeWriter &tws);
27     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28     void ResolveLinks (const edm::Event &e, const edm::EventSetup &es);
29 bendavid 1.1
30     private:
31 loizides 1.2 std::string edmName_; //edm name of PFCandidates collection
32     std::string mitName_; //name of PFCandidate branch in BAMBU
33     std::string globalTrackMapName_; //name of imported map wrt global muons
34     std::string staTrackMapName_; //name of imported map wrt sta muons
35     std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons
36     std::string trackerTrackMapName_; //name of imported map wrt general tracks
37     std::string gsfTrackMapName_; //name of imported map wrt pf gsf tracks
38     std::string muonMapName_; //name of imported map wrt muons
39     std::string conversionMapName_; //name of imported map wrt conversions
40     std::string pfCandMapName_; //name of exported pf candidate map
41     const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
42     const mithep::TrackMap *gsfTrackMap_; //map wrt pf gsf tracks
43     const mithep::MuonMap *muonMap_; //map wrt muons
44 bendavid 1.1 const mithep::ConversionMap *conversionMap_; //map wrt conversions
45 loizides 1.2 mithep::PFCandidateMap *pfCandMap_; //exported map
46     mithep::PFCandidateArr *pfCands_; //array of PFCandidates
47 bendavid 1.1 };
48     }
49     #endif