5 |
|
// |
6 |
|
// Imlementation of a filler to fill EDM tracks into our mithep::Track data structure. |
7 |
|
// |
8 |
+ |
// TRACK PARAMETERS ARE CURRENTLY FILLED INCORRECTLY! |
9 |
+ |
// |
10 |
|
// Authors: J.Bendavid, C.Loizides |
11 |
|
//-------------------------------------------------------------------------------------------------- |
12 |
|
|
17 |
|
#include "DataFormats/TrackReco/interface/TrackFwd.h" |
18 |
|
#include "MitAna/DataUtil/interface/TreeWriter.h" |
19 |
|
#include "MitAna/DataTree/interface/Collections.h" |
20 |
+ |
#include "MitAna/DataTree/interface/Track.h" |
21 |
|
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
22 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
23 |
|
|
31 |
|
|
32 |
|
void BookDataBlock(TreeWriter &tws); |
33 |
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
34 |
< |
|
34 |
> |
void InitLayerMap(); |
35 |
> |
|
36 |
|
private: |
37 |
|
std::string edmName_; //edm name of tracks collection |
38 |
|
std::string mitName_; //name of Tracks in OAK |
42 |
|
const mithep::SimParticleMap *simMap_; //map wrt simulated particles |
43 |
|
mithep::TrackArr *tracks_; //array of Tracks |
44 |
|
mithep::TrackMap *trackMap_; //map wrt tracks |
45 |
+ |
std::map<uint32_t,mithep::Track::HitLayer> layerMap_; |
46 |
|
}; |
47 |
|
} |
48 |
|
#endif |