13 unsigned int BTSCount::maxReferences = 0;
14 unsigned long long BTSCount::aveReferences = 0;
15 unsigned long long BTSCount::toteReferences = 0;
17 BTSCount::~BTSCount() {
18 maxReferences =
std::max(referenceMax_, maxReferences);
20 aveReferences += referenceMax_;
29 std::cout <<
"maxReferences of BTSCount = " << BTSCount::maxReferences <<
" "
30 << double(BTSCount::aveReferences) / double(BTSCount::toteReferences) << std::endl;
42 theLocalParametersValid(
false),
45 theSurfaceP(&aSurface),
73 : theFreeState(makeFTS(par, aSurface, field)),
75 theLocalParameters(par),
76 theLocalParametersValid(
true),
79 theSurfaceP(&aSurface),
102 std::stringstream form;
103 form <<
"BasicTrajectoryState: attempt to access errors when none available " << where
140 p.
z() > 0. ? 1. : -1.,
231 for (
unsigned int i = 1;
i != 5; ++
i)
232 errors(
i, 0) *= factor;
233 double factor_squared = factor * 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;
247 edm::LogError(
"BasicSingleTrajectoryState") <<
"asking for componenets to a SingleTrajectoryState" << std::endl;
ConstReferenceCountingPointer< SurfaceType > theSurfaceP
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual ~BasicTrajectoryState()
BasicTrajectoryState::Components Components
const MagneticField * magneticField() const
SurfaceSide theSurfaceSide
const GlobalTrajectoryParameters & parameters() const
int nominalValue() const
The nominal field value for this map in kGauss.
LocalPoint position() const
Local x and y position coordinates.
bool hasCurvilinearError() const
virtual void update(const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, const SurfaceSide side)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55
TrackCharge charge() const
Log< level::Error, false > LogError
const CurvilinearTrajectoryError & curvilinearError() const
void rescaleError(double factor)
void createLocalErrorFromCurvilinearError() const
LocalPoint toLocal(const GlobalPoint &gp) const
GlobalVector magneticFieldInTesla() const
void createLocalError() const
void checkCurvilinError() const
uint16_t const *__restrict__ x
void createLocalParameters() const
const AlgebraicSymMatrix55 & matrix() const
LocalVector momentum() const
Momentum vector in the local frame.
GlobalVector momentum() const
GlobalPoint position() const
const SurfaceType & surface() const
const GlobalTrajectoryParameters & globalParameters() const
void rescaleError(double factor)
FreeTrajectoryState theFreeState
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
CurvilinearTrajectoryError & setCurvilinearError()
TrackCharge charge() const
Charge (-1, 0 or 1)
const AlgebraicMatrix55 & jacobian() const
void missingError(char const *where) const
bool theLocalParametersValid
const LocalTrajectoryParameters & localParameters() const
const AlgebraicSymMatrix55 & matrix() const
LocalTrajectoryParameters theLocalParameters
const AlgebraicMatrix55 & jacobian() const
Components const & components() const override
Log< level::Warning, false > LogWarning
LocalTrajectoryError theLocalError
double signedInverseMomentum() const