ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillElectrons.h
Revision: 1.3
Committed: Wed Jun 11 23:37:20 2008 UTC (16 years, 10 months ago) by paus
Content type: text/plain
Branch: MAIN
Changes since 1.2: +10 -11 lines
Log Message:
Minor cleanup.

File Contents

# User Rev Content
1 paus 1.3 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillElectrons.h,v 1.1 2008/06/05 16:07:11 bendavid Exp $
3 paus 1.3 //
4     // FillElectrons
5     //
6     // Module copying HepMC particles into Electrons.
7     //
8     // Authors: C.Loizides, J. Bendavid
9     //--------------------------------------------------------------------------------------------------
10 bendavid 1.1 #ifndef TREEFILLER_FILLELECTRONS_H
11     #define TREEFILLER_FILLELECTRONS_H
12    
13 paus 1.3 #include <TClonesArray.h>
14    
15 bendavid 1.1 #include "FWCore/Framework/interface/EDAnalyzer.h"
16     #include "FWCore/Framework/interface/Event.h"
17     #include "FWCore/ParameterSet/interface/ParameterSet.h"
18     #include "FWCore/Framework/interface/Frameworkfwd.h"
19     #include "MitProd/TreeService/interface/TreeService.h"
20     #include "MitAna/DataUtil/interface/TreeWriter.h"
21     #include "MitAna/DataTree/interface/Electron.h"
22     #include "MitAna/DataTree/interface/Track.h"
23     #include "MitAna/DataTree/interface/Vector.h"
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::Vector<mithep::Electron> *electrons_;
39     std::string electronSource_;
40     std::string electronBranch_;
41     };
42 loizides 1.2 }
43 bendavid 1.1 #endif