CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
BasicTrajectoryState Class Referenceabstract

#include <BasicTrajectoryState.h>

Inheritance diagram for BasicTrajectoryState:
BasicMultiTrajectoryState BasicSingleTrajectoryState

Public Types

typedef BasicTrajectoryState BTSOS
 
using Components = std::vector< TrajectoryStateOnSurface >
 
typedef Proxy::pointer pointer
 
typedef ProxyBase11< BTSOSProxy
 
typedef SurfaceSideDefinition::SurfaceSide SurfaceSide
 
typedef Surface SurfaceType
 

Public Member Functions

 BasicTrajectoryState ()
 
 BasicTrajectoryState (const FreeTrajectoryState &fts)
 
 BasicTrajectoryState (const FreeTrajectoryState &fts, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const CartesianTrajectoryError &err, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const CurvilinearTrajectoryError &err, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const GlobalTrajectoryParameters &par, const SurfaceType &aSurface, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const LocalTrajectoryParameters &par, const LocalTrajectoryError &err, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const LocalTrajectoryParameters &par, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
 
 BasicTrajectoryState (const SurfaceType &aSurface)
 construct invalid trajectory state (without parameters) More...
 
template<typename... Args>
 BasicTrajectoryState (double iweight, Args &&... args)
 
virtual bool canUpdateLocalParameters () const
 
const CartesianTrajectoryError cartesianError () const
 
TrackCharge charge () const
 
virtual pointer clone () const =0
 
virtual Components const & components () const =0
 
const CurvilinearTrajectoryErrorcurvilinearError () const
 
FreeTrajectoryState const * freeTrajectoryState (bool withErrors=true) const
 
GlobalVector globalDirection () const
 
GlobalVector globalMomentum () const
 
const GlobalTrajectoryParametersglobalParameters () const
 
GlobalPoint globalPosition () const
 
bool hasError () const
 
bool isValid () const
 
LocalVector localDirection () const
 
const LocalTrajectoryErrorlocalError () const
 
LocalVector localMomentum () const
 
const LocalTrajectoryParameterslocalParameters () const
 
LocalPoint localPosition () const
 
const MagneticFieldmagneticField () const
 
void rescaleError (double factor)
 
CurvilinearTrajectoryErrorsetCurvilinearError ()
 
double signedInverseMomentum () const
 
virtual bool singleState () const =0
 
const SurfaceTypesurface () const
 
SurfaceSide surfaceSide () const
 Position relative to material, defined relative to momentum vector. More...
 
double transverseCurvature () const
 
virtual void update (const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const SurfaceSide side) final
 
virtual void update (const LocalTrajectoryParameters &p, const SurfaceSide side) final
 
virtual void update (const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side)
 
virtual void update (double weight, const LocalTrajectoryParameters &p, const LocalTrajectoryError &err, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side)
 
double weight () const
 
virtual ~BasicTrajectoryState ()
 

Static Public Member Functions

template<typename T , typename... Args>
static std::shared_ptr< BTSOSbuild (Args &&... args)
 
template<typename T , typename... Args>
static std::shared_ptr< BTSOSchurn (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< SurfaceTypetheSurfaceP
 
SurfaceSide theSurfaceSide
 
bool theValid
 
double theWeight = 0.
 

Detailed Description

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.

Member Typedef Documentation

◆ BTSOS

Definition at line 68 of file BasicTrajectoryState.h.

◆ Components

Definition at line 286 of file BasicTrajectoryState.h.

◆ pointer

Definition at line 70 of file BasicTrajectoryState.h.

◆ Proxy

Definition at line 69 of file BasicTrajectoryState.h.

◆ SurfaceSide

Definition at line 71 of file BasicTrajectoryState.h.

◆ SurfaceType

Definition at line 72 of file BasicTrajectoryState.h.

Constructor & Destructor Documentation

◆ BasicTrajectoryState() [1/10]

BasicTrajectoryState::BasicTrajectoryState ( )
inline

Definition at line 76 of file BasicTrajectoryState.h.

76 : theValid(false), theWeight(0) {}

◆ BasicTrajectoryState() [2/10]

BasicTrajectoryState::BasicTrajectoryState ( const SurfaceType aSurface)
explicit

construct invalid trajectory state (without parameters)

Definition at line 39 of file BasicTrajectoryState.cc.

◆ ~BasicTrajectoryState()

BasicTrajectoryState::~BasicTrajectoryState ( )
virtual

Definition at line 38 of file BasicTrajectoryState.cc.

38 {}

◆ BasicTrajectoryState() [3/10]

BasicTrajectoryState::BasicTrajectoryState ( const FreeTrajectoryState fts,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)
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.

101  : theFreeState(fts),
105  theValid(true),
106  theSurfaceSide(side),
107  theSurfaceP(&aSurface),
108  theWeight(1.) {}

◆ BasicTrajectoryState() [4/10]

BasicTrajectoryState::BasicTrajectoryState ( const FreeTrajectoryState fts)
inlineexplicit

Constructor from FTS: just a wrapper

Definition at line 112 of file BasicTrajectoryState.h.

113  : theFreeState(fts),
117  theValid(true),
118  theWeight(1.) {}

◆ BasicTrajectoryState() [5/10]

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.

73  : theFreeState(makeFTS(par, aSurface, field)),
75  theLocalParameters(par),
77  theValid(true),
78  theSurfaceSide(side),
79  theSurfaceP(&aSurface),
80  theWeight(1.) {}

◆ BasicTrajectoryState() [6/10]

BasicTrajectoryState::BasicTrajectoryState ( const LocalTrajectoryParameters par,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)
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.

137  : BasicTrajectoryState(par, InvalidError(), aSurface, field, side) {}

◆ BasicTrajectoryState() [7/10]

BasicTrajectoryState::BasicTrajectoryState ( const GlobalTrajectoryParameters par,
const CartesianTrajectoryError err,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)
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.

146  : theFreeState(par, err),
150  theValid(true),
151  theSurfaceSide(side),
152  theSurfaceP(&aSurface),
153  theWeight(1.) {}

◆ BasicTrajectoryState() [8/10]

BasicTrajectoryState::BasicTrajectoryState ( const GlobalTrajectoryParameters par,
const CurvilinearTrajectoryError err,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)
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.

163  : theFreeState(par, err),
167  theValid(true),
168  theSurfaceSide(side),
169  theSurfaceP(&aSurface),
170  theWeight(1.) {}

◆ BasicTrajectoryState() [9/10]

BasicTrajectoryState::BasicTrajectoryState ( const GlobalTrajectoryParameters par,
const SurfaceType aSurface,
const SurfaceSide  side = SurfaceSideDefinition::atCenterOfSurface 
)
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.

178  : BasicTrajectoryState(par, InvalidError(), aSurface, side) {}

◆ BasicTrajectoryState() [10/10]

template<typename... Args>
BasicTrajectoryState::BasicTrajectoryState ( double  iweight,
Args &&...  args 
)
inline

Definition at line 182 of file BasicTrajectoryState.h.

182  : BasicTrajectoryState(std::forward<Args>(args)...) {
183  theWeight = iweight;
184  }

References theWeight.

Member Function Documentation

◆ build()

template<typename T , typename... Args>
static std::shared_ptr<BTSOS> BasicTrajectoryState::build ( Args &&...  args)
inlinestatic

Definition at line 86 of file BasicTrajectoryState.h.

86  {
87  return std::make_shared<T>(std::forward<Args>(args)...);
88  }

References writedatasetfile::args.

◆ canUpdateLocalParameters()

virtual bool BasicTrajectoryState::canUpdateLocalParameters ( ) const
inlinevirtual

Reimplemented in BasicMultiTrajectoryState.

Definition at line 261 of file BasicTrajectoryState.h.

261 { return true; }

◆ cartesianError()

const CartesianTrajectoryError BasicTrajectoryState::cartesianError ( ) const
inline

Definition at line 197 of file BasicTrajectoryState.h.

197  {
198  if
199  UNLIKELY(!hasError()) {
200  missingError(" accesing cartesian error.");
201  return CartesianTrajectoryError();
202  }
203  return freeTrajectoryState(true)->cartesianError();
204  }

References FreeTrajectoryState::cartesianError(), freeTrajectoryState(), hasError(), missingError(), and UNLIKELY.

◆ charge()

TrackCharge BasicTrajectoryState::charge ( void  ) const
inline

Definition at line 193 of file BasicTrajectoryState.h.

193 { return theFreeState.charge(); }

References FreeTrajectoryState::charge(), and theFreeState.

Referenced by PixelTrackBuilder::build().

◆ checkCurvilinError()

void BasicTrajectoryState::checkCurvilinError ( ) const
private

◆ churn()

template<typename T , typename... Args>
static std::shared_ptr<BTSOS> BasicTrajectoryState::churn ( Args &&...  args)
inlinestatic

Definition at line 91 of file BasicTrajectoryState.h.

91  {
92  return std::allocate_shared<T>(churn_allocator<T>(), std::forward<Args>(args)...);
93  }

References writedatasetfile::args.

◆ clone()

virtual pointer BasicTrajectoryState::clone ( ) const
pure virtual

◆ components()

virtual Components const& BasicTrajectoryState::components ( ) const
pure virtual

◆ createLocalError()

void BasicTrajectoryState::createLocalError ( ) const
private

◆ createLocalErrorFromCurvilinearError()

void BasicTrajectoryState::createLocalErrorFromCurvilinearError ( ) const
private

◆ createLocalParameters()

void BasicTrajectoryState::createLocalParameters ( ) const
private

Definition at line 132 of file BasicTrajectoryState.cc.

132  {
135  // believe p.z() never exactly equals 0.
136  bool isCharged = theFreeState.charge() != 0;
138  p.x() / p.z(),
139  p.y() / p.z(),
140  x.x(),
141  x.y(),
142  p.z() > 0. ? 1. : -1.,
143  isCharged);
145 }

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().

◆ curvilinearError()

const CurvilinearTrajectoryError& BasicTrajectoryState::curvilinearError ( ) const
inline

Definition at line 205 of file BasicTrajectoryState.h.

205  {
206  if
207  UNLIKELY(!hasError()) {
208  missingError(" accesing curvilinearerror.");
209  static const CurvilinearTrajectoryError crap;
210  return crap;
211  }
212  return freeTrajectoryState(true)->curvilinearError();
213  }

References RefreshWebPage::crap, FreeTrajectoryState::curvilinearError(), freeTrajectoryState(), hasError(), missingError(), and UNLIKELY.

Referenced by PixelTrackBuilder::build().

◆ freeTrajectoryState()

FreeTrajectoryState const* BasicTrajectoryState::freeTrajectoryState ( bool  withErrors = true) const
inline

Definition at line 215 of file BasicTrajectoryState.h.

215  {
216  if
217  UNLIKELY(!isValid()) notValid();
218  if (withErrors && hasError()) { // this is the right thing
220  }
221  return &theFreeState;
222  }

References checkCurvilinError(), hasError(), isValid(), notValid(), theFreeState, and UNLIKELY.

Referenced by cartesianError(), and curvilinearError().

◆ globalDirection()

GlobalVector BasicTrajectoryState::globalDirection ( ) const
inline

◆ globalMomentum()

GlobalVector BasicTrajectoryState::globalMomentum ( ) const
inline

Definition at line 191 of file BasicTrajectoryState.h.

191 { return theFreeState.momentum(); }

References FreeTrajectoryState::momentum(), and theFreeState.

Referenced by PixelTrackBuilder::build().

◆ globalParameters()

const GlobalTrajectoryParameters& BasicTrajectoryState::globalParameters ( void  ) const
inline

◆ globalPosition()

GlobalPoint BasicTrajectoryState::globalPosition ( ) const
inline

Definition at line 190 of file BasicTrajectoryState.h.

190 { return theFreeState.position(); }

References FreeTrajectoryState::position(), and theFreeState.

Referenced by PixelTrackBuilder::build().

◆ hasError()

bool BasicTrajectoryState::hasError ( void  ) const
inline

◆ isValid()

bool BasicTrajectoryState::isValid ( void  ) const
inline

◆ localDirection()

LocalVector BasicTrajectoryState::localDirection ( ) const
inline

Definition at line 237 of file BasicTrajectoryState.h.

237 { return localMomentum().unit(); }

References localMomentum(), and Vector3DBase< T, FrameTag >::unit().

◆ localError()

const LocalTrajectoryError& BasicTrajectoryState::localError ( ) const
inline

Definition at line 239 of file BasicTrajectoryState.h.

239  {
240  if
241  UNLIKELY(!hasError()) {
242  missingError(" accessing local error.");
243  return theLocalError;
244  }
245  if
247  return theLocalError;
248  }

References createLocalError(), hasError(), LocalTrajectoryError::invalid(), missingError(), theLocalError, and UNLIKELY.

◆ localMomentum()

LocalVector BasicTrajectoryState::localMomentum ( ) const
inline

Definition at line 236 of file BasicTrajectoryState.h.

236 { return localParameters().momentum(); }

References localParameters(), and LocalTrajectoryParameters::momentum().

Referenced by localDirection().

◆ localParameters()

const LocalTrajectoryParameters& BasicTrajectoryState::localParameters ( ) const
inline

◆ localPosition()

LocalPoint BasicTrajectoryState::localPosition ( ) const
inline

Definition at line 235 of file BasicTrajectoryState.h.

235 { return localParameters().position(); }

References localParameters(), and LocalTrajectoryParameters::position().

◆ magneticField()

const MagneticField* BasicTrajectoryState::magneticField ( ) const
inline

◆ missingError()

void BasicTrajectoryState::missingError ( char const *  where) const
private

Definition at line 103 of file BasicTrajectoryState.cc.

103  {
104  std::stringstream form;
105  form << "BasicTrajectoryState: attempt to access errors when none available " << where
106  << ".\nfreestate pointer: " << theFreeState << "\nlocal error valid/values :" << theLocalError.valid() << "\n"
107  << theLocalError.matrix();
108 
109  edm::LogWarning("BasicTrajectoryState") << form.str();
110 
111  // throw TrajectoryStateException(form.str());
112 }

References LocalTrajectoryError::matrix(), theFreeState, theLocalError, and LocalTrajectoryError::valid().

Referenced by cartesianError(), curvilinearError(), localError(), and rescaleError().

◆ notValid()

void BasicTrajectoryState::notValid ( )
staticprivate

Definition at line 82 of file BasicTrajectoryState.cc.

82  {
83  throw TrajectoryStateException("TrajectoryStateOnSurface is invalid and cannot return any parameters");
84 }

Referenced by freeTrajectoryState(), and localParameters().

◆ rescaleError()

void BasicTrajectoryState::rescaleError ( double  factor)

Definition at line 222 of file BasicTrajectoryState.cc.

222  {
223  if
224  UNLIKELY(!hasError()) missingError(" trying to rescale");
226 
227  if (theLocalError.valid()) {
228  //do it by hand if the free state is not around.
229  bool zeroField = (magneticField()->nominalValue() == 0);
230  if
231  UNLIKELY(zeroField) {
233  //scale the 0 indexed covariance by the square root of the factor
234  for (unsigned int i = 1; i != 5; ++i)
235  errors(i, 0) *= factor;
236  double factor_squared = factor * factor;
237  //scale all others by the scaled factor
238  for (unsigned int i = 1; i != 5; ++i)
239  for (unsigned int j = i; j != 5; ++j)
240  errors(i, j) *= factor_squared;
241  //term 0,0 is not scaled at all
243  }
244  else
245  theLocalError *= (factor * factor);
246  }
247 }

References debug_messages_cfi::errors, DQMScaleToClient_cfi::factor, hasError(), mps_fire::i, dqmiolumiharvest::j, magneticField(), LocalTrajectoryError::matrix(), missingError(), MagneticField::nominalValue(), FreeTrajectoryState::rescaleError(), theFreeState, theLocalError, UNLIKELY, and LocalTrajectoryError::valid().

◆ setCurvilinearError()

CurvilinearTrajectoryError& BasicTrajectoryState::setCurvilinearError ( )
inline

◆ signedInverseMomentum()

double BasicTrajectoryState::signedInverseMomentum ( ) const
inline

◆ singleState()

virtual bool BasicTrajectoryState::singleState ( ) const
pure virtual

◆ surface()

const SurfaceType& BasicTrajectoryState::surface ( ) const
inline

◆ surfaceSide()

SurfaceSide BasicTrajectoryState::surfaceSide ( ) const
inline

Position relative to material, defined relative to momentum vector.

Definition at line 257 of file BasicTrajectoryState.h.

257 { return theSurfaceSide; }

References theSurfaceSide.

◆ transverseCurvature()

double BasicTrajectoryState::transverseCurvature ( ) const
inline

◆ update() [1/4]

void BasicTrajectoryState::update ( const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceSide  side 
)
finalvirtual

◆ update() [2/4]

void BasicTrajectoryState::update ( const LocalTrajectoryParameters p,
const SurfaceSide  side 
)
finalvirtual

◆ update() [3/4]

void BasicTrajectoryState::update ( const LocalTrajectoryParameters p,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side 
)
virtual

◆ update() [4/4]

void BasicTrajectoryState::update ( double  weight,
const LocalTrajectoryParameters p,
const LocalTrajectoryError err,
const SurfaceType aSurface,
const MagneticField field,
const SurfaceSide  side 
)
virtual

◆ weight()

double BasicTrajectoryState::weight ( ) const
inline

Definition at line 252 of file BasicTrajectoryState.h.

252 { return theWeight; }

References theWeight.

Referenced by BasicMultiTrajectoryState::combine(), and update().

Member Data Documentation

◆ theFreeState

FreeTrajectoryState BasicTrajectoryState::theFreeState
mutableprivate

◆ theLocalError

LocalTrajectoryError BasicTrajectoryState::theLocalError
mutableprivate

◆ theLocalParameters

LocalTrajectoryParameters BasicTrajectoryState::theLocalParameters
mutableprivate

Definition at line 308 of file BasicTrajectoryState.h.

Referenced by createLocalParameters(), localParameters(), and update().

◆ theLocalParametersValid

bool BasicTrajectoryState::theLocalParametersValid
mutableprivate

◆ theSurfaceP

ConstReferenceCountingPointer<SurfaceType> BasicTrajectoryState::theSurfaceP
private

Definition at line 314 of file BasicTrajectoryState.h.

Referenced by surface(), and update().

◆ theSurfaceSide

SurfaceSide BasicTrajectoryState::theSurfaceSide
private

Definition at line 313 of file BasicTrajectoryState.h.

Referenced by surfaceSide(), and update().

◆ theValid

bool BasicTrajectoryState::theValid
mutableprivate

Definition at line 311 of file BasicTrajectoryState.h.

Referenced by isValid(), and update().

◆ theWeight

double BasicTrajectoryState::theWeight = 0.
private

Definition at line 316 of file BasicTrajectoryState.h.

Referenced by BasicTrajectoryState(), update(), and weight().

Vector3DBase< float, LocalTag >
BasicTrajectoryState::magneticField
const MagneticField * magneticField() const
Definition: BasicTrajectoryState.h:224
writedatasetfile.args
args
Definition: writedatasetfile.py:18
churn_allocator
Definition: ChurnAllocator.h:6
FreeTrajectoryState::momentum
GlobalVector momentum() const
Definition: FreeTrajectoryState.h:68
mps_fire.i
i
Definition: mps_fire.py:428
BasicTrajectoryState::freeTrajectoryState
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
Definition: BasicTrajectoryState.h:215
FreeTrajectoryState::hasError
bool hasError() const
Definition: FreeTrajectoryState.h:77
BasicTrajectoryState::weight
double weight() const
Definition: BasicTrajectoryState.h:252
GlobalTrajectoryParameters::magneticFieldInTesla
GlobalVector magneticFieldInTesla() const
Definition: GlobalTrajectoryParameters.h:104
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FreeTrajectoryState::charge
TrackCharge charge() const
Definition: FreeTrajectoryState.h:69
to
FreeTrajectoryState::signedInverseMomentum
double signedInverseMomentum() const
Definition: FreeTrajectoryState.h:70
mathSSE::return
return((rh ^ lh) &mask)
LocalTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition: LocalTrajectoryError.h:60
DDAxes::x
LocalTrajectoryError::valid
bool valid() const
Definition: LocalTrajectoryError.h:32
FreeTrajectoryState::position
GlobalPoint position() const
Definition: FreeTrajectoryState.h:67
LocalTrajectoryError::invalid
bool invalid() const
Definition: LocalTrajectoryError.h:31
BasicTrajectoryState::rescaleError
void rescaleError(double factor)
Definition: BasicTrajectoryState.cc:222
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SurfaceSideDefinition::atCenterOfSurface
Definition: SurfaceSideDefinition.h:8
BasicTrajectoryState::theLocalParametersValid
bool theLocalParametersValid
Definition: BasicTrajectoryState.h:310
LocalTrajectoryParameters
Definition: LocalTrajectoryParameters.h:25
UNLIKELY
#define UNLIKELY(x)
Definition: Likely.h:21
JacobianCurvilinearToLocal
Definition: JacobianCurvilinearToLocal.h:19
Vector3DBase::unit
Vector3DBase unit() const
Definition: Vector3DBase.h:54
FreeTrajectoryState::cartesianError
CartesianTrajectoryError cartesianError() const
Definition: FreeTrajectoryState.h:81
CurvilinearTrajectoryError
Definition: CurvilinearTrajectoryError.h:27
AlgebraicMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55
Definition: AlgebraicROOTObjects.h:55
BasicTrajectoryState::BasicTrajectoryState
BasicTrajectoryState()
Definition: BasicTrajectoryState.h:76
errors
Definition: errors.py:1
LocalTrajectoryParameters::position
LocalPoint position() const
Local x and y position coordinates.
Definition: LocalTrajectoryParameters.h:85
BasicTrajectoryState::createLocalErrorFromCurvilinearError
void createLocalErrorFromCurvilinearError() const
Definition: BasicTrajectoryState.cc:154
FreeTrajectoryState::curvilinearError
const CurvilinearTrajectoryError & curvilinearError() const
Definition: FreeTrajectoryState.h:89
TrajectoryStateException
Common base class.
Definition: TrajectoryStateExceptions.h:12
BasicTrajectoryState::globalParameters
const GlobalTrajectoryParameters & globalParameters() const
Definition: BasicTrajectoryState.h:189
MuonErrorMatrixAdjuster_cfi.rescale
rescale
Definition: MuonErrorMatrixAdjuster_cfi.py:8
MagneticField::nominalValue
int nominalValue() const
The nominal field value for this map in kGauss.
Definition: MagneticField.h:49
DQMScaleToClient_cfi.factor
factor
Definition: DQMScaleToClient_cfi.py:8
BasicTrajectoryState::surface
const SurfaceType & surface() const
Definition: BasicTrajectoryState.h:250
Point3DBase< float, LocalTag >
BasicTrajectoryState::localMomentum
LocalVector localMomentum() const
Definition: BasicTrajectoryState.h:236
BasicTrajectoryState::theValid
bool theValid
Definition: BasicTrajectoryState.h:311
BasicTrajectoryState::notValid
static void notValid()
Definition: BasicTrajectoryState.cc:82
LocalTrajectoryError
Definition: LocalTrajectoryError.h:20
BasicTrajectoryState::hasError
bool hasError() const
Definition: BasicTrajectoryState.h:259
BasicTrajectoryState::createLocalParameters
void createLocalParameters() const
Definition: BasicTrajectoryState.cc:132
BasicTrajectoryState::theLocalError
LocalTrajectoryError theLocalError
Definition: BasicTrajectoryState.h:307
BasicTrajectoryState::theWeight
double theWeight
Definition: BasicTrajectoryState.h:316
BasicTrajectoryState::missingError
void missingError(char const *where) const
Definition: BasicTrajectoryState.cc:103
FreeTrajectoryState::parameters
const GlobalTrajectoryParameters & parameters() const
Definition: FreeTrajectoryState.h:79
RefreshWebPage.crap
crap
Definition: RefreshWebPage.py:17
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
BasicTrajectoryState::theLocalParameters
LocalTrajectoryParameters theLocalParameters
Definition: BasicTrajectoryState.h:308
CartesianTrajectoryError
Definition: CartesianTrajectoryError.h:15
BasicTrajectoryState::isValid
bool isValid() const
Definition: BasicTrajectoryState.h:186
LocalTrajectoryParameters::momentum
LocalVector momentum() const
Momentum vector in the local frame.
Definition: LocalTrajectoryParameters.h:88
LIKELY
#define LIKELY(x)
Definition: Likely.h:20
GloballyPositioned::toLocal
LocalPoint toLocal(const GlobalPoint &gp) const
Definition: GloballyPositioned.h:98
BasicTrajectoryState::createLocalError
void createLocalError() const
Definition: BasicTrajectoryState.cc:147
BasicTrajectoryState::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition: BasicTrajectoryState.h:227
GlobalTrajectoryParameters::magneticField
const MagneticField & magneticField() const
Definition: GlobalTrajectoryParameters.h:106
FreeTrajectoryState::setCurvilinearError
CurvilinearTrajectoryError & setCurvilinearError()
Definition: FreeTrajectoryState.h:100
RunInfoPI::valid
Definition: RunInfoPayloadInspectoHelper.h:16
BasicTrajectoryState::theFreeState
FreeTrajectoryState theFreeState
Definition: BasicTrajectoryState.h:305
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
JacobianLocalToCurvilinear
Definition: JacobianLocalToCurvilinear.h:21
FreeTrajectoryState::hasCurvilinearError
bool hasCurvilinearError() const
Definition: FreeTrajectoryState.h:75
AlgebraicSymMatrix55
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
Definition: AlgebraicROOTObjects.h:23
BasicTrajectoryState::theSurfaceP
ConstReferenceCountingPointer< SurfaceType > theSurfaceP
Definition: BasicTrajectoryState.h:314
BasicTrajectoryState::checkCurvilinError
void checkCurvilinError() const
Definition: BasicTrajectoryState.cc:114
FreeTrajectoryState::transverseCurvature
double transverseCurvature() const
Definition: FreeTrajectoryState.h:71
CurvilinearTrajectoryError::matrix
const AlgebraicSymMatrix55 & matrix() const
Definition: CurvilinearTrajectoryError.h:61
InvalidError
Definition: TrivialError.h:8
BasicTrajectoryState::theSurfaceSide
SurfaceSide theSurfaceSide
Definition: BasicTrajectoryState.h:313
debug_messages_cfi.errors
errors
Definition: debug_messages_cfi.py:54