1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerGsfTracks.h,v 1.8 2008/08/29 02:50:02 loizides 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 MITPROD_TREEFILLER_FILLERGSFTRACKS_H
|
12 |
#define MITPROD_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
|