ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/PhotonPlusIsoTrackSelMod.h
Revision: 1.4
Committed: Mon Jul 20 19:05:05 2009 UTC (15 years, 9 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, HEAD
Changes since 1.3: +1 -1 lines
Log Message:
Changes for html docu

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id $
3 //
4 // PhotonPlusIsoTrackSelMod
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_PHOTONPLUSISOTRACKSELMOD_H
13 #define MITPHYSICS_SELMODS_PHOTONPLUSISOTRACKSELMOD_H
14
15 #include "MitAna/TreeMod/interface/BaseSelMod.h"
16 #include "MitAna/DataTree/interface/PhotonFwd.h"
17 #include "MitAna/DataTree/interface/TrackFwd.h"
18 class TH1D;
19
20 namespace mithep
21 {
22 class PhotonPlusIsoTrackSelMod : public BaseSelMod
23 {
24 public:
25 PhotonPlusIsoTrackSelMod(const char *name="PhotonPlusIsoTrackSelMod",
26 const char *title="Photon plus isolated track selection module");
27
28 const char *GetPhotonColName() const { return fPhotonColName; }
29 const char *GetTrackerTrackColName() const { return fTrackerTrackColName; }
30 const char *GetGsfTrackColName() const { return fGsfTrackColName; }
31 Double_t GetPhotonEtaMin() const { return fPhotonEtaMin; }
32 Double_t GetPhotonEtaMax() const { return fPhotonEtaMax; }
33 Double_t GetPhotonPtMin() const { return fPhotonPtMin; }
34 Double_t GetPhotonPtMax() const { return fPhotonPtMax; }
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 SetPhotonColName(const char *n) { fPhotonColName=n; }
40 void SetTrackerTrackColName(const char *n) { fTrackerTrackColName=n; }
41 void SetGsfTrackColName(const char *n) { fGsfTrackColName=n; }
42 void SetPhotonEtaMin(Double_t e) { fPhotonEtaMin = e; }
43 void SetPhotonEtaMax(Double_t e) { fPhotonEtaMax = e; }
44 void SetPhotonPtMin(Double_t pt) { fPhotonPtMin = pt; }
45 void SetPhotonPtMax(Double_t pt) { fPhotonPtMax = 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 fPhotonColName; //name of input lepton collection
56 TString fTrackerTrackColName; //name of input lepton collection
57 TString fGsfTrackColName; //name of input lepton collection
58 Double_t fPhotonPtMin; //minimum pt required (def = 0 GeV)
59 Double_t fPhotonPtMax; //maximum pt required (def = 5000 GeV)
60 Double_t fPhotonEtaMin; //minimum eta required (def = -10)
61 Double_t fPhotonEtaMax; //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 PhotonCol *fPhotonCol; //!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(PhotonPlusIsoTrackSelMod,1) // Photon plus isolated track selection module
72 };
73 }
74 #endif