ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/PhotonCiCMod.h
(Generate patch)

Comparing UserCode/MitPhysics/Mods/interface/PhotonCiCMod.h (file contents):
Revision 1.1 by fabstoec, Wed Jun 1 18:11:52 2011 UTC vs.
Revision 1.4 by fabstoec, Sun Jul 3 11:04:50 2011 UTC

# Line 20 | Line 20
20   #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
21   #include "MitAna/DataTree/interface/DecayParticleCol.h"
22   #include "MitAna/DataTree/interface/ElectronCol.h"
23 + #include "MitAna/DataTree/interface/DecayParticleCol.h"
24 + #include "MitAna/DataTree/interface/PileupInfoCol.h"
25 + #include "MitAna/DataTree/interface/MCParticleCol.h"
26 +
27 + class TNtuple;
28 + class TRandom3;
29  
30   namespace mithep
31   {
# Line 29 | Line 35 | namespace mithep
35        PhotonCiCMod(const char *name="PhotonCiCMod",
36                    const char *title="Photon identification module");
37  
38 +      ~PhotonCiCMod();
39 +
40        Bool_t              GetApplySpikeRemoval()      const { return fApplySpikeRemoval;   }
41        const char         *GetGoodName()               const { return GetGoodPhotonsName(); }  
42        const char         *GetGoodPhotonsName()        const { return fGoodPhotonsName;     }  
# Line 45 | Line 53 | namespace mithep
53        void                SetPtMin(Double_t pt)             { fPhotonPtMin     = pt;       }
54        void                SetAbsEtaMax(Double_t x)          { fAbsEtaMax       = x;        }
55  
56 <      void                     SetPVName  (TString s) {fPVName   = s; fPVFromBranch   = false;};
56 >      void                SetPVName  (TString s) {fPVName   = s; fPVFromBranch   = false;};
57 >
58 >      void                SetIsData (Bool_t b) { fIsData = b;};
59 >
60 >      double findHiggsPt();
61  
62      protected:
63        void                Process();
64        void                SlaveBegin();
65 +      unsigned int        findBestVertex(Photon* ph1, Photon* ph2, const BaseVertex* bsp, bool print=false);
66  
67        TString             fPhotonBranchName;     //name of photon collection (input)
68        TString             fGoodPhotonsName;      //name of exported "good photon" collection
# Line 68 | Line 81 | namespace mithep
81        const VertexCol *fPV;
82        Bool_t fPVFromBranch;
83  
84 +      const DecayParticleCol *fConversions;
85 +      TString fConversionName;
86 +
87 +      const BeamSpotCol *fBeamspot;
88 +    
89 +      Double_t fDataEnCorr_EB_hR9;
90 +      Double_t fDataEnCorr_EB_lR9;
91 +      Double_t fDataEnCorr_EE_hR9;
92 +      Double_t fDataEnCorr_EE_lR9;
93 +
94 +      Double_t fMCSmear_EB_hR9;
95 +      Double_t fMCSmear_EB_lR9;
96 +      Double_t fMCSmear_EE_hR9;
97 +      Double_t fMCSmear_EE_lR9;
98 +
99 +      Bool_t fIsData;
100 +
101 +      TNtuple* hCiCTuple;
102 +
103 +      TRandom3* rng;
104 +
105 +      TString fMCParticleName;
106 +      const MCParticleCol* fMCParticles;
107 +
108 +      TString                  fPileUpName;
109 +      const PileupInfoCol     *fPileUp;
110 +
111      ClassDef(PhotonCiCMod, 1) // Photon identification module
112    };
113   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines