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

Comparing UserCode/MitPhysics/Mods/interface/MuonIDMod.h (file contents):
Revision 1.26 by ceballos, Sat Oct 9 18:42:16 2010 UTC vs.
Revision 1.31 by ceballos, Fri Mar 11 15:13:13 2011 UTC

# Line 18 | Line 18
18   #include "MitAna/TreeMod/interface/BaseMod.h"
19   #include "MitAna/DataTree/interface/MuonFwd.h"
20   #include "MitAna/DataTree/interface/VertexFwd.h"
21 + #include "MitAna/DataTree/interface/TrackFwd.h"
22 + #include "MitAna/DataTree/interface/PFCandidateFwd.h"
23   #include "MitPhysics/Utils/interface/MuonTools.h"
24 + #include "MitPhysics/Utils/interface/IsolationTools.h"
25 + #include "MitAna/DataTree/interface/PileupEnergyDensityCol.h"
26  
27   namespace mithep
28   {
# Line 45 | Line 49 | namespace mithep
49        void               SetCaloIsoCut(Double_t cut)          { fCaloIsolationCut  = cut;   }
50        void               SetClassType(const char *type)       { fMuonClassType     = type;  }
51        void               SetCleanMuonsName(const char *name)  { fCleanMuonsName    = name;  }  
52 +      void               SetOldMuonsName(const char *n)       { fNonIsolatedMuonsName  = n;         }  
53 +      void               SetOldElectronsName(const char *n)   { fNonIsolatedElectronsName  = n;     }  
54        void               SetCleanName(const char *name)       { SetCleanMuonsName(name);    }  
55        void               SetCombIsoCut(Double_t cut)          { fCombIsolationCut  = cut;   }
56        void               SetD0Cut(Double_t cut)               { fD0Cut             = cut;   }
# Line 64 | Line 70 | namespace mithep
70          kZMuId,             //"ZMuId"
71          kTight,             //"Tight"
72          kLoose,             //"Loose"
73 <        kMinimal,           //"Minimal"
73 >        kWWMuId,            //"WWMuId"
74          kNoId,              //"NoId"
75          kCustomId           //"Custom"
76        };
77        enum EMuIsoType {
78 <        kIsoUndef = 0,      //not defined
79 <        kTrackCalo,         //"TrackCalo"
80 <        kTrackCaloCombined, //"TrackCaloCombined"
81 <        kTrackCaloSliding,  //"TrackCaloSliding"
82 <        kCustomIso,         //"Custom"
83 <        kNoIso              //"NoIso"
78 >        kIsoUndef = 0,                 //"not defined"
79 >        kTrackCalo,                    //"TrackCalo"
80 >        kTrackCaloCombined,            //"TrackCaloCombined"
81 >        kTrackCaloSliding,             //"TrackCaloSliding"
82 >        kTrackCaloSlidingNoCorrection, //"TrackCaloSlidingNoCorrection"
83 >        kCustomIso,                    //"Custom"
84 >        kPFIso,                        //"PFIso"
85 >        kPFIsoNoL,                     //"PFIsoNoL"
86 >        kNoIso                         //"NoIso"
87        };
88        enum EMuClassType {
89          kClassUndef = 0,    //not defined
# Line 92 | Line 101 | namespace mithep
101  
102        TString            fMuonBranchName;      //name of muon collection (input)
103        TString            fCleanMuonsName;      //name of exported "good muon" collection
104 +      TString            fNonIsolatedMuonsName;    //name of imported "old muon" collection
105 +      TString            fNonIsolatedElectronsName;//name of imported "old electron" collection
106        TString            fVertexName;          //name of vertex collection
107 +      TString            fTrackName;           //name of track collection
108 +      TString            fPFCandidatesName;    //name of pfcandidates collection
109        TString            fMuonIDType;          //type of muon id scheme we impose
110        TString            fMuonIsoType;         //type of muon isolations scheme we impose
111        TString            fMuonClassType;       //type of muon class we impose
# Line 110 | Line 123 | namespace mithep
123        EMuClassType       fMuClassType;         //!muon class type (imposed)
124        const MuonCol     *fMuons;               //!muon collection
125        const VertexCol   *fVertices;            //!vertices branch
126 <      MuonTools         *fMuonTools;           //!muon tool
127 <    
126 >      const TrackCol    *fTracks;              //!track branch    
127 >      const PFCandidateCol *fPFCandidates;     //!pfcandidate branch
128 >      MuonCol            *fNonIsolatedMuons;    //!pointer to old muon collection
129 >      ElectronCol        *fNonIsolatedElectrons;//!pointer to old electron collection
130 >      TString             fPileupEnergyDensityName;
131 >      const PileupEnergyDensityCol *fPileupEnergyDensity;
132 >
133      ClassDef(MuonIDMod, 1) // Muon identification module
134    };
135   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines