ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerElectrons.h
Revision: 1.24
Committed: Mon Apr 4 23:39:20 2011 UTC (14 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_025a, Mit_025, Mit_025pre2, Mit_024b, 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
Changes since 1.23: +2 -1 lines
Log Message:
add additional flag for partner track conversions and make recomputation of conversion info configurable

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerElectrons.h,v 1.23 2010/10/18 01:34:47 bendavid Exp $
3 //
4 // FillerElectrons
5 //
6 // Implementation of a filler to fill EDM electrons into our mithep::Electron data structure.
7 //
8 // Authors: 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
30 private:
31 std::string edmName_; //edm name of electrons collection
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
36 std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus
37 std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
38 std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus
39 std::string eIDCutBasedTightName_; //name of tight cut eID algo
40 std::string eIDCutBasedLooseName_; //name of loose cut eID algo
41 std::string eIDLikelihoodName_; //name of likelihood cut eID algo
42 std::string pvEdmName_; //name of primary vertex collection
43 std::string pvBSEdmName_; //name of bs-constrained pv collection
44 bool recomputeConversionInfo_; //recompute conversion info
45 mithep::ElectronArr *electrons_; //array of Electrons
46 const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks
47 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
48 const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
49 const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
50 const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters
51 };
52 }
53 #endif