13 |
|
#define MITPHYSICS_SELMODS_PHOTONPLUSISOTRACKSELMOD_H |
14 |
|
|
15 |
|
#include "MitAna/TreeMod/interface/BaseSelMod.h" |
16 |
< |
#include <TH1D.h> |
16 |
> |
#include "MitAna/DataTree/interface/PhotonFwd.h" |
17 |
> |
#include "MitAna/DataTree/interface/TrackFwd.h" |
18 |
> |
class TH1D; |
19 |
|
|
20 |
|
namespace mithep |
21 |
|
{ |
23 |
|
{ |
24 |
|
public: |
25 |
|
PhotonPlusIsoTrackSelMod(const char *name="PhotonPlusIsoTrackSelMod", |
26 |
< |
const char *title="Photon plus isolated track selection module"); |
25 |
< |
~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; } |
49 |
|
void SetTrackPtMax(Double_t pt) { fTrackPtMax = pt; } |
50 |
|
|
51 |
|
protected: |
52 |
< |
void Process(); |
53 |
< |
void SlaveBegin(); |
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 |
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) // Generic selection module |
72 |
|
}; |