ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillElectrons.h
Revision: 1.7
Committed: Fri Jun 20 17:52:57 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.6: +1 -4 lines
Log Message:
First proof-of-principle implementation of MetaInfo.

File Contents

# User Rev Content
1 loizides 1.5 //--------------------------------------------------------------------------------------------------
2 loizides 1.7 // $Id: FillElectrons.h,v 1.6 2008/06/19 16:53:43 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 "MitAna/DataTree/interface/Electron.h"
19     #include "MitAna/DataTree/interface/Track.h"
20 loizides 1.4 #include "MitAna/DataTree/interface/Array.h"
21    
22 bendavid 1.1 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 loizides 1.6 void beginJob(const edm::EventSetup&);
32 bendavid 1.1 void endJob ();
33    
34     private:
35 loizides 1.4 mithep::Array<mithep::Electron> *electrons_;
36 bendavid 1.1 std::string electronSource_;
37     std::string electronBranch_;
38     };
39 loizides 1.2 }
40 bendavid 1.1 #endif