1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillTracks.h,v 1.7 2008/06/24 14:25:46 loizides Exp $
|
3 |
//
|
4 |
// FillTracks
|
5 |
//
|
6 |
// Module copying general EDM tracks into mithep::Tracks.
|
7 |
//
|
8 |
// Authors: C.Loizides, J.Bendavid
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef TREEFILLER_FILLTRACKS_H
|
12 |
#define TREEFILLER_FILLTRACKS_H
|
13 |
|
14 |
#include "FWCore/Framework/interface/EDAnalyzer.h"
|
15 |
#include "FWCore/Framework/interface/Event.h"
|
16 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
17 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
18 |
#include "MitAna/DataTree/interface/Track.h"
|
19 |
#include "MitAna/DataTree/interface/Array.h"
|
20 |
|
21 |
namespace mithep
|
22 |
{
|
23 |
class FillTracks : public edm::EDAnalyzer
|
24 |
{
|
25 |
public:
|
26 |
FillTracks(const edm::ParameterSet&);
|
27 |
~FillTracks();
|
28 |
|
29 |
void analyze(const edm::Event&, const edm::EventSetup&);
|
30 |
void beginJob(edm::EventSetup const&);
|
31 |
void endJob();
|
32 |
|
33 |
private:
|
34 |
mithep::Array<mithep::Track> *tracks_;
|
35 |
std::string trackSource_;
|
36 |
std::string trackBranch_;
|
37 |
};
|
38 |
}
|
39 |
#endif
|