ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillElectrons.h
Revision: 1.6
Committed: Thu Jun 19 16:53:43 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.5: +2 -2 lines
Log Message:
Added FillerMetaInfos. Reworked BaseFiller.

File Contents

# User Rev Content
1 loizides 1.5 //--------------------------------------------------------------------------------------------------
2 loizides 1.6 // $Id: FillElectrons.h,v 1.5 2008/06/18 19:18:06 loizides Exp $
3 loizides 1.5 //
4     // FillElectrons
5     //
6     // Module copying HepMC particles into Electrons.
7     //
8     // Authors: C.Loizides, J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10 loizides 1.4
11 bendavid 1.1 #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 "MitProd/TreeService/interface/TreeService.h"
19     #include "MitAna/DataUtil/interface/TreeWriter.h"
20     #include "MitAna/DataTree/interface/Electron.h"
21     #include "MitAna/DataTree/interface/Track.h"
22 loizides 1.4 #include "MitAna/DataTree/interface/Array.h"
23    
24 bendavid 1.1
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 loizides 1.6 void beginJob(const edm::EventSetup&);
35 bendavid 1.1 void endJob ();
36    
37     private:
38 loizides 1.4 mithep::Array<mithep::Electron> *electrons_;
39 bendavid 1.1 std::string electronSource_;
40     std::string electronBranch_;
41     };
42 loizides 1.2 }
43 bendavid 1.1 #endif