20 #include "AbsMeasurement.h"
28 AbsMeasurement::AbsMeasurement(
const TVectorD& rawHitCoords,
const TMatrixDSym& rawHitCov,
int detId,
int hitId, TrackPoint* trackPoint)
29 : rawHitCoords_(rawHitCoords), rawHitCov_(rawHitCov), detId_(detId), hitId_(hitId), trackPoint_(trackPoint)
31 assert(rawHitCov_.GetNrows() == rawHitCoords_.GetNrows());
37 rawHitCoords_(o.rawHitCoords_),
38 rawHitCov_(o.rawHitCov_),
41 trackPoint_(o.trackPoint_)
47 AbsMeasurement::~AbsMeasurement()
54 fputs (
"must not call AbsMeasurement::operator=\n",stderr);
60 void AbsMeasurement::Print(
const Option_t*)
const {
61 printOut <<
"genfit::AbsMeasurement, detId = " << detId_ <<
". hitId = " << hitId_ <<
"\n";
62 printOut <<
"Raw hit coordinates: "; rawHitCoords_.Print();
63 printOut <<
"Raw hit covariance: "; rawHitCov_.Print();
Contains the measurement and covariance in raw detector coordinates.
AbsMeasurement & operator=(const AbsMeasurement &)
protect from calling assignment operator from outside the class. Use clone() if you want a copy!
Defines for I/O streams used for error and debug printing.
std::ostream printOut
Default stream for output of Print calls.