ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillElectrons.h
(Generate patch)

Comparing UserCode/MitProd/TreeFiller/interface/FillElectrons.h (file contents):
Revision 1.1 by bendavid, Thu Jun 5 16:07:11 2008 UTC vs.
Revision 1.6 by loizides, Thu Jun 19 16:53:43 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines