1 |
+ |
//-------------------------------------------------------------------------------------------------- |
2 |
|
// $Id$ |
3 |
+ |
// |
4 |
+ |
// FillElectrons |
5 |
+ |
// |
6 |
+ |
// Module copying HepMC particles into Electrons. |
7 |
+ |
// |
8 |
+ |
// Authors: C.Loizides, J.Bendavid |
9 |
+ |
//-------------------------------------------------------------------------------------------------- |
10 |
|
|
11 |
|
#ifndef TREEFILLER_FILLELECTRONS_H |
12 |
|
#define TREEFILLER_FILLELECTRONS_H |
19 |
|
#include "MitAna/DataUtil/interface/TreeWriter.h" |
20 |
|
#include "MitAna/DataTree/interface/Electron.h" |
21 |
|
#include "MitAna/DataTree/interface/Track.h" |
22 |
< |
#include "MitAna/DataTree/interface/Vector.h" |
22 |
> |
#include "MitAna/DataTree/interface/Array.h" |
23 |
|
|
16 |
– |
//-------------------------------------------------------------------------------------------------- |
17 |
– |
// |
18 |
– |
// FillElectrons |
19 |
– |
// |
20 |
– |
// Module copying reconstructed EDM electrons into mithep::Electrons. |
21 |
– |
// |
22 |
– |
// Authors: C.Loizides, J.Bendavid |
23 |
– |
// |
24 |
– |
//-------------------------------------------------------------------------------------------------- |
24 |
|
|
25 |
|
namespace mithep |
26 |
|
{ |
31 |
|
~FillElectrons(); |
32 |
|
|
33 |
|
void analyze(const edm::Event&, const edm::EventSetup&); |
34 |
< |
void beginJob(edm::EventSetup const&); |
34 |
> |
void beginJob(const edm::EventSetup&); |
35 |
|
void endJob (); |
36 |
|
|
37 |
|
private: |
38 |
< |
mithep::Vector<mithep::Electron> *electrons_; |
38 |
> |
mithep::Array<mithep::Electron> *electrons_; |
39 |
|
std::string electronSource_; |
40 |
|
std::string electronBranch_; |
41 |
|
}; |