#include <CachedTrajectory.h>
Protected Member Functions | |
std::pair< float, float > | delta (const double &theta1, const double &theta2, const double &phi1, const double &phi2) |
float | distance (const Plane *plane, int index) |
Static Protected Member Functions | |
static int | sign (float number) |
Protected Attributes | |
std::vector < SteppingHelixStateInfo > | ecalTrajectory_ |
std::deque < SteppingHelixStateInfo > | fullTrajectory_ |
bool | fullTrajectoryFilled_ |
std::vector < SteppingHelixStateInfo > | hcalTrajectory_ |
float | HOmaxRho_ |
float | HOmaxZ_ |
std::vector < SteppingHelixStateInfo > | hoTrajectory_ |
float | maxRho_ |
float | maxZ_ |
float | minRho_ |
float | minZ_ |
std::vector < SteppingHelixStateInfo > | preshowerTrajectory_ |
const Propagator * | propagator_ |
SteppingHelixStateInfo | stateAtIP_ |
float | step_ |
std::vector< GlobalPoint > | wideEcalTrajectory_ |
std::vector< GlobalPoint > | wideHcalTrajectory_ |
std::vector< GlobalPoint > | wideHOTrajectory_ |
Private Types | |
enum | TrajectorType { IpToEcal, IpToHcal, IpToHO, FullTrajectory } |
enum | WideTrajectoryType { Ecal, Hcal, HO } |
Friends | |
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) |
class | TrackDetectorAssociator |
Definition at line 41 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
IpToEcal | |
IpToHcal | |
IpToHO | |
FullTrajectory |
Definition at line 50 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
Ecal | |
Hcal | |
HO |
Definition at line 51 of file CachedTrajectory.h.
|
private |
Definition at line 48 of file CachedTrajectory.cc.
References reset_trajectory(), setMaxDetectorLength(), setMaxDetectorRadius(), setMinDetectorLength(), setMinDetectorRadius(), and setPropagationStep().
|
protected |
Definition at line 333 of file CachedTrajectory.cc.
References M_PI, and query::result.
Referenced by trajectoryDelta().
|
inlineprotected |
Definition at line 131 of file CachedTrajectory.h.
References fullTrajectory_, getHLTprescales::index, and position.
Referenced by propagate(), and propagateForward().
|
private |
Definition at line 457 of file CachedTrajectory.cc.
References ecalTrajectory_, getTrajectory(), and LogTrace.
|
private |
Definition at line 477 of file CachedTrajectory.cc.
References getTrajectory(), hcalTrajectory_, and LogTrace.
|
private |
Definition at line 487 of file CachedTrajectory.cc.
References getTrajectory(), hoTrajectory_, and LogTrace.
|
private |
Definition at line 463 of file CachedTrajectory.cc.
References getTrajectory(), LogTrace, and preshowerTrajectory_.
|
private |
Definition at line 469 of file CachedTrajectory.cc.
References ecalTrajectory_.
|
private |
Definition at line 483 of file CachedTrajectory.cc.
References hcalTrajectory_.
|
private |
Definition at line 493 of file CachedTrajectory.cc.
References hoTrajectory_.
|
private |
Definition at line 624 of file CachedTrajectory.cc.
References fullTrajectory_.
|
private |
Definition at line 632 of file CachedTrajectory.cc.
References fullTrajectory_.
|
private |
Definition at line 473 of file CachedTrajectory.cc.
References preshowerTrajectory_.
|
inlineprivate |
|
private |
Definition at line 591 of file CachedTrajectory.cc.
References ecalTrajectory_.
|
private |
Definition at line 607 of file CachedTrajectory.cc.
References hcalTrajectory_.
|
private |
Definition at line 615 of file CachedTrajectory.cc.
References hoTrajectory_.
|
private |
Definition at line 599 of file CachedTrajectory.cc.
References preshowerTrajectory_.
|
private |
get a set of points representing the trajectory between two cylinders of radius R1 and R2 and length L1 and L2. Parameter steps defines maximal number of steps in the detector.
Definition at line 349 of file CachedTrajectory.cc.
References Reference_intrackfit_cff::barrel, Plane::build(), Cylinder::build(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, Reference_intrackfit_cff::endcap, edm::hlt::Exception, fullTrajectory_, fullTrajectoryFilled_, i, FiducialVolume::isValid(), SteppingHelixStateInfo::isValid(), LogTrace, max(), FiducialVolume::maxR(), FiducialVolume::maxZ(), FiducialVolume::minR(), FiducialVolume::minZ(), SteppingHelixStateInfo::momentum(), PV3DBase< T, PVType, FrameType >::perp(), SteppingHelixStateInfo::position(), position, propagate(), propagateForward(), launcher::step, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by findEcalTrajectory(), findHcalTrajectory(), findHOTrajectory(), findPreshowerTrajectory(), and propagateThoughFromIP().
|
private |
Definition at line 498 of file CachedTrajectory.cc.
References funct::cos(), Ecal, Hcal, HO, getHLTprescales::index, LogTrace, M_PI, M_PI_2, phi, funct::pow(), dttmaxenums::r32, LocalError::rotate(), idealTransformation::rotation, LocalError::scale(), funct::sin(), mathSSE::sqrt(), evf::utils::state, filterCSVwithJSON::target, Surface::toGlobal(), wideEcalTrajectory_, wideHcalTrajectory_, wideHOTrajectory_, LocalError::xx(), LocalError::xy(), create_public_lumi_plots::xy, LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 79 of file CachedTrajectory.cc.
References cms::Exception::category(), cms::Exception::explainSelf(), TrajectoryStateOnSurface::freeState(), SteppingHelixStateInfo::getFreeState(), SteppingHelixStateInfo::momentum(), Propagator::propagate(), propagator_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getTrajectory(), and propagateForward().
|
private |
Definition at line 103 of file CachedTrajectory.cc.
References cms::Exception::category(), cms::Exception::explainSelf(), TrajectoryStateOnSurface::freeState(), SteppingHelixStateInfo::getFreeState(), SteppingHelixStateInfo::momentum(), Propagator::propagate(), propagator_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
get fast to a given DetId surface using cached trajectory
Definition at line 196 of file CachedTrajectory.cc.
References cms::Exception::category(), distance(), PV3DBase< T, PVType, FrameType >::eta(), cms::Exception::explainSelf(), fullTrajectory_, SteppingHelixStateInfo::getStateOnSurface(), LogTrace, SteppingHelixStateInfo::momentum(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GloballyPositioned< T >::position(), Propagator::propagate(), propagator_, sign(), evf::utils::state, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
propagate through the whole detector, returns true if successful
Definition at line 127 of file CachedTrajectory.cc.
References edm::hlt::Exception, fullTrajectory_, fullTrajectoryFilled_, SteppingHelixStateInfo::isValid(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), maxRho_, maxZ_, minRho_, minZ_, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), SteppingHelixStateInfo::position(), propagateForward(), propagator_, reset_trajectory(), step_, and PV3DBase< T, PVType, FrameType >::z().
Referenced by propagateThoughFromIP().
|
private |
Definition at line 57 of file CachedTrajectory.cc.
References Plane::build(), distance(), SteppingHelixStateInfo::momentum(), SteppingHelixStateInfo::position(), funct::pow(), propagate(), dttmaxenums::r32, idealTransformation::rotation, mathSSE::sqrt(), filterCSVwithJSON::target, Vector3DBase< T, FrameTag >::unit(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getTrajectory(), and propagateAll().
|
private |
Definition at line 445 of file CachedTrajectory.cc.
References ecalTrajectory_, fullTrajectory_, fullTrajectoryFilled_, hcalTrajectory_, hoTrajectory_, preshowerTrajectory_, wideEcalTrajectory_, wideHcalTrajectory_, and wideHOTrajectory_.
Referenced by CachedTrajectory(), propagateAll(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 107 of file CachedTrajectory.h.
References prof2calltree::l, and maxZ_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 106 of file CachedTrajectory.h.
References maxRho_, and alignCSCRings::r.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 111 of file CachedTrajectory.h.
References prof2calltree::l, and minZ_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 110 of file CachedTrajectory.h.
References minRho_, and alignCSCRings::r.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 113 of file CachedTrajectory.h.
References alignCSCRings::s, and step_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 69 of file CachedTrajectory.h.
References propagator_.
Referenced by propagateThoughFromIP().
|
inlineprivate |
Definition at line 70 of file CachedTrajectory.h.
References evf::utils::state, and stateAtIP_.
Referenced by propagateThoughFromIP().
|
inlinestaticprotected |
Definition at line 118 of file CachedTrajectory.h.
Referenced by propagate().
|
private |
calculate trajectory change (Theta,Phi) delta = final - original
Definition at line 282 of file CachedTrajectory.cc.
References delta(), ecalTrajectory_, FullTrajectory, fullTrajectory_, hcalTrajectory_, hoTrajectory_, IpToEcal, IpToHcal, IpToHO, SteppingHelixStateInfo::isValid(), SteppingHelixStateInfo::momentum(), PV3DBase< T, PVType, FrameType >::phi(), query::result, stateAtIP_, and PV3DBase< T, PVType, FrameType >::theta().
|
friend |
Definition at line 20 of file CachedTrajectory.cc.
|
friend |
Definition at line 43 of file CachedTrajectory.h.
|
protected |
Definition at line 137 of file CachedTrajectory.h.
Referenced by findEcalTrajectory(), getEcalTrajectory(), getStateAtEcal(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 136 of file CachedTrajectory.h.
Referenced by distance(), getInnerState(), getOuterState(), getTrajectory(), propagate(), propagateAll(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 146 of file CachedTrajectory.h.
Referenced by getTrajectory(), propagateAll(), and reset_trajectory().
|
protected |
Definition at line 138 of file CachedTrajectory.h.
Referenced by findHcalTrajectory(), getHcalTrajectory(), getStateAtHcal(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 152 of file CachedTrajectory.h.
Referenced by setMaxHORadius().
|
protected |
Definition at line 153 of file CachedTrajectory.h.
Referenced by setMaxHOLength().
|
protected |
Definition at line 139 of file CachedTrajectory.h.
Referenced by findHOTrajectory(), getHOTrajectory(), getStateAtHO(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 150 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMaxDetectorRadius().
|
protected |
Definition at line 151 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMaxDetectorLength().
|
protected |
Definition at line 154 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMinDetectorRadius().
|
protected |
Definition at line 155 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMinDetectorLength().
|
protected |
Definition at line 140 of file CachedTrajectory.h.
Referenced by findPreshowerTrajectory(), getPreshowerTrajectory(), getStateAtPreshower(), and reset_trajectory().
|
protected |
Definition at line 148 of file CachedTrajectory.h.
Referenced by propagate(), propagateAll(), and setPropagator().
|
protected |
Definition at line 144 of file CachedTrajectory.h.
Referenced by setStateAtIP(), and trajectoryDelta().
|
protected |
Definition at line 156 of file CachedTrajectory.h.
Referenced by getPropagationStep(), propagateAll(), and setPropagationStep().
|
protected |
Definition at line 141 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().
|
protected |
Definition at line 142 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().
|
protected |
Definition at line 143 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().