14 unsigned int BTSCount::maxReferences=0;
15 unsigned long long BTSCount::aveReferences=0;
16 unsigned long long BTSCount::toteReferences=0;
18 BTSCount::~BTSCount(){
19 maxReferences =
std::max(referenceMax_, maxReferences);
21 aveReferences+=referenceMax_;
30 std::cout <<
"maxReferences of BTSCount = " 31 << BTSCount::maxReferences <<
" " 32 << double(BTSCount::aveReferences)/double(BTSCount::toteReferences)<< std::endl;
45 theLocalParametersValid(
false),
48 theSurfaceP( &aSurface),
120 std::stringstream form;
121 form<<
"BasicTrajectoryState: attempt to access errors when none available " 158 p.
x()/p.
z(), p.
y()/p.
z(), x.
x(), x.
y(), p.
z()>0. ? 1.:-1., isCharged);
260 for (
unsigned int i=1;
i!=5;++
i)
errors(
i,0)*=factor;
261 double factor_squared=factor*factor;
263 for (
unsigned int i=1;
i!=5;++
i)
for (
unsigned int j=
i;j!=5;++j)
errors(
i,j)*=factor_squared;
277 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)
Components const & components() const override
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
TrackCharge charge() const
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
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
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
LocalTrajectoryError theLocalError
double signedInverseMomentum() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepStd< double, 5, 5 > > AlgebraicMatrix55