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.9 by bendavid, Wed Jul 27 15:17:37 2011 UTC vs.
Revision 1.10 by bendavid, Wed Aug 3 17:15:44 2011 UTC

# Line 37 | Line 37 | namespace mithep {
37          kCat4        //barrel-endcap+endcap-endcap highr9/lowr9 + lowr9-lowr9
38        };
39        
40 +     enum DiphotonR9EtaPtCats {
41 +       kOctCat0,
42 +       kOctCat1,
43 +       kOctCat2,
44 +       kOctCat3,
45 +       kOctCat4,
46 +       kOctCat5,
47 +       kOctCat6,
48 +       kOctCat7
49 +     };
50 +      
51       enum DiphotonR9EtaConversionCats {
52          kNewCat1 = 0,       //barrel-barrel highr9/highr9
53          kNewCat2,             //barrel-barrel highr9/lowr9+lowr9/lowr9 one/two conversion
# Line 70 | Line 81 | namespace mithep {
81                                                    const BaseVertex *vtx, Int_t nWrongHitsMax=1, Double_t probMin=1e-6,
82                                                    Double_t lxyMin = 2.0);                                              
83      static DiphotonR9EtaCats DiphotonR9EtaCat(const Photon *p1, const Photon *p2);
84 +    static DiphotonR9EtaPtCats DiphotonR9EtaPtCat(const Photon *p1, const Photon *p2);
85      static DiphotonR9EtaConversionCats DiphotonR9EtaConversionCat(const Photon *p1, const Photon *p2, const DecayParticleCol *conversions, const BaseVertex *v);
86      static CiCBaseLineCats CiCBaseLineCat(const Photon *p);
87      
# Line 86 | Line 98 | namespace mithep {
98                                   bool applyEleVeto = true,
99                                   bool print = false, float* kin=NULL);
100  
89
90    static bool PassCiCSelection(Photon* ph,
91                                 const Vertex* vtx,
92                                 const TrackCol*    trackCol,
93                                 const ElectronCol* eleCol,
94                                 const VertexCol*   vtxCol,
95                                 double rho, double ptmin,
96                                 bool applyEleVeto = true,
97                                 bool print = false, float* kin=NULL);
101                                  
102 <    static const MCParticle *MatchMC(const Photon *ph, const MCParticleCol *c);
102 >    static const MCParticle *MatchMC(const Photon *ph, const MCParticleCol *c, Bool_t matchElectrons = kFALSE);
103      
104      ClassDef(PhotonTools, 0) // Muon tools
105        };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines