3 |
|
// |
4 |
|
// FillerMuons |
5 |
|
// |
6 |
< |
// Imlementation of a filler to fill EDM muons into our mithep::Muon data structure. |
6 |
> |
// Implementation of a filler to fill EDM muons into our mithep::Muon data structure. |
7 |
|
// |
8 |
|
// Authors: J.Bendavid |
9 |
|
//-------------------------------------------------------------------------------------------------- |
10 |
|
|
11 |
< |
#ifndef TREEFILLER_FILLERMUONS_H |
12 |
< |
#define TREEFILLER_FILLERMUONS_H |
11 |
> |
#ifndef MITPROD_TREEFILLER_FILLERMUONS_H |
12 |
> |
#define MITPROD_TREEFILLER_FILLERMUONS_H |
13 |
|
|
14 |
|
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
15 |
|
#include "MitAna/DataUtil/interface/TreeWriter.h" |
23 |
|
class FillerMuons : public BaseFiller |
24 |
|
{ |
25 |
|
public: |
26 |
< |
FillerMuons(const edm::ParameterSet &cfg, bool active=1); |
26 |
> |
FillerMuons(const edm::ParameterSet &cfg, const char *name, bool active=1); |
27 |
|
~FillerMuons(); |
28 |
|
|
29 |
|
void BookDataBlock(TreeWriter &tws); |
31 |
|
|
32 |
|
private: |
33 |
|
std::string edmName_; //edm name of muons collection |
34 |
< |
std::string mitName_; //name of Muons in OAK |
34 |
> |
std::string mitName_; //mit name of Muons |
35 |
|
std::string globalTrackMapName_; //name of imported map wrt global muons |
36 |
|
std::string staTrackMapName_; //name of imported map wrt sta muons |
37 |
|
std::string staVtxTrackMapName_; //name of imported map wrt sta vtx muons |
38 |
|
std::string trackerTrackMapName_; //name of imported map wrt tracker muons |
39 |
+ |
std::string muonMapName_; //name of exported muon map |
40 |
|
const mithep::TrackMap *globalTrackMap_; //map wrt global muons |
41 |
|
const mithep::TrackMap *standaloneTrackMap_; //map wrt standalone muons |
42 |
|
const mithep::TrackMap *standaloneVtxTrackMap_; //map wrt standalone vertex muons |
43 |
|
const mithep::TrackMap *trackerTrackMap_; //map wrt tracker track muons |
44 |
+ |
mithep::MuonMap *muonMap_; //exported muon map |
45 |
|
mithep::MuonArr *muons_; //array of Muons |
46 |
|
}; |
47 |
|
} |