ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerElectrons.h
Revision: 1.28
Committed: Sat May 5 16:49:58 2012 UTC (12 years, 11 months ago) by paus
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_028, Mit_027a, Mit_027, HEAD
Changes since 1.27: +10 -9 lines
Error occurred while calculating annotation data.
Log Message:
Version 027 - complete version for ICHEP 2012.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerElectrons.h,v 1.27 2012/03/11 23:11:55 pharris Exp $
3 //
4 // FillerElectrons
5 //
6 // Implementation of a filler to fill EDM electrons into our mithep::Electron data structure.
7 //
8 // Authors: C.Paus, P.Harris, J.Bendavid, S.Xie
9 //--------------------------------------------------------------------------------------------------
10
11 #ifndef MITPROD_TREEFILLER_FILLERELECTRONS_H
12 #define MITPROD_TREEFILLER_FILLERELECTRONS_H
13
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 {
20 class FillerElectrons : public BaseFiller
21 {
22 public:
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,
28 const edm::EventSetup &es);
29 private:
30 std::string edmName_; //edm name of electrons collection
31 std::string expectedHitsName_; //edm name of corrected expected hits valuemap
32 std::string mitName_; //mit name of Electrons collection
33 std::string gsfTrackMapName_; //name of imported map wrt gsf trks
34 std::string trackerTrackMapName_; //name of imported map wrt trk trks
35 std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus
36 std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
37 bool checkClusterActive_;
38 std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus
39 std::string pfClusterMapName_; //name of imp. map wrt pflow clus
40 std::string electronMapName_; //name of exported electron map
41 std::string eIDCutBasedTightName_; //name of tight cut eID algo
42 std::string eIDCutBasedLooseName_; //name of loose cut eID algo
43 std::string eIDLikelihoodName_; //name of likelihood cut eID algo
44 std::string pvEdmName_; //name of primary vertex collection
45 std::string pvBSEdmName_; //name of bs-constrained pv collection
46 bool recomputeConversionInfo_; //recompute conversion info
47 bool fitUnbiasedVertex_; //recompute vertex position without electron
48 mithep::ElectronMap *electronMap_; //exported electron map
49 mithep::ElectronArr *electrons_; //array of Electrons
50 const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks
51 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
52 const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
53 const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
54 const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters
55 const mithep::BasicClusterMap *pfClusterMap_; //map wrt pflow basic clusters
56 };
57 }
58 #endif