ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillElectrons.h
Revision: 1.4
Committed: Tue Jun 17 13:31:38 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.3: +13 -13 lines
Log Message:
Use Array instead of Vector.

File Contents

# Content
1 // $Id: FillElectrons.h,v 1.3 2008/06/11 23:37:20 paus Exp $
2
3 #ifndef TREEFILLER_FILLELECTRONS_H
4 #define TREEFILLER_FILLELECTRONS_H
5
6 #include "FWCore/Framework/interface/EDAnalyzer.h"
7 #include "FWCore/Framework/interface/Event.h"
8 #include "FWCore/ParameterSet/interface/ParameterSet.h"
9 #include "FWCore/Framework/interface/Frameworkfwd.h"
10 #include "MitProd/TreeService/interface/TreeService.h"
11 #include "MitAna/DataUtil/interface/TreeWriter.h"
12 #include "MitAna/DataTree/interface/Electron.h"
13 #include "MitAna/DataTree/interface/Track.h"
14 #include "MitAna/DataTree/interface/Array.h"
15
16 //--------------------------------------------------------------------------------------------------
17 //
18 // FillElectrons
19 //
20 // Module copying HepMC particles into Electrons.
21 //
22 // Authors: C.Loizides, J.Bendavid
23 //--------------------------------------------------------------------------------------------------
24
25 namespace mithep
26 {
27 class FillElectrons : public edm::EDAnalyzer
28 {
29 public:
30 FillElectrons(const edm::ParameterSet&);
31 ~FillElectrons();
32
33 void analyze(const edm::Event&, const edm::EventSetup&);
34 void beginJob(edm::EventSetup const&);
35 void endJob ();
36
37 private:
38 mithep::Array<mithep::Electron> *electrons_;
39 std::string electronSource_;
40 std::string electronBranch_;
41 };
42 }
43 #endif