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

Comparing UserCode/MitProd/TreeFiller/interface/FillerMCParticles.h (file contents):
Revision 1.8 by loizides, Mon Jun 15 15:00:25 2009 UTC vs.
Revision 1.10 by bendavid, Thu Jan 7 11:04:31 2010 UTC

# Line 15 | Line 15
15   #define MITPROD_TREEFILLER_FILLERMCPARTICLES_H
16  
17   #include "MitAna/DataTree/interface/MCParticleFwd.h"
18 + #include "MitAna/DataTree/interface/TrackingParticleFwd.h"
19   #include "MitProd/TreeFiller/interface/AssociationMaps.h"
20   #include "MitProd/TreeFiller/interface/BaseFiller.h"
21 + #include "MitProd/TreeFiller/interface/HitPatternReader.h"
22 +
23  
24   namespace mithep
25   {
# Line 26 | Line 29 | namespace mithep
29        FillerMCParticles(const edm::ParameterSet &cfg, const char *name, bool active=1);
30        ~FillerMCParticles();
31  
32 <      void                           BookDataBlock(TreeWriter &tws);
32 >      void                           BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
33        void                           FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
34        void                           ResolveLinks (const edm::Event &e, const edm::EventSetup &es);
35    
# Line 35 | Line 38 | namespace mithep
38        bool                           useAodGen_;       //=true if AOD GenParticles to be used
39        bool                           simActive_;       //=true if simulated particles are filled
40        bool                           trackingActive_;  //=true if TrackingParticles are mapped
41 +      bool                           fillTracking_;    //=treu if detailed sim hit info is filled
42        std::string                    genEdmName_;      //edm name of generated particles
43        std::string                    simEdmName_;      //edm name of simulated particles
44        std::string                    trackingEdmName_; //edm name of simulated TrackingParticles
# Line 42 | Line 46 | namespace mithep
46        std::string                    simMapName_;      //name of exp map wrt simulated particles
47        std::string                    trackingMapName_; //name of exp map wrt TrackingParticles
48        std::string                    mitName_;         //name of MCParticles branch
49 +      std::string                    mitTrackingName_; //name of TrackingParticles branch
50        mithep::MCParticleArr         *mcParticles_;     //array of MCParticles
51 +      mithep::TrackingParticleArr   *trackingParticles_; //array of TrackingParticles
52        mithep::GenParticleBarcodeMap *genMap_;          //map wrt generated particles
53        mithep::AODGenParticleMap     *aodGenMap_;       //map wrt generated particles
54        mithep::SimTrackTidMap        *simMap_;          //map of SimTracks to G4 track ids
55        mithep::TrackingParticleMap   *trackingMap_;     //map wrt TrackingParticles
56 +      mithep::HitPatternReader       hitReader_;       //hit pattern reader
57    };
58   }
59   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines