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.8 by fabstoec, Fri Jul 15 19:42:36 2011 UTC vs.
Revision 1.10 by bendavid, Wed Aug 3 17:15:44 2011 UTC

# Line 20 | Line 20
20   #include "MitAna/DataTree/interface/VertexCol.h"
21   #include "MitAna/DataTree/interface/BeamSpotCol.h"
22   #include "MitAna/DataTree/interface/TriggerObjectCol.h"
23 + #include "MitAna/DataTree/interface/MCParticleCol.h"
24   #include "MitCommon/MathTools/interface/MathUtils.h"
25  
26   class TRandom3;
# Line 36 | 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 69 | 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 85 | Line 98 | namespace mithep {
98                                   bool applyEleVeto = true,
99                                   bool print = false, float* kin=NULL);
100  
101 <
102 <    static bool PassCiCSelection(Photon* ph,
90 <                                 const Vertex* vtx,
91 <                                 const TrackCol*    trackCol,
92 <                                 const ElectronCol* eleCol,
93 <                                 const VertexCol*   vtxCol,
94 <                                 double rho, double ptmin,
95 <                                 bool applyEleVeto = true,
96 <                                 bool print = false, float* kin=NULL);
101 >                                
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