ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPhotons.h
Revision: 1.21
Committed: Wed Jul 25 03:08:42 2012 UTC (12 years, 9 months ago) by paus
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1
Changes since 1.20: +16 -14 lines
Log Message:
Preparing for version 029.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 paus 1.21 // $Id: FillerPhotons.h,v 1.20 2012/05/05 16:49:58 paus Exp $
3 bendavid 1.1 //
4     // FillerPhotons
5     //
6 paus 1.20 // Implementation of a filler to fill photons into our data structure, including converted photons.
7 bendavid 1.1 //
8 paus 1.20 // 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 paus 1.18 #include "RecoEgamma/EgammaTools/interface/EGEnergyCorrector.h"
18 bendavid 1.1
19     namespace mithep
20     {
21     class FillerPhotons : public BaseFiller
22     {
23     public:
24 loizides 1.9 FillerPhotons(const edm::ParameterSet &cfg, const char *name, bool active=1);
25 bendavid 1.1 ~FillerPhotons();
26    
27 paus 1.20 void BookDataBlock(TreeWriter &tws);
28     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29    
30     private:
31 paus 1.21 std::string edmName_; //edm name: photon collection
32     std::string mitName_; //mit name: photon collection
33     std::string conversionMapName_; //name: imp. map wrt conv. elecs
34     std::string oneLegConversionMapName_; //name: imp. map wrt conv. elecs
35     std::string barrelSuperClusterMapName_; //name: imp. map wrt barrel sclus
36     std::string endcapSuperClusterMapName_; //name: imp. map wrt endcap sclus
37     std::string pfSuperClusterMapName_; //name: imp. map wrt pflow sclus
38     std::string pfClusterMapName_; //name: imp. map wrt pflow clus
39     std::string pfCandMapName_; //name: imp. map wrt pfcandidates
40     std::string photonMapName_; //name: exported photon map
41     std::string phIDCutBasedTightName_; //name: tight cut phID algo
42     std::string phIDCutBasedLooseName_; //name: loose cut phID algo
43     mithep::PhotonMap *photonMap_; //exported photon map
44 paus 1.20 mithep::PhotonArr *photons_; //array of Photons
45 paus 1.21 const mithep::ConversionDecayMap *conversionMap_; //imp. map wrt conver. electrons
46     const mithep::ConversionDecayMap *oneLegConversionMap_; //imp. map wrt conver. electrons
47 paus 1.20 const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
48     const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
49     const mithep::SuperClusterMap *pfSuperClusterMap_; //map wrt pflow super clusters
50     const mithep::BasicClusterMap *pfClusterMap_; //map wrt pflow basic clusters
51     const mithep::PFCandidateMap *pfCandMap_; //map wrt pflow candidates
52     EGEnergyCorrector ecorr_;
53 bendavid 1.1 };
54     }
55     #endif