ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerElectrons.h
Revision: 1.27
Committed: Sun Mar 11 23:11:55 2012 UTC (13 years, 1 month ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_026, Mit_025e, Mit_025d
Changes since 1.26: +3 -1 lines
Log Message:
Adding DCA Significance + PF No Pileup Flag + Charge Hadron Subtracted Jets

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 pharris 1.27 // $Id: FillerElectrons.h,v 1.26 2012/01/15 23:23:34 pharris Exp $
3 loizides 1.1 //
4     // FillerElectrons
5     //
6 loizides 1.14 // Implementation of a filler to fill EDM electrons into our mithep::Electron data structure.
7 loizides 1.1 //
8 sixie 1.6 // Authors: J.Bendavid, S.Xie
9 loizides 1.1 //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.9 #ifndef MITPROD_TREEFILLER_FILLERELECTRONS_H
12     #define MITPROD_TREEFILLER_FILLERELECTRONS_H
13 loizides 1.1
14 loizides 1.17 #include "MitAna/DataTree/interface/ElectronFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 loizides 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerElectrons : public BaseFiller
21     {
22     public:
23 loizides 1.13 FillerElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
24 loizides 1.1 ~FillerElectrons();
25    
26 bendavid 1.21 void BookDataBlock(TreeWriter &tws);
27 loizides 1.16 void FillDataBlock(const edm::Event &e,
28     const edm::EventSetup &es);
29 loizides 1.1
30     private:
31 loizides 1.9 std::string edmName_; //edm name of electrons collection
32 bendavid 1.23 std::string expectedHitsName_; //edm name of corrected expected hits valuemap
33 loizides 1.15 std::string mitName_; //mit name of Electrons collection
34 loizides 1.9 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 loizides 1.14 std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
38 pharris 1.25 bool checkClusterActive_;
39 bendavid 1.18 std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus
40 pharris 1.27 std::string electronMapName_; //name of exported electron map
41 loizides 1.9 std::string eIDCutBasedTightName_; //name of tight cut eID algo
42     std::string eIDCutBasedLooseName_; //name of loose cut eID algo
43 bendavid 1.23 std::string eIDLikelihoodName_; //name of likelihood cut eID algo
44 pharris 1.26 std::string pvEdmName_; //name of primary vertex collection
45     std::string pvBSEdmName_; //name of bs-constrained pv collection
46 bendavid 1.24 bool recomputeConversionInfo_; //recompute conversion info
47 pharris 1.26 bool fitUnbiasedVertex_; //recompute vertex position without electron
48 pharris 1.27 mithep::ElectronMap *electronMap_; //exported electron map
49 loizides 1.9 mithep::ElectronArr *electrons_; //array of Electrons
50 bendavid 1.11 const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks
51 loizides 1.9 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
52     const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
53 bendavid 1.18 const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
54     const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters
55 loizides 1.1 };
56     }
57     #endif