25 |
|
class FillerGsfTracks : public BaseFiller |
26 |
|
{ |
27 |
|
public: |
28 |
< |
FillerGsfTracks(const edm::ParameterSet &cfg, const char *name, |
29 |
< |
bool active=1, const SimParticleMap *sm=0); |
28 |
> |
FillerGsfTracks(const edm::ParameterSet &cfg, const char *name, bool active=1, const SimParticleMap *sm=0); |
29 |
|
~FillerGsfTracks(); |
30 |
|
|
31 |
|
void BookDataBlock(TreeWriter &tws); |
32 |
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
33 |
< |
const GsfTrackMap *GetTrackMap() { return trackMap_; } |
35 |
< |
const TrackCol *GetTrackCol() { return tracks_; } |
33 |
> |
void InitLayerMap(); |
34 |
|
|
35 |
|
private: |
36 |
< |
std::string edmName_; |
37 |
< |
std::string mitName_; |
38 |
< |
std::string edmSimAssociationName_; |
39 |
< |
const mithep::SimParticleMap *simMap_; |
40 |
< |
mithep::Array<mithep::Track> *tracks_; |
41 |
< |
mithep::GsfTrackMap *trackMap_; |
42 |
< |
edm::Handle<reco::GsfTrackCollection> trackProduct_; |
36 |
> |
std::string edmName_; //edm name of gsftracks collection |
37 |
> |
std::string mitName_; //name of Tracks in OAK |
38 |
> |
std::string edmSimAssociationName_; //edm name of sim association map |
39 |
> |
std::string simMapName_; //name of inported map wrt simparts |
40 |
> |
std::string trackMapName_; //name of export map |
41 |
> |
const mithep::SimParticleMap *simMap_; //map wrt simulated particles |
42 |
> |
mithep::Array<mithep::Track> *tracks_; //array of Tracks |
43 |
> |
mithep::GsfTrackMap *trackMap_; //map wrt tracks |
44 |
> |
std::map<uint32_t,mithep::Track::HitLayer> layerMap_; |
45 |
|
}; |
46 |
|
} |
47 |
|
#endif |