ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerElectrons.h
Revision: 1.26.2.2
Committed: Fri May 31 22:58:44 2013 UTC (11 years, 11 months ago) by pharris
Content type: text/plain
Branch: Mit_025c_branch
CVS Tags: Mit_025c_branch2
Changes since 1.26.2.1: +2 -1 lines
Log Message:
updated 42X for Tau

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 pharris 1.26.2.2 // $Id: FillerElectrons.h,v 1.26.2.1 2012/05/15 23:31:20 paus 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 paus 1.26.2.1 // Authors: C.Paus, P.Harris, 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 paus 1.26.2.1 // patching 4x
19     #include "RecoEgamma/EgammaElectronAlgos/interface/ElectronHcalHelper.h"
20    
21 loizides 1.1 namespace mithep
22     {
23     class FillerElectrons : public BaseFiller
24     {
25     public:
26 loizides 1.13 FillerElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
27 loizides 1.1 ~FillerElectrons();
28    
29 bendavid 1.21 void BookDataBlock(TreeWriter &tws);
30 loizides 1.16 void FillDataBlock(const edm::Event &e,
31     const edm::EventSetup &es);
32 loizides 1.1
33     private:
34 loizides 1.9 std::string edmName_; //edm name of electrons collection
35 bendavid 1.23 std::string expectedHitsName_; //edm name of corrected expected hits valuemap
36 loizides 1.15 std::string mitName_; //mit name of Electrons collection
37 loizides 1.9 std::string gsfTrackMapName_; //name of imported map wrt gsf trks
38     std::string trackerTrackMapName_; //name of imported map wrt trk trks
39     std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus
40 loizides 1.14 std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
41 pharris 1.25 bool checkClusterActive_;
42 bendavid 1.18 std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus
43 paus 1.26.2.1 std::string pfClusterMapName_; //name of imp. map wrt pflow clus
44     std::string electronMapName_; //name of exported electron map
45 loizides 1.9 std::string eIDCutBasedTightName_; //name of tight cut eID algo
46     std::string eIDCutBasedLooseName_; //name of loose cut eID algo
47 bendavid 1.23 std::string eIDLikelihoodName_; //name of likelihood cut eID algo
48 pharris 1.26 std::string pvEdmName_; //name of primary vertex collection
49     std::string pvBSEdmName_; //name of bs-constrained pv collection
50 bendavid 1.24 bool recomputeConversionInfo_; //recompute conversion info
51 paus 1.26.2.1 bool fitUnbiasedVertex_; //recompute vertex position without electron
52 pharris 1.26.2.2 bool useHcalTowers_; //Use the CaloTowers to the the hcal deposit
53 paus 1.26.2.1 mithep::ElectronMap *electronMap_; //exported electron map
54 loizides 1.9 mithep::ElectronArr *electrons_; //array of Electrons
55 bendavid 1.11 const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks
56 loizides 1.9 const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
57     const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
58 bendavid 1.18 const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
59 paus 1.26.2.1 const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters
60     const mithep::BasicClusterMap *pfClusterMap_; //map wrt pflow basic clusters
61    
62     // patching 4x
63     ElectronHcalHelper::Configuration hcalCfg_;
64     ElectronHcalHelper *hcalHelper_;
65 loizides 1.1 };
66     }
67     #endif