1 #ifndef TrackAssociator_CachedTrajectory_h
2 #define TrackAssociator_CachedTrajectory_h 1
76 std::vector<GlobalPoint>*
getWideTrajectory(
const std::vector<SteppingHelixStateInfo>&,
105 static int sign (
float number){
106 if (number ==0)
return 0;
113 std::pair<float,float>
delta(
const double& theta1,
114 const double& theta2,
SteppingHelixStateInfo getStateAtHO()
const std::vector< SteppingHelixStateInfo > & getHcalTrajectory()
bool fullTrajectoryFilled_
float getPropagationStep() const
SteppingHelixStateInfo stateAtIP_
std::vector< SteppingHelixStateInfo > ecalTrajectory_
void findPreshowerTrajectory(const FiducialVolume &)
const Propagator * propagator_
void setMinDetectorLength(float l=0.)
const std::vector< SteppingHelixStateInfo > & getEcalTrajectory()
void setMinDetectorRadius(float r=0.)
void setMaxHOLength(float l=2200.)
float localZ(const GlobalPoint &gp) const
Fast access to distance from plane for a point.
void setPropagationStep(float s=20.)
void getTrajectory(std::vector< SteppingHelixStateInfo > &, const FiducialVolume &, int steps=4)
std::vector< GlobalPoint > wideHcalTrajectory_
void findHcalTrajectory(const FiducialVolume &)
static int position[TOTALCHAMBERS][3]
std::vector< GlobalPoint > wideEcalTrajectory_
SteppingHelixStateInfo getStateAtPreshower()
std::vector< SteppingHelixStateInfo > hoTrajectory_
std::vector< GlobalPoint > wideHOTrajectory_
bool propagateAll(const SteppingHelixStateInfo &initialState)
propagate through the whole detector, returns true if successful
float distance(const Plane *plane, int index)
void setMaxHORadius(float r=800.)
SteppingHelixStateInfo getInnerState()
std::pair< float, float > trajectoryDelta(TrajectorType)
std::vector< SteppingHelixStateInfo > preshowerTrajectory_
std::vector< GlobalPoint > * getWideTrajectory(const std::vector< SteppingHelixStateInfo > &, WideTrajectoryType)
SteppingHelixStateInfo getOuterState()
void setPropagator(const Propagator *ptr)
std::pair< float, float > delta(const double &theta1, const double &theta2, const double &phi1, const double &phi2)
void propagate(SteppingHelixStateInfo &state, const Plane &plane)
std::deque< SteppingHelixStateInfo > fullTrajectory_
void findEcalTrajectory(const FiducialVolume &)
const std::vector< SteppingHelixStateInfo > & getHOTrajectory()
SteppingHelixStateInfo getStateAtEcal()
void findHOTrajectory(const FiducialVolume &)
const std::vector< SteppingHelixStateInfo > & getPreshowerTrajectory()
void propagateForward(SteppingHelixStateInfo &state, float distance)
void setStateAtIP(const SteppingHelixStateInfo &state)
static int sign(float number)
void setMaxDetectorLength(float l=2200.)
SteppingHelixStateInfo getStateAtHcal()
std::vector< SteppingHelixStateInfo > hcalTrajectory_
void setMaxDetectorRadius(float r=800.)