#include <DualReferenceTrajectory.h>
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitContainer | ConstRecHitContainer |
Public Types inherited from ReferenceTrajectoryBase | |
enum | MaterialEffects { none, multipleScattering, energyLoss, combined, breakPoints, brokenLinesCoarse, brokenLinesFine, localGBL, curvlinGBL } |
typedef ReferenceCountingPointer< ReferenceTrajectoryBase > | ReferenceTrajectoryPtr |
Protected Member Functions | |
virtual bool | construct (const TrajectoryStateOnSurface &referenceTsos, const ConstRecHitContainer &forwardRecHits, const ConstRecHitContainer &backwardRecHits, const MagneticField *magField, const reco::BeamSpot &beamSpot) |
virtual ReferenceTrajectory * | construct (const TrajectoryStateOnSurface &referenceTsos, const ConstRecHitContainer &recHits, const MagneticField *magField, const reco::BeamSpot &beamSpot, const bool revertDirection=false) const |
DualReferenceTrajectory (unsigned int nPar, unsigned int nHits, const ReferenceTrajectoryBase::Config &config) | |
virtual AlgebraicVector | extractParameters (const TrajectoryStateOnSurface &referenceTsos) const |
const PropagationDirection | oppositeDirection (const PropagationDirection propDir) const |
Protected Member Functions inherited from ReferenceTrajectoryBase | |
unsigned int | numberOfUsedRecHits (const TransientTrackingRecHit::ConstRecHitContainer &recHits) const |
ReferenceTrajectoryBase (unsigned int nPar, unsigned int nHits, unsigned int nVirtualPar, unsigned int nVirtualMeas) | |
bool | useRecHit (const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const |
Private Attributes | |
const double | mass_ |
const MaterialEffects | materialEffects_ |
const PropagationDirection | propDir_ |
const bool | useBeamSpot_ |
Definition at line 37 of file DualReferenceTrajectory.h.
Definition at line 39 of file DualReferenceTrajectory.h.
DualReferenceTrajectory::DualReferenceTrajectory | ( | const TrajectoryStateOnSurface & | tsos, |
const ConstRecHitContainer & | forwardRecHits, | ||
const ConstRecHitContainer & | backwardRecHits, | ||
const MagneticField * | magField, | ||
const reco::BeamSpot & | beamSpot, | ||
const ReferenceTrajectoryBase::Config & | config | ||
) |
Definition at line 11 of file DualReferenceTrajectory.cc.
References construct(), and ReferenceTrajectoryBase::theValidityFlag.
|
inlineoverride |
Definition at line 48 of file DualReferenceTrajectory.h.
|
protected |
Definition at line 28 of file DualReferenceTrajectory.cc.
|
inlineoverridevirtual |
Implements ReferenceTrajectoryBase.
Definition at line 50 of file DualReferenceTrajectory.h.
References pwdgSkimBPark_cfi::beamSpot, HcalResponse_cfi::nPar, and FastTrackerRecHitMaskProducer_cfi::recHits.
|
protectedvirtual |
internal method to calculate members
Definition at line 37 of file DualReferenceTrajectory.cc.
References ReferenceTrajectoryBase::breakPoints, ReferenceTrajectoryBase::derivatives(), Exception, extractParameters(), ReferenceTrajectoryBase::isValid(), materialEffects_, ReferenceTrajectoryBase::measurementErrors(), ReferenceTrajectoryBase::measurements(), ReferenceTrajectoryBase::nMeasPerHit, ReferenceTrajectoryBase::numberOfHitMeas(), ReferenceTrajectoryBase::numberOfVirtualMeas(), ReferenceTrajectoryBase::recHits(), ReferenceTrajectoryBase::theDerivatives, ReferenceTrajectoryBase::theMeasurements, ReferenceTrajectoryBase::theMeasurementsCov, ReferenceTrajectoryBase::theNumberOfPars, ReferenceTrajectoryBase::theParameters, ReferenceTrajectoryBase::theRecHits, ReferenceTrajectoryBase::theTrajectoryPositionCov, ReferenceTrajectoryBase::theTrajectoryPositions, ReferenceTrajectoryBase::theTsosVec, ReferenceTrajectoryBase::trajectoryPositionErrors(), ReferenceTrajectoryBase::trajectoryPositions(), and ReferenceTrajectoryBase::trajectoryStates().
Referenced by DualBzeroReferenceTrajectory::clone(), and DualReferenceTrajectory().
|
protectedvirtual |
Definition at line 122 of file DualReferenceTrajectory.cc.
References ReferenceTrajectoryBase::breakPoints, looper::config, Exception, ReferenceTrajectoryBase::Config::hitsAreReverse, mass_, materialEffects_, oppositeDirection(), propDir_, ReferenceTrajectoryBase::Config::useBeamSpot, and useBeamSpot_.
|
protectedvirtual |
Reimplemented in DualBzeroReferenceTrajectory.
Definition at line 138 of file DualReferenceTrajectory.cc.
References TrajectoryStateOnSurface::localParameters(), and LocalTrajectoryParameters::mixedFormatVector().
Referenced by construct().
|
inlineprotected |
Definition at line 71 of file DualReferenceTrajectory.h.
References alongMomentum, anyDirection, and oppositeToMomentum.
Referenced by construct().
|
private |
Definition at line 76 of file DualReferenceTrajectory.h.
Referenced by construct().
|
private |
Definition at line 77 of file DualReferenceTrajectory.h.
Referenced by construct().
|
private |
Definition at line 78 of file DualReferenceTrajectory.h.
Referenced by construct().
|
private |
Definition at line 79 of file DualReferenceTrajectory.h.
Referenced by construct().