#include <CachedTrajectory.h>
Public Member Functions | |
const std::vector< SteppingHelixStateInfo > & | getEcalTrajectory () const |
const std::vector< SteppingHelixStateInfo > & | getHcalTrajectory () const |
const std::vector< SteppingHelixStateInfo > & | getHOTrajectory () const |
const std::vector< SteppingHelixStateInfo > & | getPreshowerTrajectory () const |
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 44 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
IpToEcal | |
IpToHcal | |
IpToHO | |
FullTrajectory |
Definition at line 64 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
Ecal | |
Hcal | |
HO |
Definition at line 65 of file CachedTrajectory.h.
|
private |
Definition at line 49 of file CachedTrajectory.cc.
References reset_trajectory(), setMaxDetectorLength(), setMaxDetectorRadius(), setMinDetectorLength(), setMinDetectorRadius(), and setPropagationStep().
|
protected |
Definition at line 319 of file CachedTrajectory.cc.
References M_PI, and mps_fire::result.
Referenced by trajectoryDelta().
|
inlineprotected |
Definition at line 136 of file CachedTrajectory.h.
References fullTrajectory_, createfilelist::int, and position.
Referenced by propagate(), and propagateForward().
|
private |
Definition at line 443 of file CachedTrajectory.cc.
References ecalTrajectory_, getTrajectory(), and LogTrace.
|
private |
Definition at line 461 of file CachedTrajectory.cc.
References getTrajectory(), hcalTrajectory_, and LogTrace.
|
private |
Definition at line 469 of file CachedTrajectory.cc.
References getTrajectory(), hoTrajectory_, and LogTrace.
|
private |
Definition at line 449 of file CachedTrajectory.cc.
References getTrajectory(), LogTrace, and preshowerTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getEcalTrajectory | ( | ) | const |
Definition at line 455 of file CachedTrajectory.cc.
References ecalTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getHcalTrajectory | ( | ) | const |
Definition at line 467 of file CachedTrajectory.cc.
References hcalTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getHOTrajectory | ( | ) | const |
Definition at line 475 of file CachedTrajectory.cc.
References hoTrajectory_.
|
private |
Definition at line 598 of file CachedTrajectory.cc.
References fullTrajectory_.
|
private |
Definition at line 605 of file CachedTrajectory.cc.
References fullTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getPreshowerTrajectory | ( | ) | const |
Definition at line 457 of file CachedTrajectory.cc.
References preshowerTrajectory_.
|
inlineprivate |
|
private |
Definition at line 570 of file CachedTrajectory.cc.
References ecalTrajectory_.
|
private |
Definition at line 584 of file CachedTrajectory.cc.
References hcalTrajectory_.
|
private |
Definition at line 591 of file CachedTrajectory.cc.
References hoTrajectory_.
|
private |
Definition at line 577 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 334 of file CachedTrajectory.cc.
References Reference_intrackfit_cff::barrel, Plane::build(), Cylinder::build(), HGC3DClusterGenMatchSelector_cfi::dR, l1ctLayer1_cff::dZ, makeMuonMisalignmentScenario::endcap, Exception, fullTrajectory_, fullTrajectoryFilled_, mps_fire::i, FiducialVolume::isValid(), SteppingHelixStateInfo::isValid(), LogTrace, SiStripPI::max, FiducialVolume::maxR(), FiducialVolume::maxZ(), FiducialVolume::minR(), FiducialVolume::minZ(), SteppingHelixStateInfo::momentum(), PV3DBase< T, PVType, FrameType >::perp(), SteppingHelixStateInfo::position(), position, propagate(), propagateForward(), customisers::steps, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by findEcalTrajectory(), findHcalTrajectory(), findHOTrajectory(), findPreshowerTrajectory(), and propagateThoughFromIP().
|
private |
Definition at line 477 of file CachedTrajectory.cc.
References funct::cos(), makePileupJSON::denom, Ecal, Hcal, HO, LogTrace, M_PI, M_PI_2, phi, funct::pow(), dttmaxenums::r32, LocalError::rotate(), idealTransformation::rotation, LocalError::scale(), funct::sin(), mathSSE::sqrt(), filterCSVwithJSON::target, trackerHitRTTI::vector, wideEcalTrajectory_, wideHcalTrajectory_, wideHOTrajectory_, geometryCSVtoXML::xx, LocalError::xx(), geometryCSVtoXML::xy, LocalError::xy(), geometryCSVtoXML::yy, and LocalError::yy().
|
private |
Definition at line 77 of file CachedTrajectory.cc.
References cms::Exception::category(), cms::Exception::explainSelf(), TrajectoryStateOnSurface::freeState(), Propagator::propagate(), and propagator_.
Referenced by getTrajectory(), and propagateForward().
|
private |
Definition at line 96 of file CachedTrajectory.cc.
References cms::Exception::category(), cms::Exception::explainSelf(), TrajectoryStateOnSurface::freeState(), Propagator::propagate(), and propagator_.
|
private |
get fast to a given DetId surface using cached trajectory
Definition at line 179 of file CachedTrajectory.cc.
References cms::Exception::category(), distance(), PV3DBase< T, PVType, FrameType >::eta(), cms::Exception::explainSelf(), fullTrajectory_, createfilelist::int, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GloballyPositioned< T >::position(), Propagator::propagate(), propagator_, sign(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
propagate through the whole detector, returns true if successful
Definition at line 115 of file CachedTrajectory.cc.
References 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 58 of file CachedTrajectory.cc.
References Plane::build(), distance(), funct::pow(), propagate(), dttmaxenums::r32, idealTransformation::rotation, mathSSE::sqrt(), filterCSVwithJSON::target, and trackerHitRTTI::vector.
Referenced by getTrajectory(), and propagateAll().
|
private |
Definition at line 431 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 114 of file CachedTrajectory.h.
References cmsLHEtoEOSManager::l, and maxZ_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 113 of file CachedTrajectory.h.
References maxRho_, and alignCSCRings::r.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 118 of file CachedTrajectory.h.
References cmsLHEtoEOSManager::l, and minZ_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 117 of file CachedTrajectory.h.
References minRho_, and alignCSCRings::r.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 120 of file CachedTrajectory.h.
References alignCSCRings::s, and step_.
Referenced by CachedTrajectory(), and propagateThoughFromIP().
|
inlineprivate |
Definition at line 83 of file CachedTrajectory.h.
References propagator_.
Referenced by propagateThoughFromIP().
|
inlineprivate |
Definition at line 84 of file CachedTrajectory.h.
References stateAtIP_.
Referenced by propagateThoughFromIP().
|
inlinestaticprotected |
Definition at line 124 of file CachedTrajectory.h.
References contentValuesFiles::number.
Referenced by propagate().
|
private |
calculate trajectory change (Theta,Phi) delta = final - original
Definition at line 256 of file CachedTrajectory.cc.
References delta(), ecalTrajectory_, FullTrajectory, fullTrajectory_, hcalTrajectory_, hoTrajectory_, IpToEcal, IpToHcal, IpToHO, SteppingHelixStateInfo::isValid(), SteppingHelixStateInfo::momentum(), PV3DBase< T, PVType, FrameType >::phi(), mps_fire::result, stateAtIP_, and PV3DBase< T, PVType, FrameType >::theta().
|
friend |
Definition at line 18 of file CachedTrajectory.cc.
|
friend |
Definition at line 52 of file CachedTrajectory.h.
|
protected |
Definition at line 143 of file CachedTrajectory.h.
Referenced by findEcalTrajectory(), getEcalTrajectory(), getStateAtEcal(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 142 of file CachedTrajectory.h.
Referenced by distance(), getInnerState(), getOuterState(), getTrajectory(), propagate(), propagateAll(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 152 of file CachedTrajectory.h.
Referenced by getTrajectory(), propagateAll(), and reset_trajectory().
|
protected |
Definition at line 144 of file CachedTrajectory.h.
Referenced by findHcalTrajectory(), getHcalTrajectory(), getStateAtHcal(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 158 of file CachedTrajectory.h.
Referenced by setMaxHORadius().
|
protected |
Definition at line 159 of file CachedTrajectory.h.
Referenced by setMaxHOLength().
|
protected |
Definition at line 145 of file CachedTrajectory.h.
Referenced by findHOTrajectory(), getHOTrajectory(), getStateAtHO(), reset_trajectory(), and trajectoryDelta().
|
protected |
Definition at line 156 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMaxDetectorRadius().
|
protected |
Definition at line 157 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMaxDetectorLength().
|
protected |
Definition at line 160 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMinDetectorRadius().
|
protected |
Definition at line 161 of file CachedTrajectory.h.
Referenced by propagateAll(), and setMinDetectorLength().
|
protected |
Definition at line 146 of file CachedTrajectory.h.
Referenced by findPreshowerTrajectory(), getPreshowerTrajectory(), getStateAtPreshower(), and reset_trajectory().
|
protected |
Definition at line 154 of file CachedTrajectory.h.
Referenced by propagate(), propagateAll(), and setPropagator().
|
protected |
Definition at line 150 of file CachedTrajectory.h.
Referenced by setStateAtIP(), and trajectoryDelta().
|
protected |
Definition at line 162 of file CachedTrajectory.h.
Referenced by getPropagationStep(), propagateAll(), and setPropagationStep().
|
protected |
Definition at line 147 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().
|
protected |
Definition at line 148 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().
|
protected |
Definition at line 149 of file CachedTrajectory.h.
Referenced by getWideTrajectory(), and reset_trajectory().