36 hasSmoothedData_(false)
43 originalTrack_(const_cast<
Track*>(track)),
47 hasSmoothedData_(isSmoothed)
49 if (
state_.GetNrows() != 6) {
50 Exception exc(
"GFRaveTrackParameters ==> State is not 6D!",__LINE__,__FILE__);
53 if (
cov_.GetNrows()!=6) {
54 Exception exc(
"GFRaveTrackParameters ==> Covariance is not 6D!",__LINE__,__FILE__);
62 originalTrack_(const_cast<
Track*>(track)),
66 hasSmoothedData_(false)
95 Exception exc(
"GFRaveTrackParameters::getPdg() ==> no genfit::Track available!",__LINE__,__FILE__);
103 std::cout <<
"weight: " <<
getWeight() <<
"\n";
105 std::cout <<
"state: ";
getState().Print();
106 std::cout <<
"cov: ";
getCov().Print();
108 else std::cout <<
"NO genfit::Track pointer \n";
TVectorD getState() const
AbsTrackRep * getCardinalRep() const
Get cardinal track representation.
void Print(const Option_t *="") const
const TMatrixDSym & getCov() const
double getCharge() const
Get the fitted charge.
StateOnPlane with additional covariance matrix.
Exception class for error handling in GENFIT (provides storage for diagnostic information) ...
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
int getPDG() const
Get the pdg code.
void Print(const Option_t *="") const
const Track * getTrack() const
Defines for I/O streams used for error and debug printing.
FitStatus * getFitStatus(const AbsTrackRep *rep=NULL) const
Get FitStatus for a AbsTrackRep. Per default, return FitStatus for cardinalRep.