ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Mods/interface/TauIDMod.h
Revision: 1.6
Committed: Mon Jun 15 15:00:21 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_029c, Mit_029b, Mit_029a, Mit_028a, Mit_028, Mit_027, Mit_027a, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b, HEAD
Changes since 1.5: +2 -2 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: TauIDMod.h,v 1.5 2009/04/09 11:24:58 loizides Exp $
3 //
4 // TauIDMod
5 //
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: G.Ceballos
10 //--------------------------------------------------------------------------------------------------
11
12 #ifndef MITPHYSICS_MODS_TauIDMOD_H
13 #define MITPHYSICS_MODS_TauIDMOD_H
14
15 #include "MitAna/TreeMod/interface/BaseMod.h"
16 #include "MitAna/DataTree/interface/CaloTauFwd.h"
17
18 namespace mithep
19 {
20 class TauIDMod : public BaseMod
21 {
22 public:
23 TauIDMod(const char *name="TauIDMod",
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 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; }
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 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; }
48
49 protected:
50 void Process();
51 void SlaveBegin();
52
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 };
68 }
69 #endif