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

Comparing UserCode/MitProd/TreeFiller/interface/FillerConversionElectrons.h (file contents):
Revision 1.6 by loizides, Wed Sep 10 03:30:22 2008 UTC vs.
Revision 1.11 by loizides, Mon Jun 15 15:00:24 2009 UTC

# Line 13 | Line 13
13   #ifndef MITPROD_TREEFILLER_FILLERCONVERSIONELECTRONS_H
14   #define MITPROD_TREEFILLER_FILLERCONVERSIONELECTRONS_H
15  
16 < #include "FWCore/ParameterSet/interface/ParameterSet.h"
17 < #include "MitAna/DataUtil/interface/TreeWriter.h"
18 < #include "DataFormats/TrackReco/interface/TrackFwd.h"
19 < #include "MitAna/DataTree/interface/Collections.h"
20 < #include "MitProd/TreeFiller/interface/BaseFiller.h"
16 > #include "MitAna/DataTree/interface/ElectronFwd.h"
17 > #include "MitAna/DataTree/interface/TrackFwd.h"
18   #include "MitProd/TreeFiller/interface/AssociationMaps.h"
19 + #include "MitProd/TreeFiller/interface/BaseFiller.h"
20  
21   namespace mithep
22   {
23    class FillerConversionElectrons : public BaseFiller
24    {  
25      public:
26 <      FillerConversionElectrons(const edm::ParameterSet &cfg, bool active=1);
26 >      FillerConversionElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
27        ~FillerConversionElectrons();
28  
29 <      void BookDataBlock(TreeWriter &tws);
30 <      void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31 <      void FillFromTracks(const mithep::TrackCol *tracks, const TrackMap *trackMap);
29 >      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 >
34      private:
35 <      std::string                      mitName_;                //name of Electrons in OAK
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
35 >      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    };
48   }
49   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines