3 |
|
// |
4 |
|
// FillerElectrons |
5 |
|
// |
6 |
< |
// Imlementation of a filler to fill EDM electrons into our mithep::Electron data structure. |
6 |
> |
// Implementation of a filler to fill EDM electrons into our mithep::Electron data structure. |
7 |
|
// |
8 |
|
// Authors: J.Bendavid, S.Xie |
9 |
|
//-------------------------------------------------------------------------------------------------- |
11 |
|
#ifndef MITPROD_TREEFILLER_FILLERELECTRONS_H |
12 |
|
#define MITPROD_TREEFILLER_FILLERELECTRONS_H |
13 |
|
|
14 |
< |
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
15 |
< |
#include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h" |
16 |
< |
#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h" |
17 |
< |
#include "MitAna/DataUtil/interface/TreeWriter.h" |
18 |
< |
#include "MitAna/DataTree/interface/Collections.h" |
19 |
< |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
14 |
> |
#include "MitAna/DataTree/interface/ElectronFwd.h" |
15 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
16 |
+ |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
17 |
|
|
18 |
|
namespace mithep |
19 |
|
{ |
23 |
|
FillerElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1); |
24 |
|
~FillerElectrons(); |
25 |
|
|
26 |
< |
void BookDataBlock(TreeWriter &tws); |
27 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
26 |
> |
void BookDataBlock(TreeWriter &tws); |
27 |
> |
void FillDataBlock(const edm::Event &e, |
28 |
> |
const edm::EventSetup &es); |
29 |
|
|
30 |
|
private: |
31 |
|
std::string edmName_; //edm name of electrons collection |
32 |
< |
std::string mitName_; //name of Electrons in OAK |
32 |
> |
std::string expectedHitsName_; //edm name of corrected expected hits valuemap |
33 |
> |
std::string mitName_; //mit name of Electrons collection |
34 |
|
std::string gsfTrackMapName_; //name of imported map wrt gsf trks |
35 |
|
std::string trackerTrackMapName_; //name of imported map wrt trk trks |
38 |
– |
std::string barrelEcalRecHitName_; //name of barrel ecal rechits |
39 |
– |
std::string endcapEcalRecHitName_; //name of endcap ecal rechits |
40 |
– |
std::string barrelSuperClusterName_; //name of barrel super clusters |
41 |
– |
std::string endcapSuperClusterName_; //name of endcap super clusters |
42 |
– |
std::string barrelBasicClusterName_; //name of barrel basic clusters |
43 |
– |
std::string endcapBasicClusterName_; //name of endcap basic clusters |
36 |
|
std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus |
37 |
< |
std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus |
37 |
> |
std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus |
38 |
> |
bool checkClusterActive_; |
39 |
> |
std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus |
40 |
|
std::string eIDCutBasedTightName_; //name of tight cut eID algo |
41 |
|
std::string eIDCutBasedLooseName_; //name of loose cut eID algo |
42 |
< |
std::string eIDLikelihoodName_; //name of likelihood eID algo |
43 |
< |
std::string eIDNeuralNetName_; //name of neural net eID algo |
44 |
< |
std::string isoTrackColName_; //name of iso track collection |
45 |
< |
std::string isoCaloTowerColName_; //name of iso CaloTower collection |
46 |
< |
std::string ecalJurassicIsoName_; //name of Ecal Jurassic isolation |
53 |
< |
std::string hcalJurassicIsoName_; //name of Hcal Jurassic isolation |
54 |
< |
std::string trackerIsoName_; //name of tracker isolation |
55 |
< |
std::string gsfTrackAssocName_; //name of gsf track association map |
42 |
> |
std::string eIDLikelihoodName_; //name of likelihood cut eID algo |
43 |
> |
std::string pvEdmName_; //name of primary vertex collection |
44 |
> |
std::string pvBSEdmName_; //name of bs-constrained pv collection |
45 |
> |
bool recomputeConversionInfo_; //recompute conversion info |
46 |
> |
bool fitUnbiasedVertex_; //recompute vertex position without electron |
47 |
|
mithep::ElectronArr *electrons_; //array of Electrons |
48 |
|
const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks |
49 |
|
const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks |
50 |
|
const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters |
51 |
< |
const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters |
51 |
> |
const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters |
52 |
> |
const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters |
53 |
|
}; |
54 |
|
} |
55 |
|
#endif |