1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerGsfTracks.h,v 1.7 2008/07/31 13:39:57 bendavid Exp $
|
3 |
//
|
4 |
// FillerGsfTracks
|
5 |
//
|
6 |
// Imlementation of a filler to fill EDM gsf tracks into our mithep::Track data structure.
|
7 |
//
|
8 |
// Authors: J.Bendavid
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef TREEFILLER_FILLERGSFTRACKS_H
|
12 |
#define TREEFILLER_FILLERGSFTRACKS_H
|
13 |
|
14 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
#include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
|
16 |
#include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
|
17 |
#include "MitProd/TreeFiller/interface/FillerTracks.h"
|
18 |
|
19 |
namespace mithep
|
20 |
{
|
21 |
class FillerGsfTracks : public FillerTracks
|
22 |
{
|
23 |
public:
|
24 |
FillerGsfTracks(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
~FillerGsfTracks();
|
26 |
|
27 |
void BookDataBlock(TreeWriter &tws);
|
28 |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
29 |
void InitLayerMap();
|
30 |
|
31 |
private:
|
32 |
mithep::GsfTrackMap *trackMap_; //map wrt tracks
|
33 |
};
|
34 |
}
|
35 |
#endif
|