1 #ifndef TRAJECTORYMANAGER_H
2 #define TRAJECTORYMANAGER_H
11 #include "Math/GenVector/AxisAngle.h"
86 std::map<double,PSimHit>& theHitMap,
130 std::map<double,PSimHit>& theHitMap,
131 int tkID,
float el,
float thick,
int pID,
const TrackerTopology *tTopo);
135 int tkID,
float el,
float thick,
int pID,
const TrackerTopology *tTopo)
const;
void initializeLayerMap()
Initialize correspondence map between Famos interaction geometry and tracker reco geometry...
const DetLayer * detLayer(const TrackerLayer &layer, float zpos) const
Returns the DetLayer pointer corresponding to the FAMOS layer.
void initializeTrackerGeometry(const TrackerGeometry *geomTracker)
Initialize the full Tracker Geometry.
PythiaDecays * myDecayEngine
std::pair< double, PSimHit > makeSinglePSimHit(const GeomDetUnit &det, const TrajectoryStateOnSurface &ts, int tkID, float el, float thick, int pID, const TrackerTopology *tTopo) const
and there
void makePSimHits(const GeomDet *det, const TrajectoryStateOnSurface &ts, std::map< double, PSimHit > &theHitMap, int tkID, float el, float thick, int pID, const TrackerTopology *tTopo)
and there
void createPSimHits(const TrackerLayer &layer, const ParticlePropagator &P_before, std::map< double, PSimHit > &theHitMap, int trackID, int partID, const TrackerTopology *tTopo)
Create a vector of PSimHits.
const MagneticFieldMap * _theFieldMap
const TrackerGeometry * theGeomTracker
void initializeRecoGeometry(const GeometricSearchTracker *geomSearchTracker, const TrackerInteractionGeometry *interactionGeometry, const MagneticFieldMap *aFieldMap)
Initialize the Reconstruction Geometry.
TrajectoryStateOnSurface makeTrajectoryState(const DetLayer *layer, const ParticlePropagator &pp, const MagneticField *field) const
Teddy, you must put comments there.
void moveAllDaughters(int fsimi, const Rotation &r, double rescale)
Move, rescale and rotate all daughters after propagation, material effects and decay of the mother...
const GeometricSearchTracker * theGeomSearchTracker
ROOT::Math::AxisAngle Rotation
void reconstruct(const TrackerTopology *tTopo)
Does the real job.
~TrajectoryManager()
Default Destructor.
const RandomEngine * random
const TrackerInteractionGeometry * _theGeometry
MaterialEffects * theMaterialEffects
void updateWithDaughters(ParticlePropagator &PP, int fsimi)
Decay the particle and update the SimEvent with daughters.
TrajectoryManager()
Default Constructor.
void propagateToCalorimeters(ParticlePropagator &PP, int fsimi)
Propagate the particle through the calorimeters.
std::map< unsigned, std::map< double, PSimHit > > thePSimHits
void loadSimHits(edm::PSimHitContainer &c) const
const TrackerInteractionGeometry * theGeometry()
Returns the pointer to geometry.
std::vector< const DetLayer * > theLayerMap
bool propagateToLayer(ParticlePropagator &PP, unsigned layer)
std::vector< PSimHit > PSimHitContainer