#include <BasicTrajectoryState.h>
Public Types | |
typedef BasicTrajectoryState | BTSOS |
using | Components = std::vector< TrajectoryStateOnSurface > |
typedef Proxy::pointer | pointer |
typedef ProxyBase11< BTSOS > | Proxy |
typedef SurfaceSideDefinition::SurfaceSide | SurfaceSide |
typedef Surface | SurfaceType |
Static Public Member Functions | |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | build (Args &&... args) |
template<typename T , typename... Args> | |
static std::shared_ptr< BTSOS > | churn (Args &&... args) |
Private Member Functions | |
void | checkCurvilinError () const |
void | createLocalError () const |
void | createLocalErrorFromCurvilinearError () const |
void | createLocalParameters () const |
void | missingError (char const *where) const |
Static Private Member Functions | |
static void | notValid () |
Private Attributes | |
FreeTrajectoryState | theFreeState |
LocalTrajectoryError | theLocalError |
LocalTrajectoryParameters | theLocalParameters |
bool | theLocalParametersValid |
ConstReferenceCountingPointer< SurfaceType > | theSurfaceP |
SurfaceSide | theSurfaceSide |
bool | theValid |
double | theWeight = 0. |
No so Abstract (anyore) base class for TrajectoryState. It is ReferenceCounted.
VI 8/12/2011 content of BasicSingleTrajectoryState moved here.... fully devirtualized
Definition at line 66 of file BasicTrajectoryState.h.
Definition at line 68 of file BasicTrajectoryState.h.
using BasicTrajectoryState::Components = std::vector<TrajectoryStateOnSurface> |
Definition at line 282 of file BasicTrajectoryState.h.
Definition at line 70 of file BasicTrajectoryState.h.
typedef ProxyBase11<BTSOS> BasicTrajectoryState::Proxy |
Definition at line 69 of file BasicTrajectoryState.h.
Definition at line 71 of file BasicTrajectoryState.h.
Definition at line 72 of file BasicTrajectoryState.h.
|
inline |
Definition at line 76 of file BasicTrajectoryState.h.
|
explicit |
construct invalid trajectory state (without parameters)
Definition at line 39 of file BasicTrajectoryState.cc.
|
virtual |
Definition at line 38 of file BasicTrajectoryState.cc.
|
inline |
Constructor from FTS and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 98 of file BasicTrajectoryState.h.
|
inlineexplicit |
Constructor from FTS: just a wrapper
Definition at line 112 of file BasicTrajectoryState.h.
BasicTrajectoryState::BasicTrajectoryState | ( | const LocalTrajectoryParameters & | par, |
const LocalTrajectoryError & | err, | ||
const SurfaceType & | aSurface, | ||
const MagneticField * | field, | ||
const SurfaceSide | side = SurfaceSideDefinition::atCenterOfSurface |
||
) |
Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.
Definition at line 68 of file BasicTrajectoryState.cc.
|
inline |
Constructor from local parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 133 of file BasicTrajectoryState.h.
|
inline |
Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 142 of file BasicTrajectoryState.h.
|
inline |
Constructor from global parameters, errors and surface. For surfaces with material the side of the surface should be specified explicitely. For multi-states the weight should be specified explicitely.
Definition at line 159 of file BasicTrajectoryState.h.
|
inline |
Constructor from global parameters and surface. For surfaces with material the side of the surface should be specified explicitely.
Definition at line 175 of file BasicTrajectoryState.h.
|
inline |
Definition at line 182 of file BasicTrajectoryState.h.
References theWeight.
|
inlinestatic |
|
inlinevirtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 257 of file BasicTrajectoryState.h.
|
inline |
Definition at line 197 of file BasicTrajectoryState.h.
References FreeTrajectoryState::cartesianError(), freeTrajectoryState(), hasError(), missingError(), and UNLIKELY.
|
inline |
Definition at line 193 of file BasicTrajectoryState.h.
References FreeTrajectoryState::charge(), and theFreeState.
Referenced by PixelTrackBuilder::build().
|
private |
Definition at line 112 of file BasicTrajectoryState.cc.
References createLocalParameters(), globalParameters(), FreeTrajectoryState::hasCurvilinearError(), JacobianLocalToCurvilinear::jacobian(), LIKELY, localParameters(), magneticField(), LocalTrajectoryError::matrix(), FreeTrajectoryState::setCurvilinearError(), surface(), theFreeState, theLocalError, theLocalParametersValid, and UNLIKELY.
Referenced by freeTrajectoryState().
|
inlinestatic |
Definition at line 91 of file BasicTrajectoryState.h.
References writedatasetfile::args.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
private |
Definition at line 145 of file BasicTrajectoryState.cc.
References createLocalErrorFromCurvilinearError(), FreeTrajectoryState::hasCurvilinearError(), LIKELY, theFreeState, and theLocalError.
Referenced by localError().
|
private |
Definition at line 152 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::curvilinearError(), globalParameters(), JacobianCurvilinearToLocal::jacobian(), localParameters(), magneticField(), CurvilinearTrajectoryError::matrix(), surface(), theFreeState, and theLocalError.
Referenced by createLocalError().
|
private |
Definition at line 130 of file BasicTrajectoryState.cc.
References FreeTrajectoryState::charge(), FreeTrajectoryState::momentum(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::position(), FreeTrajectoryState::signedInverseMomentum(), surface(), theFreeState, theLocalParameters, theLocalParametersValid, GloballyPositioned< T >::toLocal(), and x.
Referenced by checkCurvilinError(), and localParameters().
|
inline |
Definition at line 204 of file BasicTrajectoryState.h.
References RefreshWebPage::crap, FreeTrajectoryState::curvilinearError(), freeTrajectoryState(), hasError(), missingError(), and UNLIKELY.
Referenced by PixelTrackBuilder::build().
|
inline |
Definition at line 213 of file BasicTrajectoryState.h.
References checkCurvilinError(), hasError(), isValid(), notValid(), theFreeState, and UNLIKELY.
Referenced by cartesianError(), and curvilinearError().
|
inline |
Definition at line 192 of file BasicTrajectoryState.h.
References FreeTrajectoryState::momentum(), theFreeState, and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 191 of file BasicTrajectoryState.h.
References FreeTrajectoryState::momentum(), and theFreeState.
Referenced by PixelTrackBuilder::build().
|
inline |
Definition at line 189 of file BasicTrajectoryState.h.
References FreeTrajectoryState::parameters(), and theFreeState.
Referenced by checkCurvilinError(), and createLocalErrorFromCurvilinearError().
|
inline |
Definition at line 190 of file BasicTrajectoryState.h.
References FreeTrajectoryState::position(), and theFreeState.
Referenced by PixelTrackBuilder::build().
|
inline |
Definition at line 255 of file BasicTrajectoryState.h.
References FreeTrajectoryState::hasError(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), freeTrajectoryState(), localError(), and rescaleError().
|
inline |
Definition at line 186 of file BasicTrajectoryState.h.
References theValid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), freeTrajectoryState(), localParameters(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 234 of file BasicTrajectoryState.h.
References localMomentum(), and Vector3DBase< T, FrameTag >::unit().
|
inline |
Definition at line 236 of file BasicTrajectoryState.h.
References createLocalError(), hasError(), LocalTrajectoryError::invalid(), missingError(), theLocalError, and UNLIKELY.
|
inline |
Definition at line 233 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::momentum().
Referenced by localDirection().
|
inline |
Definition at line 225 of file BasicTrajectoryState.h.
References createLocalParameters(), isValid(), notValid(), theLocalParameters, theLocalParametersValid, and UNLIKELY.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), localMomentum(), and localPosition().
|
inline |
Definition at line 232 of file BasicTrajectoryState.h.
References localParameters(), and LocalTrajectoryParameters::position().
|
inline |
Definition at line 222 of file BasicTrajectoryState.h.
References GlobalTrajectoryParameters::magneticField(), FreeTrajectoryState::parameters(), and theFreeState.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), rescaleError(), and update().
|
private |
Definition at line 101 of file BasicTrajectoryState.cc.
References LocalTrajectoryError::matrix(), theFreeState, theLocalError, and LocalTrajectoryError::valid().
Referenced by cartesianError(), curvilinearError(), localError(), and rescaleError().
|
staticprivate |
Definition at line 82 of file BasicTrajectoryState.cc.
Referenced by freeTrajectoryState(), and localParameters().
void BasicTrajectoryState::rescaleError | ( | double | factor | ) |
Definition at line 220 of file BasicTrajectoryState.cc.
References debug_messages_cfi::errors, hasError(), mps_fire::i, dqmiolumiharvest::j, magneticField(), LocalTrajectoryError::matrix(), missingError(), MagneticField::nominalValue(), FreeTrajectoryState::rescaleError(), theFreeState, theLocalError, UNLIKELY, and LocalTrajectoryError::valid().
|
inline |
Definition at line 279 of file BasicTrajectoryState.h.
References FreeTrajectoryState::setCurvilinearError(), and theFreeState.
|
inline |
Definition at line 194 of file BasicTrajectoryState.h.
References FreeTrajectoryState::signedInverseMomentum(), and theFreeState.
|
pure virtual |
Implemented in BasicMultiTrajectoryState, and BasicSingleTrajectoryState.
|
inline |
Definition at line 246 of file BasicTrajectoryState.h.
References theSurfaceP.
Referenced by checkCurvilinError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), and update().
|
inline |
Position relative to material, defined relative to momentum vector.
Definition at line 253 of file BasicTrajectoryState.h.
References theSurfaceSide.
|
inline |
Definition at line 195 of file BasicTrajectoryState.h.
References theFreeState, and FreeTrajectoryState::transverseCurvature().
|
virtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 173 of file BasicTrajectoryState.cc.
References AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, and theWeight.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), BasicMultiTrajectoryState::combine(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
finalvirtual |
Definition at line 163 of file BasicTrajectoryState.cc.
References magneticField(), GlobalTrajectoryParameters::magneticFieldInTesla(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), surface(), theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceSide, and theValid.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
virtual |
Reimplemented in BasicMultiTrajectoryState.
Definition at line 189 of file BasicTrajectoryState.cc.
References submitPVResolutionJobs::err, AlCaHLTBitMon_ParallelJobs::p, theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceP, theSurfaceSide, theValid, theWeight, and weight().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
finalvirtual |
Definition at line 207 of file BasicTrajectoryState.cc.
References submitPVResolutionJobs::err, magneticField(), GlobalTrajectoryParameters::magneticFieldInTesla(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::parameters(), surface(), theFreeState, theLocalError, theLocalParameters, theLocalParametersValid, theSurfaceSide, and theValid.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
inline |
Definition at line 248 of file BasicTrajectoryState.h.
References theWeight.
Referenced by BasicMultiTrajectoryState::combine(), and update().
|
mutableprivate |
Definition at line 301 of file BasicTrajectoryState.h.
Referenced by charge(), checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), createLocalParameters(), freeTrajectoryState(), globalDirection(), globalMomentum(), globalParameters(), globalPosition(), hasError(), magneticField(), missingError(), rescaleError(), setCurvilinearError(), signedInverseMomentum(), transverseCurvature(), and update().
|
mutableprivate |
Definition at line 303 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalError(), createLocalErrorFromCurvilinearError(), hasError(), localError(), missingError(), rescaleError(), and update().
|
mutableprivate |
Definition at line 304 of file BasicTrajectoryState.h.
Referenced by createLocalParameters(), localParameters(), and update().
|
mutableprivate |
Definition at line 306 of file BasicTrajectoryState.h.
Referenced by checkCurvilinError(), createLocalParameters(), localParameters(), and update().
|
private |
Definition at line 310 of file BasicTrajectoryState.h.
|
private |
Definition at line 309 of file BasicTrajectoryState.h.
Referenced by surfaceSide(), and update().
|
mutableprivate |
Definition at line 307 of file BasicTrajectoryState.h.
|
private |
Definition at line 312 of file BasicTrajectoryState.h.
Referenced by BasicTrajectoryState(), update(), and weight().