ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversionElectrons.h
Revision: 1.12
Committed: Thu Jun 18 23:10:01 2009 UTC (15 years, 10 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
State: FILE REMOVED
Log Message:
Finally removed godaweful hack FillerConversionElectrons class

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.12 // $Id: FillerConversionElectrons.h,v 1.11 2009/06/15 15:00:24 loizides Exp $
3 bendavid 1.1 //
4     // FillerConversionElectrons
5     //
6 loizides 1.2 // Implementation of a filler creating mithep::Electron objects from the conversion finder tracks.
7 bendavid 1.1 // This filler differs significantly from the others to deal with the special way in which
8     // conversions are stored in the edm.
9     //
10 loizides 1.4 // Authors: J.Bendavid
11 bendavid 1.1 //--------------------------------------------------------------------------------------------------
12    
13 loizides 1.6 #ifndef MITPROD_TREEFILLER_FILLERCONVERSIONELECTRONS_H
14     #define MITPROD_TREEFILLER_FILLERCONVERSIONELECTRONS_H
15 bendavid 1.1
16 loizides 1.11 #include "MitAna/DataTree/interface/ElectronFwd.h"
17     #include "MitAna/DataTree/interface/TrackFwd.h"
18     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
19 bendavid 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
20    
21     namespace mithep
22     {
23     class FillerConversionElectrons : public BaseFiller
24     {
25     public:
26 loizides 1.7 FillerConversionElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
27 bendavid 1.1 ~FillerConversionElectrons();
28    
29 loizides 1.10 void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31     void FillFromTracks(const mithep::TrackCol *tracks,
32     const TrackMap *trackMap);
33 loizides 1.8
34 bendavid 1.1 private:
35 loizides 1.10 std::string mitName_; //name of Electrons
36     std::string convInOutTracksName_; //name of converted in-out track
37     std::string convOutInTracksName_; //name of converted out- track
38     std::string convInOutTrackMapName_; //name of imported map wrt in-out
39     std::string convOutInTrackMapName_; //name of imported map wrt out-in
40     std::string convElectronMapName_; //name of exported map wrt electrons
41     const mithep::TrackCol *convInOutTracks_; //array of converted in-out tracks
42     const mithep::TrackCol *convOutInTracks_; //array of converted out-in tracks
43     const mithep::TrackMap *convInOutTrackMap_; //imported map wrt in-out tracks
44     const mithep::TrackMap *convOutInTrackMap_; //imported map wrt out-in tracks
45     mithep::ElectronArr *convElectrons_; //array of conversion electrons
46     mithep::ConversionElectronMap *convElectronMap_; //exported map wrt electrons
47 bendavid 1.1 };
48     }
49     #endif