Go to the documentation of this file. 1 #ifndef TrackAssociator_CachedTrajectory_h
2 #define TrackAssociator_CachedTrajectory_h 1
133 std::pair<float, float>
delta(
const double& theta1,
const double& theta2,
const double& phi1,
const double& phi2)
float getPropagationStep() const
void setMaxDetectorRadius(float r=800.)
void setMinDetectorLength(float l=0.)
std::vector< GlobalPoint > wideHOTrajectory_
void setMinDetectorRadius(float r=0.)
void findPreshowerTrajectory(const FiducialVolume &)
void getTrajectory(std::vector< SteppingHelixStateInfo > &, const FiducialVolume &, int steps=4)
SteppingHelixStateInfo getOuterState()
void setPropagationStep(float s=20.)
void setMaxDetectorLength(float l=2200.)
void findHcalTrajectory(const FiducialVolume &)
void setMaxHOLength(float l=2200.)
SteppingHelixStateInfo getInnerState()
SteppingHelixStateInfo getStateAtHO()
bool propagateAll(const SteppingHelixStateInfo &initialState)
propagate through the whole detector, returns true if successful
void setPropagator(const Propagator *ptr)
void propagate(SteppingHelixStateInfo &state, const Plane &plane)
void findHOTrajectory(const FiducialVolume &)
const Propagator * propagator_
SteppingHelixStateInfo getStateAtEcal()
std::vector< GlobalPoint > wideHcalTrajectory_
std::vector< GlobalPoint > * getWideTrajectory(const std::vector< SteppingHelixStateInfo > &, WideTrajectoryType)
std::deque< SteppingHelixStateInfo > fullTrajectory_
static int sign(float number)
std::pair< float, float > trajectoryDelta(TrajectorType)
static int position[264][3]
std::vector< GlobalPoint > wideEcalTrajectory_
void setMaxHORadius(float r=800.)
std::vector< SteppingHelixStateInfo > hoTrajectory_
std::vector< SteppingHelixStateInfo > propagateThoughFromIP(const SteppingHelixStateInfo &state, const Propagator *prop, const FiducialVolume &volume, int nsteps, float step, float minR, float minZ, float maxR, float maxZ)
std::pair< float, float > delta(const double &theta1, const double &theta2, const double &phi1, const double &phi2)
SteppingHelixStateInfo getStateAtPreshower()
void propagateForward(SteppingHelixStateInfo &state, float distance)
const std::vector< SteppingHelixStateInfo > & getPreshowerTrajectory() const
bool fullTrajectoryFilled_
void setStateAtIP(const SteppingHelixStateInfo &state)
SteppingHelixStateInfo getStateAtHcal()
std::vector< SteppingHelixStateInfo > preshowerTrajectory_
SteppingHelixStateInfo stateAtIP_
float distance(const Plane *plane, int index)
const std::vector< SteppingHelixStateInfo > & getHOTrajectory() const
std::vector< SteppingHelixStateInfo > ecalTrajectory_
const std::vector< SteppingHelixStateInfo > & getHcalTrajectory() const
const std::vector< SteppingHelixStateInfo > & getEcalTrajectory() const
friend std::vector< SteppingHelixStateInfo > propagateThoughFromIP(const SteppingHelixStateInfo &state, const Propagator *ptr, const FiducialVolume &volume, int nsteps, float step, float minR, float minZ, float maxR, float maxZ)
std::vector< SteppingHelixStateInfo > hcalTrajectory_
void findEcalTrajectory(const FiducialVolume &)