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

Comparing UserCode/MitPhysics/Utils/interface/PhotonTools.h (file contents):
Revision 1.27 by mingyang, Mon Feb 11 13:26:41 2013 UTC vs.
Revision 1.30 by mingyang, Mon Dec 16 16:54:25 2013 UTC

# Line 71 | Line 71 | namespace mithep {
71       };    
72      
73       enum eScaleCats {
74 <       kEBlowEtaGoldCenter = 0,
75 <       kEBlowEtaGoldGap,
74 >       kEBlowEtaGold = 0,
75         kEBlowEtaBad,
77       kEBlowEtaBadCenter,
78       kEBlowEtaBadGap,
76         kEBhighEtaGold,
77         kEBhighEtaBad,
78         kEElowEtaGold,
# Line 91 | Line 88 | namespace mithep {
88       };
89  
90      static eScaleCats EScaleCat(const Photon *p);
94    static eScaleCats EScaleCatHCP(const Photon *p);
91  
92      // Methods for scaling/smearing Photons
93      static void ScalePhoton(Photon* p, Double_t scale);
# Line 106 | Line 102 | namespace mithep {
102      static Bool_t       PassSinglePhotonPresel(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol, const Vertex *vtx, double rho, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
103      static Bool_t       PassSinglePhotonPreselPFISO(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
104      static Bool_t       PassSinglePhotonPreselPFISONoEcal(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
105 +    static Bool_t       PassSinglePhotonPreselPFISONoEcalNoPFChargedIso(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
106      static Bool_t       PassSinglePhotonPreselPFISO_NoTrigger(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE);
107      static Bool_t       PassConversionId(const Photon *p, const DecayParticle *c);
108      static Bool_t       PassElectronVeto(const Photon *p, const ElectronCol *els);
# Line 151 | Line 148 | namespace mithep {
148                                        const Vertex* vtx,
149                                        const PFCandidateCol*    pfCol,
150                                        const VertexCol*   vtxCol,
151 <                                      double rho, double ptmin,
152 <                                      std::vector<double>* kin = NULL);                                
151 >                                      double rho, double ptmin,bool dor9rescale, double p0b, double p1b,double p0e, double p1e,
152 >                                      std::vector<double>* kin = NULL);
153 >
154 >    static bool PassCiCPFIsoSelectionWithEleVeto(const Photon* ph,
155 >                                                 const ElectronCol *els,
156 >                                                 const DecayParticleCol *conversions, const BaseVertex *bs,
157 >                                                 const Vertex* vtx,
158 >                                                 const PFCandidateCol*    pfCol,
159 >                                                 const VertexCol*   vtxCol,
160 >                                                 double rho, double ptmin,
161 >                                                 Bool_t applyElectronVeto, Bool_t invertElectronVeto,
162 >                                                 std::vector<double>* kin= NULL  // store variables for debugging...
163 >                                                 );// add for mono photon                                
164      
165      static bool PassVgamma2011Selection(const Photon* ph, double rho);
166  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines