ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/PhotonPlusIsoTrackSelMod.h
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_009c, Mit_009b
Changes since 1.2: +3 -1 lines
Log Message:
Added proper fwd defs plus split up complilation of MitAna/DataTree LinkDefs.

File Contents

# User Rev Content
1 loizides 1.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 loizides 1.3 #include "MitAna/DataTree/interface/PhotonFwd.h"
17     #include "MitAna/DataTree/interface/TrackFwd.h"
18     class TH1D;
19 loizides 1.1
20     namespace mithep
21     {
22     class PhotonPlusIsoTrackSelMod : public BaseSelMod
23     {
24     public:
25     PhotonPlusIsoTrackSelMod(const char *name="PhotonPlusIsoTrackSelMod",
26 loizides 1.2 const char *title="Photon plus isolated track selection module");
27 loizides 1.1
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 loizides 1.2 void Process();
53     void SlaveBegin();
54 loizides 1.1
55 loizides 1.2 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 loizides 1.1
71     ClassDef(PhotonPlusIsoTrackSelMod,1) // Generic selection module
72     };
73     }
74     #endif