ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPhotons.h
Revision: 1.17.2.1
Committed: Tue May 15 23:31:20 2012 UTC (12 years, 11 months ago) by paus
Content type: text/plain
Branch: Mit_025c_branch
CVS Tags: Mit_025c_branch1, Mit_025c_branch0
Changes since 1.17: +34 -21 lines
Log Message:
Backporting from 5x.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 paus 1.17.2.1 // $Id: FillerPhotons.h,v 1.17 2011/10/09 23:28:48 bendavid Exp $
3 bendavid 1.1 //
4     // FillerPhotons
5     //
6 paus 1.17.2.1 // Implementation of a filler to fill photons into our data structure, including converted photons.
7 bendavid 1.1 //
8 paus 1.17.2.1 // Authors: C.Paus, J.Bendavid
9 bendavid 1.1 //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.6 #ifndef MITPROD_TREEFILLER_FILLERPHOTONS_H
12     #define MITPROD_TREEFILLER_FILLERPHOTONS_H
13 bendavid 1.1
14 loizides 1.12 #include "MitAna/DataTree/interface/PhotonFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16 bendavid 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17 bendavid 1.16 #include "HiggsAnalysis/HiggsToGammaGamma/interface/EGEnergyCorrector.h"
18 bendavid 1.1
19 paus 1.17.2.1 // patching 4x
20     #include "RecoEgamma/EgammaElectronAlgos/interface/ElectronHcalHelper.h"
21    
22 bendavid 1.1 namespace mithep
23     {
24     class FillerPhotons : public BaseFiller
25     {
26     public:
27 loizides 1.9 FillerPhotons(const edm::ParameterSet &cfg, const char *name, bool active=1);
28 bendavid 1.1 ~FillerPhotons();
29    
30 paus 1.17.2.1 void BookDataBlock(TreeWriter &tws);
31     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
32    
33     private:
34     std::string edmName_; //edm name of photon collection
35     std::string mitName_; //mit name of photon collection
36     std::string conversionMapName_; //name of imported map wrt conv electrons
37     std::string oneLegConversionMapName_; //name of imported map wrt conv electrons
38     std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus
39     std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
40     std::string pfSuperClusterMapName_; //name of imp. map wrt pflow sclus
41     std::string pfClusterMapName_; //name of imp. map wrt pflow clus
42     std::string pfCandMapName_; //name of imp. map wrt pfcandidates
43     std::string phIDCutBasedTightName_; //name of tight cut phID algo
44     std::string phIDCutBasedLooseName_; //name of loose cut phID algo
45     mithep::PhotonArr *photons_; //array of Photons
46     const mithep::ConversionDecayMap *conversionMap_; //imported map wrt conversion electrons
47     const mithep::ConversionDecayMap *oneLegConversionMap_; //imported map wrt conversion electrons
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     const mithep::BasicClusterMap *pfClusterMap_; //map wrt pflow basic clusters
52     const mithep::PFCandidateMap *pfCandMap_; //map wrt pflow candidates
53     EGEnergyCorrector ecorr_;
54    
55     // patching 4x
56     ElectronHcalHelper::Configuration hcalCfg_;
57     ElectronHcalHelper *hcalHelper_;
58 bendavid 1.1 };
59     }
60     #endif