1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillElectrons.h,v 1.8 2008/06/24 14:25:46 loizides Exp $
|
3 |
//
|
4 |
// FillElectrons
|
5 |
//
|
6 |
// Module copying reconstructed EDM electrons into mithep::Electrons.
|
7 |
//
|
8 |
// Authors: C.Loizides, J.Bendavid
|
9 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
11 |
#ifndef TREEFILLER_FILLELECTRONS_H
|
12 |
#define TREEFILLER_FILLELECTRONS_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/Electron.h"
|
19 |
#include "MitAna/DataTree/interface/Track.h"
|
20 |
#include "MitAna/DataTree/interface/Array.h"
|
21 |
|
22 |
namespace mithep
|
23 |
{
|
24 |
class FillElectrons : public edm::EDAnalyzer
|
25 |
{
|
26 |
public:
|
27 |
FillElectrons(const edm::ParameterSet&);
|
28 |
~FillElectrons();
|
29 |
|
30 |
void analyze(const edm::Event&, const edm::EventSetup&);
|
31 |
void beginJob(const edm::EventSetup&);
|
32 |
void endJob ();
|
33 |
|
34 |
private:
|
35 |
mithep::Array<mithep::Electron> *electrons_;
|
36 |
std::string electronSource_;
|
37 |
std::string electronBranch_;
|
38 |
};
|
39 |
}
|
40 |
#endif
|