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),
90 <<
err.matrix() <<
"\npos/mom/mf " <<
state.position() <<
' ' 91 <<
state.momentum() <<
' ' <<
state.parameters().magneticFieldInTesla();
96 <<
err.matrix() <<
"\npos/mom/mf " <<
state.position() <<
' ' 97 <<
state.momentum() <<
' ' <<
state.parameters().magneticFieldInTesla();
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)
235 for (
unsigned int i = 1;
i != 5; ++
i)
236 for (
unsigned int j =
i;
j != 5; ++
j)
247 edm::LogError(
"BasicSingleTrajectoryState") <<
"asking for componenets to a SingleTrajectoryState" << std::endl;
ConstReferenceCountingPointer< SurfaceType > theSurfaceP
virtual ~BasicTrajectoryState()
BasicTrajectoryState::Components Components
const CurvilinearTrajectoryError & curvilinearError() const
SurfaceSide theSurfaceSide
GlobalVector magneticFieldInTesla() const
void createLocalParameters() const
const GlobalTrajectoryParameters & globalParameters() 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
bool hasCurvilinearError() const
Log< level::Error, false > LogError
LocalPoint toLocal(const GlobalPoint &gp) const
const GlobalTrajectoryParameters & parameters() const
void rescaleError(double factor)
GlobalPoint position() const
const AlgebraicMatrix55 & jacobian() const
TrackCharge charge() const
LocalVector momentum() const
Momentum vector in the local frame.
const SurfaceType & surface() const
GlobalVector momentum() const
double signedInverseMomentum() const
Components const & components() const override
TrackCharge charge() const
Charge (-1, 0 or 1)
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const AlgebraicMatrix55 & jacobian() const
void missingError(char const *where) const
void rescaleError(double factor)
void createLocalError() const
const AlgebraicSymMatrix55 & matrix() const
FreeTrajectoryState theFreeState
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
CurvilinearTrajectoryError & setCurvilinearError()
bool theLocalParametersValid
const LocalTrajectoryParameters & localParameters() const
const AlgebraicSymMatrix55 & matrix() const
LocalTrajectoryParameters theLocalParameters
void createLocalErrorFromCurvilinearError() const
int nominalValue() const
The nominal field value for this map in kGauss.
Log< level::Warning, false > LogWarning
LocalTrajectoryError theLocalError
LocalPoint position() const
Local x and y position coordinates.
void checkCurvilinError() const
const MagneticField * magneticField() const