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.2 by ceballos, Wed Apr 8 17:48:12 2009 UTC vs.
Revision 1.3 by loizides, Thu Apr 9 08:45:48 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;            }
29 >      Double_t            GetIsoTrackPtSumMax()    const { return fIsoTrackPtSumMax;    }
30        Double_t            GetJetPtMin()            const { return fTauJetPtMin;         }
30      UInt_t              GetNSignalTracksMax()    const { return fNSignalTracksMax;    }
31        UInt_t              GetNIsoTracksMax()       const { return fNIsoTracksMax;       }
32 +      UInt_t              GetNSignalTracksMax()    const { return fNSignalTracksMax;    }
33 +      Double_t            GetPtMin()               const { return fTauPtMin;            }
34        Double_t            GetSignalTracksMassMax() const { return fSignalTracksMassMax; }
33      Double_t            GetIsoTrackPtSumMax()    const { return fIsoTrackPtSumMax;    }
34      Double_t            GetEnergyFractionEmMax() const { return fEnergyFractionEmMax; }
35
35        void                SetCaloTausName(const char *n)    { fCaloTausName        = n; }
36 +      void                SetEnergyFractionEmMax(Double_t x){ fEnergyFractionEmMax = x; }
37        void                SetGoodTausName(const char *n)    { fGoodTausName        = n; }
38 <      void                SetPtMin(Double_t x)              { fTauPtMin            = x; }
38 >      void                SetIsoTrackPtSumMax(Double_t x)   { fIsoTrackPtSumMax    = x; }
39        void                SetJetPtMin(Double_t x)           { fTauJetPtMin         = x; }
40      void                SetNSignalTracksMax(Int_t d)      { fNSignalTracksMax    = d; }
40        void                SetNIsoTracksMax(Int_t d)         { fNIsoTracksMax       = d; }
41 +      void                SetNSignalTracksMax(Int_t d)      { fNSignalTracksMax    = d; }
42 +      void                SetPtMin(Double_t x)              { fTauPtMin            = x; }
43        void                SetSignalTracksMassMax(Double_t x){ fSignalTracksMassMax = x; }
43      void                SetIsoTrackPtSumMax(Double_t x)   { fIsoTrackPtSumMax    = x; }
44      void                SetEnergyFractionEmMax(Double_t x){ fEnergyFractionEmMax = x; }
44  
45      protected:
46        void                Process();
47        void                SlaveBegin();
48  
49 <      TString             fCaloTausName;        //name of Tau collection (input)
50 <      const CaloTauCol   *fCaloTaus;            //!Tau branch
52 <      TString             fGoodTausName;        //name of exported "good Tau" collection
49 >      TString             fCaloTausName;        //name of tau collection (input)
50 >      TString             fGoodTausName;        //name of exported "good Tau" collection (output)
51        Double_t            fTauPtMin;            //min pt cut
52        Double_t            fTauJetPtMin;         //min jet pt cut
53        UInt_t              fNSignalTracksMax;    //maximum of signal tracks
# Line 57 | Line 55 | namespace mithep
55        Double_t            fSignalTracksMassMax; //maximum of mass for signal tracks
56        Double_t            fIsoTrackPtSumMax;    //maximum of Pt iso tracks
57        Double_t            fEnergyFractionEmMax; //maximum of EnergyFractionEm
58 +      const CaloTauCol   *fCaloTaus;            //!tau branch
59      
60      ClassDef(TauIDMod, 1) // Tau identification module
61    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines