15 |
|
#include <TH2F.h> |
16 |
|
#include <TStopwatch.h> |
17 |
|
|
18 |
< |
#include "MitAna/TAM/interface/TAModule.h" |
18 |
> |
#include "MitAna/TreeMod/interface/BaseMod.h" |
19 |
|
#include "MitAna/DataTree/interface/Collections.h" |
20 |
|
|
21 |
|
class TH1F; |
22 |
|
|
23 |
|
namespace mithep |
24 |
|
{ |
25 |
< |
class Conversions : public TAModule |
25 |
> |
class Conversions : public BaseMod |
26 |
|
{ |
27 |
|
public: |
28 |
|
Conversions(const char *name = "Conversions", |
41 |
|
Bool_t PassSimCuts(const MCParticle* p); |
42 |
|
|
43 |
|
protected: |
44 |
< |
TrackCol *fTracks; //! point to track branch |
45 |
< |
TrackCol *fGsfTracks; //! point to track branch |
46 |
< |
TrackCol *fInOutTracks; //! |
47 |
< |
TrackCol *fOutInTracks; //! |
48 |
< |
ElectronCol *fElectrons; //! point to electron branch |
49 |
< |
PhotonCol *fPhotons; //! point to photon branch |
50 |
< |
MCParticleCol *fMCParticles; //! |
44 |
> |
const TrackCol *fTracks; //! point to track branch |
45 |
> |
const TrackCol *fGsfTracks; //! point to track branch |
46 |
> |
const TrackCol *fInOutTracks; //! |
47 |
> |
const TrackCol *fOutInTracks; //! |
48 |
> |
const ElectronCol *fElectrons; //! point to electron branch |
49 |
> |
const PhotonCol *fPhotons; //! point to photon branch |
50 |
> |
const MCParticleCol *fMCParticles; //! |
51 |
|
|
52 |
|
TString fMCPartName; // name of particle collection |
53 |
|
TString fTrackName; // name of track collection |