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