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

Comparing UserCode/MitPhysics/Mods/interface/TauIDMod.h (file contents):
Revision 1.1 by ceballos, Wed Apr 8 10:11:44 2009 UTC vs.
Revision 1.5 by loizides, Thu Apr 9 11:24:58 2009 UTC

# Line 3 | Line 3
3   //
4   // TauIDMod
5   //
6 < // This module applies Tau identification criteria and exports a pointer to a collection
6 > // This module applies tau identification criteria and exports a pointer to a collection
7   // of "good Taus" according to the specified identification scheme.
8   //
9 < // Authors: S.Xie, C.Loizides
9 > // Authors: G.Ceballos
10   //--------------------------------------------------------------------------------------------------
11  
12   #ifndef MITPHYSICS_MODS_TauIDMOD_H
# Line 21 | Line 21 | namespace mithep
21    {
22      public:
23        TauIDMod(const char *name="TauIDMod",
24 <                  const char *title="Tau identification module");
24 >               const char *title="Tau identification module");
25  
26        const char         *GetCaloTausName()        const { return fCaloTausName;        }  
27 +      Double_t            GetEnergyFractionEmMax() const { return fEnergyFractionEmMax; }
28        const char         *GetGoodTausName()        const { return fGoodTausName;        }  
29 <      Double_t            GetPtMin()               const { return fTauPtMin;            }
30 <      Double_t            GetJetPtMin()            const { return fTauJetPtMin;            }
31 <      UInt_t              GetNSignalTracksMax()    const { return fNSignalTracksMax;    }
29 >      Double_t            GetHCalEtOverPtMin()     const { return fHCalEtOverPtMin;     }
30 >      Double_t            GetIsoTrackPtSumMax()    const { return fIsoTrackPtSumMax;    }
31 >      Double_t            GetJetPtMin()            const { return fJetPtMin;            }
32 >      Double_t            GetLeadTrackPtMin()      const { return fLeadTrackPtMin;      }
33        UInt_t              GetNIsoTracksMax()       const { return fNIsoTracksMax;       }
34 +      UInt_t              GetNSignalTracksMax()    const { return fNSignalTracksMax;    }
35 +      Double_t            GetPtMin()               const { return fPtMin;               }
36        Double_t            GetSignalTracksMassMax() const { return fSignalTracksMassMax; }
33      Double_t            GetIsoTrackPtSumMax()    const { return fIsoTrackPtSumMax;    }
34
37        void                SetCaloTausName(const char *n)    { fCaloTausName        = n; }
38 +      void                SetEnergyFractionEmMax(Double_t x){ fEnergyFractionEmMax = x; }
39        void                SetGoodTausName(const char *n)    { fGoodTausName        = n; }
40 <      void                SetPtMin(Double_t x)              { fTauPtMin            = x; }
41 <      void                SetJetPtMin(Double_t x)           { fTauJetPtMin         = x; }
42 <      void                SetNSignalTracksMax(Int_t d)      { fNSignalTracksMax    = d; }
40 >      void                SetHCalEtOverPtMin(Double_t x)    { fHCalEtOverPtMin     = x; }
41 >      void                SetIsoTrackPtSumMax(Double_t x)   { fIsoTrackPtSumMax    = x; }
42 >      void                SetJetPtMin(Double_t x)           { fJetPtMin            = x; }
43 >      void                SetLeadTrackPtMin(Double_t x)     { fLeadTrackPtMin      = x; }
44        void                SetNIsoTracksMax(Int_t d)         { fNIsoTracksMax       = d; }
45 +      void                SetNSignalTracksMax(Int_t d)      { fNSignalTracksMax    = d; }
46 +      void                SetPtMin(Double_t x)              { fPtMin               = x; }
47        void                SetSignalTracksMassMax(Double_t x){ fSignalTracksMassMax = x; }
42      void                SetIsoTrackPtSumMax(Double_t x)   { fIsoTrackPtSumMax    = x; }
48  
49      protected:
50        void                Process();
51        void                SlaveBegin();
52  
53 <      TString             fCaloTausName;        //name of Tau collection (input)
54 <      const CaloTauCol   *fCaloTaus;            //!Tau branch
55 <      TString             fGoodTausName;        //name of exported "good Tau" collection
56 <      Double_t            fTauPtMin;            //min pt cut
57 <      Double_t            fTauJetPtMin;         //min jet pt cut
53 >      TString             fCaloTausName;        //name of tau collection (input)
54 >      TString             fGoodTausName;        //name of exported "good Tau" collection (output)
55 >      Double_t            fPtMin;               //min tau pt cut
56 >      Double_t            fJetPtMin;            //min jet pt cut
57 >      Double_t            fLeadTrackPtMin;      //min leading track pt cut
58        UInt_t              fNSignalTracksMax;    //maximum of signal tracks
59        UInt_t              fNIsoTracksMax;       //maximum of iso tracks
60        Double_t            fSignalTracksMassMax; //maximum of mass for signal tracks
61        Double_t            fIsoTrackPtSumMax;    //maximum of Pt iso tracks
62 +      Double_t            fEnergyFractionEmMax; //maximum of EnergyFractionEm
63 +      Double_t            fHCalEtOverPtMin;     //minimum of HCalEt over Pt for the leading track
64 +      const CaloTauCol   *fCaloTaus;            //!tau branch
65      
66      ClassDef(TauIDMod, 1) // Tau identification module
67    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines