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. |
# | Content |
---|---|
1 | //-------------------------------------------------------------------------------------------------- |
2 | // $Id: LeptonPlusIsoTrackSelMod.h,v 1.2 2009/03/23 22:17:04 loizides Exp $ |
3 | // |
4 | // LeptonPlusIsoTrackSelMod |
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_LEPTONPLUSISOTRACKSELMOD_H |
13 | #define MITPHYSICS_SELMODS_LEPTONPLUSISOTRACKSELMOD_H |
14 | |
15 | #include "MitAna/TreeMod/interface/BaseSelMod.h" |
16 | #include "MitAna/DataTree/interface/ParticleFwd.h" |
17 | #include "MitAna/DataTree/interface/TrackFwd.h" |
18 | class TH1D; |
19 | |
20 | namespace mithep |
21 | { |
22 | class LeptonPlusIsoTrackSelMod : public BaseSelMod |
23 | { |
24 | public: |
25 | LeptonPlusIsoTrackSelMod(const char *name="LeptonPlusIsoTrackSelMod", |
26 | const char *title="Lepton plus isolated track selection module"); |
27 | |
28 | const char *GetLeptonColName() const { return fLeptonColName; } |
29 | const char *GetTrackerTrackColName() const { return fTrackerTrackColName; } |
30 | const char *GetGsfTrackColName() const { return fGsfTrackColName; } |
31 | Double_t GetLeptonEtaMin() const { return fLeptonEtaMin; } |
32 | Double_t GetLeptonEtaMax() const { return fLeptonEtaMax; } |
33 | Double_t GetLeptonPtMin() const { return fLeptonPtMin; } |
34 | Double_t GetLeptonPtMax() const { return fLeptonPtMax; } |
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 SetLeptonColName(const char *n) { fLeptonColName=n; } |
40 | void SetTrackerTrackColName(const char *n) { fTrackerTrackColName=n; } |
41 | void SetGsfTrackColName(const char *n) { fGsfTrackColName=n; } |
42 | void SetLeptonEtaMin(Double_t e) { fLeptonEtaMin = e; } |
43 | void SetLeptonEtaMax(Double_t e) { fLeptonEtaMax = e; } |
44 | void SetLeptonPtMin(Double_t pt) { fLeptonPtMin = pt; } |
45 | void SetLeptonPtMax(Double_t pt) { fLeptonPtMax = 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 fLeptonColName; //name of input lepton collection |
56 | TString fTrackerTrackColName; //name of input lepton collection |
57 | TString fGsfTrackColName; //name of input lepton collection |
58 | Double_t fLeptonPtMin; //minimum pt required (def = 0 GeV) |
59 | Double_t fLeptonPtMax; //maximum pt required (def = 5000 GeV) |
60 | Double_t fLeptonEtaMin; //minimum eta required (def = -10) |
61 | Double_t fLeptonEtaMax; //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 ParticleCol *fLeptonCol; //!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(LeptonPlusIsoTrackSelMod,1) // Lepton plus isolated track selection module |
72 | }; |
73 | } |
74 | #endif |