3 |
|
// |
4 |
|
// FillerPATElectrons |
5 |
|
// |
6 |
< |
// Imlementation of a filler to fill PAT electrons into our mithep::Electron data structure. |
6 |
> |
// Implementation of a filler to fill PAT electrons into our mithep::Electron data structure. |
7 |
|
// |
8 |
|
// Authors: S.Xie |
9 |
|
//-------------------------------------------------------------------------------------------------- |
24 |
|
class FillerPATElectrons : public BaseFiller |
25 |
|
{ |
26 |
|
public: |
27 |
< |
FillerPATElectrons(const edm::ParameterSet &cfg, bool active=1, |
28 |
< |
const TrackMap* gsfTrackMap=0, const TrackMap* trackerTrackMap=0); |
27 |
> |
FillerPATElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1); |
28 |
|
~FillerPATElectrons(); |
29 |
|
|
30 |
|
void BookDataBlock(TreeWriter &tws); |
31 |
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
32 |
|
|
33 |
|
private: |
34 |
< |
std::string edmName_; |
35 |
< |
std::string mitName_; |
36 |
< |
std::string gsfTrackMapName_; //name of imported map wrt gsf tracks |
37 |
< |
std::string trackerTrackMapName_; //name of imported map wrt to trk tracks |
38 |
< |
|
39 |
< |
mithep::ElectronArr *electrons_; |
40 |
< |
const mithep::TrackMap *gsfTrackMap_; |
42 |
< |
const mithep::TrackMap *trackerTrackMap_; |
34 |
> |
std::string edmName_; //edm name of electron collection |
35 |
> |
std::string mitName_; //mit name of electron collection |
36 |
> |
std::string gsfTrackMapName_; //name of imported map wrt gsf tracks |
37 |
> |
std::string trackerTrackMapName_; //name of imported map wrt to trk tracks |
38 |
> |
mithep::ElectronArr *electrons_; //electron array |
39 |
> |
const mithep::TrackMap *gsfTrackMap_; //imported gsf track map |
40 |
> |
const mithep::TrackMap *trackerTrackMap_; //imported track track map |
41 |
|
}; |
42 |
|
} |
43 |
|
#endif |