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