Revision: | 1.3 |
Committed: | Mon Jun 15 15:00:22 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.2: | +4 -2 lines |
Log Message: | Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs. |
# | User | Rev | Content |
---|---|---|---|
1 | loizides | 1.1 | //-------------------------------------------------------------------------------------------------- |
2 | loizides | 1.3 | // $Id: JetPlusIsoTrackSelMod.h,v 1.2 2009/03/23 22:17:04 loizides Exp $ |
3 | loizides | 1.1 | // |
4 | // JetPlusIsoTrackSelMod | ||
5 | // | ||
6 | // This module selects events containing one lepton and one isolated track | ||
7 | // Both gsfTracks and tracker tracks are considered. | ||
8 | // | ||
9 | // Authors: S. Xie | ||
10 | //-------------------------------------------------------------------------------------------------- | ||
11 | |||
12 | #ifndef MITPHYSICS_SELMODS_JETPLUSISOTRACKSELMOD_H | ||
13 | #define MITPHYSICS_SELMODS_JETPLUSISOTRACKSELMOD_H | ||
14 | |||
15 | #include "MitAna/TreeMod/interface/BaseSelMod.h" | ||
16 | loizides | 1.3 | #include "MitAna/DataTree/interface/JetFwd.h" |
17 | #include "MitAna/DataTree/interface/TrackFwd.h" | ||
18 | class TH1D; | ||
19 | loizides | 1.1 | |
20 | namespace mithep | ||
21 | { | ||
22 | class JetPlusIsoTrackSelMod : public BaseSelMod | ||
23 | { | ||
24 | public: | ||
25 | JetPlusIsoTrackSelMod(const char *name="JetPlusIsoTrackSelMod", | ||
26 | const char *title="Jet plus isolated track selection module"); | ||
27 | |||
28 | const char *GetJetColName() const { return fJetColName; } | ||
29 | const char *GetTrackerTrackColName() const { return fTrackerTrackColName; } | ||
30 | const char *GetGsfTrackColName() const { return fGsfTrackColName; } | ||
31 | Double_t GetJetEtaMin() const { return fJetEtaMin; } | ||
32 | Double_t GetJetEtaMax() const { return fJetEtaMax; } | ||
33 | Double_t GetJetPtMin() const { return fJetPtMin; } | ||
34 | Double_t GetJetPtMax() const { return fJetPtMax; } | ||
35 | Double_t GetTrackEtaMin() const { return fTrackEtaMin; } | ||
36 | Double_t GetTrackEtaMax() const { return fTrackEtaMax; } | ||
37 | Double_t GetTrackPtMin() const { return fTrackPtMin; } | ||
38 | Double_t GetTrackPtMax() const { return fTrackPtMax; } | ||
39 | void SetJetColName(const char *n) { fJetColName=n; } | ||
40 | void SetTrackerTrackColName(const char *n) { fTrackerTrackColName=n; } | ||
41 | void SetGsfTrackColName(const char *n) { fGsfTrackColName=n; } | ||
42 | void SetJetEtaMin(Double_t e) { fJetEtaMin = e; } | ||
43 | void SetJetEtaMax(Double_t e) { fJetEtaMax = e; } | ||
44 | void SetJetPtMin(Double_t pt) { fJetPtMin = pt; } | ||
45 | void SetJetPtMax(Double_t pt) { fJetPtMax = pt; } | ||
46 | void SetTrackEtaMin(Double_t e) { fTrackEtaMin = e; } | ||
47 | void SetTrackEtaMax(Double_t e) { fTrackEtaMax = e; } | ||
48 | void SetTrackPtMin(Double_t pt) { fTrackPtMin = pt; } | ||
49 | void SetTrackPtMax(Double_t pt) { fTrackPtMax = pt; } | ||
50 | |||
51 | protected: | ||
52 | void Process(); | ||
53 | void SlaveBegin(); | ||
54 | |||
55 | TString fJetColName; //name of input lepton collection | ||
56 | TString fTrackerTrackColName; //name of input lepton collection | ||
57 | TString fGsfTrackColName; //name of input lepton collection | ||
58 | Double_t fJetPtMin; //minimum pt required (def = 0 GeV) | ||
59 | Double_t fJetPtMax; //maximum pt required (def = 5000 GeV) | ||
60 | Double_t fJetEtaMin; //minimum eta required (def = -10) | ||
61 | Double_t fJetEtaMax; //maximum eta required (def = +10) | ||
62 | Double_t fTrackPtMin; //minimum pt required (def = 0 GeV) | ||
63 | Double_t fTrackPtMax; //maximum pt required (def = 5000 GeV) | ||
64 | Double_t fTrackEtaMin; //minimum eta required (def = -10) | ||
65 | Double_t fTrackEtaMax; //maximum eta required (def = +10) | ||
66 | const JetCol *fJetCol; //!pointer to collection | ||
67 | const TrackCol *fTrackerTrackCol; //!pointer to collection | ||
68 | const TrackCol *fGsfTrackCol; //!pointer to collection | ||
69 | TH1D *fNAccCounters; //!acceptance histogram | ||
70 | |||
71 | ClassDef(JetPlusIsoTrackSelMod,1) // Jet plus isolated track selection module | ||
72 | }; | ||
73 | } | ||
74 | #endif |