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.32 by ceballos, Tue Mar 15 12:02:20 2011 UTC vs.
Revision 1.36 by ceballos, Fri Sep 16 14:09:17 2011 UTC

# Line 42 | Line 42 | namespace mithep
42        const char        *GetIsoType()                   const { return fMuonIsoType;        }
43        const char        *GetOutputName()                const { return GetCleanMuonsName(); }  
44        Double_t           GetPtMin()                     const { return fMuonPtMin;          }
45      Bool_t             GetReverseIsoCut()             const { return fReverseIsoCut;      }
46      Bool_t             GetReverseD0Cut()              const { return fReverseD0Cut;       }
45        Double_t           GetTrackIsoCut()               const { return fTrackIsolationCut;  }
46        void               SetApplyD0Cut(Bool_t b)              { fApplyD0Cut        = b;     }
47        void               SetApplyDZCut(Bool_t b)              { fApplyDZCut        = b;     }
48        void               SetCaloIsoCut(Double_t cut)          { fCaloIsolationCut  = cut;   }
49        void               SetClassType(const char *type)       { fMuonClassType     = type;  }
50        void               SetCleanMuonsName(const char *name)  { fCleanMuonsName    = name;  }  
51 <      void               SetOldMuonsName(const char *n)       { fNonIsolatedMuonsName  = n;         }  
52 <      void               SetOldElectronsName(const char *n)   { fNonIsolatedElectronsName  = n;     }  
51 >      void               SetOldMuonsName(const char *n)       { fNonIsolatedMuonsName  = n; }  
52 >      void               SetOldElectronsName(const char *n)   { fNonIsolatedElectronsName  = n; }  
53        void               SetCleanName(const char *name)       { SetCleanMuonsName(name);    }  
54        void               SetCombIsoCut(Double_t cut)          { fCombIsolationCut  = cut;   }
55 +      void               SetCombRelativeIsoCut(Double_t cut)  { fCombRelativeIsolationCut  = cut; }
56 +      void               SetPFIsoCut(Double_t cut)            { fPFIsolationCut  = cut;     }
57        void               SetD0Cut(Double_t cut)               { fD0Cut             = cut;   }
58        void               SetDZCut(Double_t cut)               { fDZCut             = cut;   }
59        void               SetWhichVertex(Int_t d)              { fWhichVertex = d;           }
# Line 63 | Line 63 | namespace mithep
63        void               SetIsoType(const char *type)         { fMuonIsoType       = type;  }
64        void               SetOutputName(const char *name)      { SetCleanMuonsName(name);    }  
65        void               SetPtMin(Double_t pt)                { fMuonPtMin         = pt;    }
66      void               SetReverseIsoCut(Bool_t b)           { fReverseIsoCut     = b;     }
67      void               SetReverseD0Cut(Bool_t b)            { fReverseD0Cut      = b;     }
66        void               SetTrackIsoCut(Double_t cut)         { fTrackIsolationCut = cut;   }
67 +      void               SetIntRadius(Double_t dr)            { fIntRadius = dr;            }
68  
69        enum EMuIdType {
70          kIdUndef = 0,       //not defined
# Line 73 | Line 72 | namespace mithep
72          kZMuId,             //"ZMuId"
73          kTight,             //"Tight"
74          kLoose,             //"Loose"
75 <        kWWMuId,            //"WWMuId"
75 >        kWWMuIdV1,          //"WWMuIdV1"
76 >        kWWMuIdV2,          //"WWMuIdV2"
77          kNoId,              //"NoId"
78          kCustomId           //"Custom"
79        };
80        enum EMuIsoType {
81 <        kIsoUndef = 0,                 //"not defined"
82 <        kTrackCalo,                    //"TrackCalo"
83 <        kTrackCaloCombined,            //"TrackCaloCombined"
84 <        kTrackCaloSliding,             //"TrackCaloSliding"
85 <        kTrackCaloSlidingNoCorrection, //"TrackCaloSlidingNoCorrection"
86 <        kCustomIso,                    //"Custom"
87 <        kPFIso,                        //"PFIso"
88 <        kPFIsoNoL,                     //"PFIsoNoL"
89 <        kNoIso                         //"NoIso"
81 >        kIsoUndef = 0,                      //"not defined"
82 >        kTrackCalo,                         //"TrackCalo"
83 >        kTrackCaloCombined,                 //"TrackCaloCombined"
84 >        kTrackCaloSliding,                  //"TrackCaloSliding"
85 >        kTrackCaloSlidingNoCorrection,      //"TrackCaloSlidingNoCorrection"
86 >        kCombinedRelativeConeAreaCorrected, //"CombinedRelativeConeAreaCorrected"
87 >        kCustomIso,                         //"Custom"
88 >        kPFIso,                             //"PFIso"
89 >        kPFIsoNoL,                          //"PFIsoNoL"
90 >        kNoIso                              //"NoIso"
91        };
92        enum EMuClassType {
93          kClassUndef = 0,    //not defined
94          kAll,               //"All"
95          kGlobal,            //"Global"
96 +        kGlobalTracker,     //"GlobalTracker"
97          kSta,               //"Standalone"
98          kTrackerMuon,       //"TrackerMuon"
99          kCaloMuon,          //"CaloMuon"
# Line 116 | Line 118 | namespace mithep
118        Double_t           fTrackIsolationCut;   //cut value for track isolation
119        Double_t           fCaloIsolationCut;    //cut value for calo isolation
120        Double_t           fCombIsolationCut;    //cut value for combined isolation
121 +      Double_t           fCombRelativeIsolationCut; //cut value for combined relative isolation
122 +      Double_t           fPFIsolationCut;      //cut value for combined isolation
123        Double_t           fMuonPtMin;           //min muon pt
124        Bool_t             fApplyD0Cut;          //=true then apply d0 cut (def=1)
125        Bool_t             fApplyDZCut;          //=true then apply dz cut (def=1)
# Line 123 | Line 127 | namespace mithep
127        Double_t           fDZCut;               //max dz
128        Int_t              fWhichVertex;         //vertex to use (-2: beamspot, -1: closest in Z)
129        Double_t           fEtaCut;              //max eta, absolute value
126      Bool_t             fReverseIsoCut;       //apply reversion iso cut (default=0)
127      Bool_t             fReverseD0Cut;        //apply reversion d0 cut (default=0)
130        EMuIdType          fMuIDType;            //!muon id type (imposed)
131        EMuIsoType         fMuIsoType;           //!muon iso type (imposed)
132        EMuClassType       fMuClassType;         //!muon class type (imposed)
# Line 133 | Line 135 | namespace mithep
135        const BeamSpotCol *fBeamSpot;            //!beamspot branch
136        const TrackCol    *fTracks;              //!track branch    
137        const PFCandidateCol *fPFCandidates;     //!pfcandidate branch
138 +      Double_t           fIntRadius;           //!min IntRadius cut in pf isolation
139        MuonCol            *fNonIsolatedMuons;    //!pointer to old muon collection
140        ElectronCol        *fNonIsolatedElectrons;//!pointer to old electron collection
141        TString             fPileupEnergyDensityName;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines