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.4 by loizides, Wed Sep 10 03:30:23 2008 UTC vs.
Revision 1.6 by loizides, Sun Mar 15 11:20:40 2009 UTC

# Line 3 | Line 3
3   //
4   // FillerMCParticles
5   //
6 < // Imlementation of a filler to fill HepMC particles (gen) AND TrackingParticles (sim)
7 < // into mithep::MCParticles. Gen and Sim particle information is thus merged into a single
8 < // collection.
6 > // Imlementation of a filler to fill HepMC particles or the AOD GenParticle candidates (gen)
7 > // and SimTracks (sim) with association map to TrackingParticles (for hit-based MC truth matching)
8 > // into mithep::MCParticles. Generated and simulated particle information is thus merged into a
9 > // single collection.
10   //
11   // Authors: C.Loizides, J.Bendavid
12   //--------------------------------------------------------------------------------------------------
# Line 34 | Line 35 | namespace mithep
35        void ResolveLinks (const edm::Event &e, const edm::EventSetup &es);
36    
37      private:
38 <      Bool_t                      genActive_;   //=true if generated particles are filled
39 <      Bool_t                      simActive_;   //=true if simulated particles are filled
40 <      Bool_t                      trackingActive_;   //=true if simulated TrackingParticles are mapped
41 <      std::string                 genEdmName_;  //edm name of generated particles
42 <      std::string                 simEdmName_;  //edm name of simulated particles
43 <      std::string                 trackingEdmName_;  //edm name of simulated TrackingParticles
44 <      std::string                 genMapName_;  //name of exported map wrt generated particles
45 <      std::string                 simMapName_;  //name of exported map wrt simulated particles
46 <      std::string                 trackingMapName_;  //name of exported map wrt simulated TrackingParticles
47 <      std::string                 mitName_;     //name of MCParticles branch in OAK
48 <      std::map<unsigned int, SimTrackRef> simTidMap_; //map of SimTracks to G4 track ids
49 <      mithep::MCParticleArr      *mcParticles_; //array of MCParticles
50 <      mithep::GenParticleMap     *genMap_;      //map wrt generated particles
51 <      mithep::SimTrackMap        *simMap_;      //map wrt simulated particles
52 <      mithep::TrackingParticleMap *trackingMap_;      //map wrt simulated TrackingParticles
38 >      bool                           genActive_;       //=true if generated particles are filled
39 >      bool                           useAodGen_;       //=true if AOD GenParticles to be used
40 >      bool                           simActive_;       //=true if simulated particles are filled
41 >      bool                           trackingActive_;  //=true if TrackingParticles are mapped
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
45 >      std::string                    genMapName_;      //name of exp map wrt generated particles
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 >      mithep::MCParticleArr         *mcParticles_;     //array of MCParticles
50 >      mithep::GenParticleBarcodeMap *genMap_;          //map wrt generated particles
51 >      mithep::AODGenParticleMap     *aodGenMap_;       //map wrt generated particles
52 >      mithep::SimTrackTidMap        *simMap_;          //map of SimTracks to G4 track ids
53 >      mithep::TrackingParticleMap   *trackingMap_;     //map wrt TrackingParticles
54    };
55   }
56   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines