3 |
|
// |
4 |
|
// FillElectrons |
5 |
|
// |
6 |
< |
// Module copying HepMC particles into Electrons. |
6 |
> |
// Module copying reconstructed EDM electrons into mithep::Electrons. |
7 |
|
// |
8 |
< |
// Authors: C.Loizides, J. Bendavid |
8 |
> |
// Authors: C.Loizides, J.Bendavid |
9 |
|
//-------------------------------------------------------------------------------------------------- |
10 |
+ |
|
11 |
|
#ifndef TREEFILLER_FILLELECTRONS_H |
12 |
|
#define TREEFILLER_FILLELECTRONS_H |
13 |
|
|
13 |
– |
#include <TClonesArray.h> |
14 |
– |
|
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" |
19 |
– |
#include "MitProd/TreeService/interface/TreeService.h" |
20 |
– |
#include "MitAna/DataUtil/interface/TreeWriter.h" |
18 |
|
#include "MitAna/DataTree/interface/Electron.h" |
19 |
|
#include "MitAna/DataTree/interface/Track.h" |
20 |
< |
#include "MitAna/DataTree/interface/Vector.h" |
20 |
> |
#include "MitAna/DataTree/interface/Array.h" |
21 |
|
|
22 |
|
namespace mithep |
23 |
|
{ |
28 |
|
~FillElectrons(); |
29 |
|
|
30 |
|
void analyze(const edm::Event&, const edm::EventSetup&); |
31 |
< |
void beginJob(edm::EventSetup const&); |
31 |
> |
void beginJob(const edm::EventSetup&); |
32 |
|
void endJob (); |
33 |
|
|
34 |
|
private: |
35 |
< |
mithep::Vector<mithep::Electron> *electrons_; |
35 |
> |
mithep::Array<mithep::Electron> *electrons_; |
36 |
|
std::string electronSource_; |
37 |
|
std::string electronBranch_; |
38 |
|
}; |