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. |
# | User | Rev | Content |
---|---|---|---|
1 | ceballos | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | loizides | 1.6 | // $Id: TauIDMod.h,v 1.5 2009/04/09 11:24:58 loizides Exp $ |
3 | ceballos | 1.1 | // |
4 | // TauIDMod | ||
5 | // | ||
6 | loizides | 1.3 | // This module applies tau identification criteria and exports a pointer to a collection |
7 | ceballos | 1.1 | // of "good Taus" according to the specified identification scheme. |
8 | // | ||
9 | loizides | 1.3 | // Authors: G.Ceballos |
10 | ceballos | 1.1 | //-------------------------------------------------------------------------------------------------- |
11 | |||
12 | #ifndef MITPHYSICS_MODS_TauIDMOD_H | ||
13 | #define MITPHYSICS_MODS_TauIDMOD_H | ||
14 | |||
15 | #include "MitAna/TreeMod/interface/BaseMod.h" | ||
16 | loizides | 1.6 | #include "MitAna/DataTree/interface/CaloTauFwd.h" |
17 | ceballos | 1.1 | |
18 | namespace mithep | ||
19 | { | ||
20 | class TauIDMod : public BaseMod | ||
21 | { | ||
22 | public: | ||
23 | TauIDMod(const char *name="TauIDMod", | ||
24 | loizides | 1.3 | const char *title="Tau identification module"); |
25 | ceballos | 1.1 | |
26 | const char *GetCaloTausName() const { return fCaloTausName; } | ||
27 | loizides | 1.3 | Double_t GetEnergyFractionEmMax() const { return fEnergyFractionEmMax; } |
28 | ceballos | 1.1 | const char *GetGoodTausName() const { return fGoodTausName; } |
29 | ceballos | 1.4 | Double_t GetHCalEtOverPtMin() const { return fHCalEtOverPtMin; } |
30 | loizides | 1.3 | Double_t GetIsoTrackPtSumMax() const { return fIsoTrackPtSumMax; } |
31 | ceballos | 1.4 | Double_t GetJetPtMin() const { return fJetPtMin; } |
32 | Double_t GetLeadTrackPtMin() const { return fLeadTrackPtMin; } | ||
33 | loizides | 1.3 | UInt_t GetNIsoTracksMax() const { return fNIsoTracksMax; } |
34 | ceballos | 1.1 | UInt_t GetNSignalTracksMax() const { return fNSignalTracksMax; } |
35 | ceballos | 1.4 | Double_t GetPtMin() const { return fPtMin; } |
36 | ceballos | 1.1 | Double_t GetSignalTracksMassMax() const { return fSignalTracksMassMax; } |
37 | void SetCaloTausName(const char *n) { fCaloTausName = n; } | ||
38 | loizides | 1.3 | void SetEnergyFractionEmMax(Double_t x){ fEnergyFractionEmMax = x; } |
39 | ceballos | 1.1 | void SetGoodTausName(const char *n) { fGoodTausName = n; } |
40 | ceballos | 1.4 | void SetHCalEtOverPtMin(Double_t x) { fHCalEtOverPtMin = x; } |
41 | loizides | 1.3 | void SetIsoTrackPtSumMax(Double_t x) { fIsoTrackPtSumMax = x; } |
42 | ceballos | 1.4 | void SetJetPtMin(Double_t x) { fJetPtMin = x; } |
43 | void SetLeadTrackPtMin(Double_t x) { fLeadTrackPtMin = x; } | ||
44 | loizides | 1.3 | void SetNIsoTracksMax(Int_t d) { fNIsoTracksMax = d; } |
45 | ceballos | 1.1 | void SetNSignalTracksMax(Int_t d) { fNSignalTracksMax = d; } |
46 | ceballos | 1.4 | void SetPtMin(Double_t x) { fPtMin = x; } |
47 | ceballos | 1.1 | void SetSignalTracksMassMax(Double_t x){ fSignalTracksMassMax = x; } |
48 | |||
49 | protected: | ||
50 | void Process(); | ||
51 | void SlaveBegin(); | ||
52 | |||
53 | loizides | 1.3 | TString fCaloTausName; //name of tau collection (input) |
54 | TString fGoodTausName; //name of exported "good Tau" collection (output) | ||
55 | loizides | 1.5 | Double_t fPtMin; //min tau pt cut |
56 | ceballos | 1.4 | Double_t fJetPtMin; //min jet pt cut |
57 | Double_t fLeadTrackPtMin; //min leading track pt cut | ||
58 | ceballos | 1.1 | 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 | ceballos | 1.2 | Double_t fEnergyFractionEmMax; //maximum of EnergyFractionEm |
63 | ceballos | 1.4 | Double_t fHCalEtOverPtMin; //minimum of HCalEt over Pt for the leading track |
64 | loizides | 1.3 | const CaloTauCol *fCaloTaus; //!tau branch |
65 | ceballos | 1.1 | |
66 | ClassDef(TauIDMod, 1) // Tau identification module | ||
67 | }; | ||
68 | } | ||
69 | #endif |