#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) dso_internal |
float | distance (const Plane *plane, int index) dso_internal |
Static Protected Member Functions | |
static int | sign (float number) dso_internal |
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 39 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
IpToEcal | |
IpToHcal | |
IpToHO | |
FullTrajectory |
Definition at line 55 of file CachedTrajectory.h.
|
private |
Enumerator | |
---|---|
Ecal | |
Hcal | |
HO |
Definition at line 56 of file CachedTrajectory.h.
|
private |
Definition at line 47 of file CachedTrajectory.cc.
References reset_trajectory(), setMaxDetectorLength(), setMaxDetectorRadius(), setMinDetectorLength(), setMinDetectorRadius(), and setPropagationStep().
|
protected |
Definition at line 332 of file CachedTrajectory.cc.
References M_PI, and query::result.
Referenced by trajectoryDelta().
|
inlineprotected |
Definition at line 131 of file CachedTrajectory.h.
References fullTrajectory_, cmsHarvester::index, and position.
Referenced by propagate(), and propagateForward().
|
private |
Definition at line 456 of file CachedTrajectory.cc.
References ecalTrajectory_, getTrajectory(), and LogTrace.
|
private |
Definition at line 476 of file CachedTrajectory.cc.
References getTrajectory(), hcalTrajectory_, and LogTrace.
|
private |
Definition at line 486 of file CachedTrajectory.cc.
References getTrajectory(), hoTrajectory_, and LogTrace.
|
private |
Definition at line 462 of file CachedTrajectory.cc.
References getTrajectory(), LogTrace, and preshowerTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getEcalTrajectory | ( | ) | const |
Definition at line 468 of file CachedTrajectory.cc.
References ecalTrajectory_.
Referenced by MuonCaloDistanceProducer::fillDistanceMap().
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getHcalTrajectory | ( | ) | const |
Definition at line 482 of file CachedTrajectory.cc.
References hcalTrajectory_.
Referenced by MuonCaloDistanceProducer::fillDistanceMap().
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getHOTrajectory | ( | ) | const |
Definition at line 492 of file CachedTrajectory.cc.
References hoTrajectory_.
Referenced by MuonCaloDistanceProducer::fillDistanceMap().
|
private |
Definition at line 623 of file CachedTrajectory.cc.
References fullTrajectory_.
|
private |
Definition at line 631 of file CachedTrajectory.cc.
References fullTrajectory_.
const std::vector< SteppingHelixStateInfo > & CachedTrajectory::getPreshowerTrajectory | ( | ) | const |
Definition at line 472 of file CachedTrajectory.cc.
References preshowerTrajectory_.
Referenced by MuonCaloDistanceProducer::fillDistanceMap().
|
inlineprivate |
|
private |
Definition at line 590 of file CachedTrajectory.cc.
References ecalTrajectory_.
|
private |
Definition at line 606 of file CachedTrajectory.cc.
References hcalTrajectory_.
|
private |
Definition at line 614 of file CachedTrajectory.cc.
References hoTrajectory_.
|
private |
Definition at line 598 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 348 of file CachedTrajectory.cc.
References Reference_intrackfit_cff::barrel, Plane::build(), newFWLiteAna::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(), relval_parameters_module::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 497 of file CachedTrajectory.cc.
References funct::cos(), Ecal, Hcal, HO, cmsHarvester::index, LogTrace, M_PI, M_PI_2, phi, funct::pow(), dttmaxenums::r32, LocalError::rotate(), idealTransformation::rotation, LocalError::scale(), funct::sin(), mathSSE::sqrt(), 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 78 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 102 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 195 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(), 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 126 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 56 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 444 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 ConfigFiles::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 ConfigFiles::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 74 of file CachedTrajectory.h.
References propagator_.
Referenced by propagateThoughFromIP().
|
inlineprivate |
Definition at line 75 of file CachedTrajectory.h.
References stateAtIP_.
Referenced by propagateThoughFromIP().
|
inlinestaticprotected |
Definition at line 118 of file CachedTrajectory.h.
References contentValuesFiles::number.
Referenced by propagate().
|
private |
calculate trajectory change (Theta,Phi) delta = final - original
Definition at line 281 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 19 of file CachedTrajectory.cc.
|
friend |
Definition at line 48 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().