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";
int getPDG() const
Get the pdg code.
Exception class for error handling in GENFIT (provides storage for diagnostic information)
double getCharge() const
Get the fitted charge.
const TMatrixDSym & getCov() const
void Print(const Option_t *="") const
const Track * getTrack() const
TVectorD getState() const
StateOnPlane with additional covariance matrix.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
FitStatus * getFitStatus(const AbsTrackRep *rep=NULL) const
Get FitStatus for a AbsTrackRep. Per default, return FitStatus for cardinalRep.
void Print(const Option_t *="") const
AbsTrackRep * getCardinalRep() const
Get cardinal track representation.