Revision: | 1.6 |
Committed: | Thu Mar 18 20:21:00 2010 UTC (15 years, 1 month ago) by bendavid |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013 |
Changes since 1.5: | +2 -2 lines |
Log Message: | Fix beginrun,beginjob mess |
# | Content |
---|---|
1 | //-------------------------------------------------------------------------------------------------- |
2 | // $Id: FillerPFCandidates.h,v 1.5 2009/09/25 08:42:50 loizides Exp $ |
3 | // |
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 | #include "MitAna/DataTree/interface/PFCandidateFwd.h" |
15 | #include "MitProd/TreeFiller/interface/AssociationMaps.h" |
16 | #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 | 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 | |
30 | private: |
31 | 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 | const mithep::ConversionMap *conversionMap_; //map wrt conversions |
45 | mithep::PFCandidateMap *pfCandMap_; //exported map |
46 | mithep::PFCandidateArr *pfCands_; //array of PFCandidates |
47 | }; |
48 | } |
49 | #endif |