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 282 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 257 of file BasicTrajectoryState.h.

257 { return true; }

◆ cartesianError()

const CartesianTrajectoryError BasicTrajectoryState::cartesianError ( ) const
inline

Definition at line 197 of file BasicTrajectoryState.h.

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

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 130 of file BasicTrajectoryState.cc.

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

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 204 of file BasicTrajectoryState.h.

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

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 213 of file BasicTrajectoryState.h.

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

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 234 of file BasicTrajectoryState.h.

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

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

◆ localError()

const LocalTrajectoryError& BasicTrajectoryState::localError ( ) const
inline

Definition at line 236 of file BasicTrajectoryState.h.

236  {
237  if UNLIKELY (!hasError()) {
238  missingError(" accessing local error.");
239  return theLocalError;
240  }
243  return theLocalError;
244  }

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

◆ localMomentum()

LocalVector BasicTrajectoryState::localMomentum ( ) const
inline

Definition at line 233 of file BasicTrajectoryState.h.

233 { 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 232 of file BasicTrajectoryState.h.

232 { 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 101 of file BasicTrajectoryState.cc.

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

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 220 of file BasicTrajectoryState.cc.

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

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 253 of file BasicTrajectoryState.h.

253 { 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 248 of file BasicTrajectoryState.h.

248 { 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 304 of file BasicTrajectoryState.h.

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

◆ theLocalParametersValid

bool BasicTrajectoryState::theLocalParametersValid
mutableprivate

◆ theSurfaceP

ConstReferenceCountingPointer<SurfaceType> BasicTrajectoryState::theSurfaceP
private

Definition at line 310 of file BasicTrajectoryState.h.

Referenced by surface(), and update().

◆ theSurfaceSide

SurfaceSide BasicTrajectoryState::theSurfaceSide
private

Definition at line 309 of file BasicTrajectoryState.h.

Referenced by surfaceSide(), and update().

◆ theValid

bool BasicTrajectoryState::theValid
mutableprivate

Definition at line 307 of file BasicTrajectoryState.h.

Referenced by isValid(), and update().

◆ theWeight

double BasicTrajectoryState::theWeight = 0.
private

Definition at line 312 of file BasicTrajectoryState.h.

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

Vector3DBase< float, LocalTag >
BasicTrajectoryState::magneticField
const MagneticField * magneticField() const
Definition: BasicTrajectoryState.h:222
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:213
FreeTrajectoryState::hasError
bool hasError() const
Definition: FreeTrajectoryState.h:77
BasicTrajectoryState::weight
double weight() const
Definition: BasicTrajectoryState.h:248
GlobalTrajectoryParameters::magneticFieldInTesla
GlobalVector magneticFieldInTesla() const
Definition: GlobalTrajectoryParameters.h:104
FreeTrajectoryState::charge
TrackCharge charge() const
Definition: FreeTrajectoryState.h:69
if
if(0==first)
Definition: CAHitNtupletGeneratorKernelsImpl.h:58
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:220
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SurfaceSideDefinition::atCenterOfSurface
Definition: SurfaceSideDefinition.h:8
BasicTrajectoryState::theLocalParametersValid
bool theLocalParametersValid
Definition: BasicTrajectoryState.h:306
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:152
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:246
Point3DBase< float, LocalTag >
BasicTrajectoryState::localMomentum
LocalVector localMomentum() const
Definition: BasicTrajectoryState.h:233
BasicTrajectoryState::theValid
bool theValid
Definition: BasicTrajectoryState.h:307
BasicTrajectoryState::notValid
static void notValid()
Definition: BasicTrajectoryState.cc:82
LocalTrajectoryError
Definition: LocalTrajectoryError.h:20
BasicTrajectoryState::hasError
bool hasError() const
Definition: BasicTrajectoryState.h:255
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BasicTrajectoryState::createLocalParameters
void createLocalParameters() const
Definition: BasicTrajectoryState.cc:130
BasicTrajectoryState::theLocalError
LocalTrajectoryError theLocalError
Definition: BasicTrajectoryState.h:303
BasicTrajectoryState::theWeight
double theWeight
Definition: BasicTrajectoryState.h:312
BasicTrajectoryState::missingError
void missingError(char const *where) const
Definition: BasicTrajectoryState.cc:101
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:304
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:145
BasicTrajectoryState::localParameters
const LocalTrajectoryParameters & localParameters() const
Definition: BasicTrajectoryState.h:225
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:301
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:310
BasicTrajectoryState::checkCurvilinError
void checkCurvilinError() const
Definition: BasicTrajectoryState.cc:112
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:309
debug_messages_cfi.errors
errors
Definition: debug_messages_cfi.py:54