1 |
+ |
|
2 |
|
//-------------------------------------------------------------------------------------------------- |
3 |
|
// $Id$ |
4 |
|
// |
24 |
|
FillerPFCandidates(const edm::ParameterSet &cfg, const char *name, bool active=1); |
25 |
|
~FillerPFCandidates(); |
26 |
|
|
27 |
< |
void BookDataBlock(TreeWriter &tws); |
28 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
29 |
< |
void ResolveLinks (const edm::Event &e, const edm::EventSetup &es); |
27 |
> |
void BookDataBlock(TreeWriter &tws); |
28 |
> |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
29 |
> |
void ResolveLinks (const edm::Event &e, const edm::EventSetup &es); |
30 |
|
|
31 |
|
private: |
32 |
< |
std::string edmName_; //edm name of PFCandidates collection |
33 |
< |
std::string mitName_; //name of PFCandidate branch in BAMBU |
34 |
< |
std::string globalTrackMapName_; //name of imported map wrt global muons |
35 |
< |
std::string staTrackMapName_; //name of imported map wrt sta muons |
36 |
< |
std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons |
37 |
< |
std::string trackerTrackMapName_; //name of imported map wrt general tracks |
38 |
< |
std::string gsfTrackMapName_; //name of imported map wrt pf gsf tracks |
39 |
< |
std::string muonMapName_; //name of imported map wrt muons |
40 |
< |
std::string conversionMapName_; //name of imported map wrt conversions |
41 |
< |
std::string pfCandMapName_; //name of exported pf candidate map |
42 |
< |
const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks |
43 |
< |
const mithep::TrackMap *gsfTrackMap_; //map wrt pf gsf tracks |
44 |
< |
const mithep::MuonMap *muonMap_; //map wrt muons |
45 |
< |
const mithep::ConversionMap *conversionMap_; //map wrt conversions |
46 |
< |
mithep::PFCandidateMap *pfCandMap_; //exported map |
47 |
< |
mithep::PFCandidateArr *pfCands_; //array of PFCandidates |
32 |
> |
|
33 |
> |
const mithep::Track *getMitTrack(mitedm::TrackPtr ptr, bool allowmissing) const; |
34 |
> |
|
35 |
> |
std::string edmName_; //edm name of PFCandidates coll |
36 |
> |
std::string edmPfNoPileupName_; //edm name of PFNoPileup coll |
37 |
> |
std::string mitName_; //name: PFCandidate branch in BAMBU |
38 |
> |
std::string globalTrackMapName_; //name: impo. map wrt global muons |
39 |
> |
std::string staTrackMapName_; //name: impo. map wrt sta muons |
40 |
> |
std::string staVtxTrackMapName_; //name: impo. map wrt sta vtx muons |
41 |
> |
std::vector<std::string> trackerTrackMapNames_; //name: impo. map wrt general tracks |
42 |
> |
std::string gsfTrackMapName_; //name: impo. map wrt pf gsf tracks |
43 |
> |
std::string muonMapName_; //name: impo. map wrt muons |
44 |
> |
std::string electronMapName_; //name: impo. map wrt electrons |
45 |
> |
std::string photonMapName_; //name: impo. map wrt photons |
46 |
> |
std::string barrelSuperClusterMapName_; //name: impo. map wrt SC |
47 |
> |
std::string endcapSuperClusterMapName_; //name: impo. map wrt SC |
48 |
> |
std::string pfElectronSuperClusterMapName_; //name: impo. map wrt SC |
49 |
> |
std::string conversionMapName_; //name: impo. map wrt conversions |
50 |
> |
std::string pfCandMapName_; //name: expo. pf candidate map |
51 |
> |
std::string pfNoPileupCandMapName_; //name: expo. PFnoPU candidate map |
52 |
> |
bool allowMissingTrackRef_; //allow missing track ref (tau emb) |
53 |
> |
bool allowMissingPhotonRef_; //allow missing photon ref (tau emb) |
54 |
> |
bool fillPfNoPileup_; |
55 |
> |
std::vector<const mithep::TrackMap*> |
56 |
> |
trackerTrackMaps_; //maps wrt tracker tracks |
57 |
> |
const mithep::TrackMap *gsfTrackMap_; //map wrt pf gsf tracks |
58 |
> |
const mithep::MuonMap *muonMap_; //map wrt muons |
59 |
> |
const mithep::ElectronMap *electronMap_; //map wrt electrons |
60 |
> |
const mithep::PhotonMap *photonMap_; //map wrt photons |
61 |
> |
const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt superclusters |
62 |
> |
const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt superclusters |
63 |
> |
const mithep::SuperClusterMap *pfElectronSuperClusterMap_;//map wrt superclusters |
64 |
> |
const mithep::ConversionMap *conversionMap_; //map wrt conversions |
65 |
> |
mithep::PFCandidateMap *pfCandMap_; //exported map |
66 |
> |
mithep::PFCandidateMap *pfNoPileupCandMap_; //exported map for pf no pileup |
67 |
> |
mithep::PFCandidateArr *pfCands_; //array of PFCandidates |
68 |
|
}; |
69 |
|
} |
70 |
|
#endif |