ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFCandidates.h
Revision: 1.3
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.2: +4 -4 lines
Log Message:
Cleanup

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerPFCandidates.h,v 1.2 2009/03/15 11:20:40 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 "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 FillerPFCandidates : public BaseFiller
23 {
24 public:
25 FillerPFCandidates(const edm::ParameterSet &cfg, const char *name, bool active=1);
26 ~FillerPFCandidates();
27
28 void BookDataBlock(TreeWriter &tws);
29 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30 void ResolveLinks (const edm::Event &e, const edm::EventSetup &es);
31
32 private:
33 std::string edmName_; //edm name of PFCandidates collection
34 std::string mitName_; //name of PFCandidate branch in BAMBU
35 std::string globalTrackMapName_; //name of imported map wrt global muons
36 std::string staTrackMapName_; //name of imported map wrt sta muons
37 std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons
38 std::string trackerTrackMapName_; //name of imported map wrt general tracks
39 std::string gsfTrackMapName_; //name of imported map wrt pf gsf tracks
40 std::string muonMapName_; //name of imported map wrt muons
41 std::string conversionMapName_; //name of imported map wrt conversions
42 std::string pfCandMapName_; //name of exported pf candidate map
43 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
44 const mithep::TrackMap *gsfTrackMap_; //map wrt pf gsf tracks
45 const mithep::MuonMap *muonMap_; //map wrt muons
46 const mithep::ConversionMap *conversionMap_; //map wrt conversions
47 mithep::PFCandidateMap *pfCandMap_; //exported map
48 mithep::PFCandidateArr *pfCands_; //array of PFCandidates
49 };
50 }
51 #endif