20 #include "MeasurementOnPlane.h"
31 weight_(other.weight_)
33 hMatrix_.reset(other.hMatrix_->clone());
44 MeasuredStateOnPlane::swap(other);
45 this->hMatrix_.swap(other.hMatrix_);
46 std::swap(this->weight_, other.weight_);
50 void MeasurementOnPlane::Print(Option_t*)
const
52 printOut <<
"genfit::MeasurementOnPlane, weight = " << weight_ <<
"\n";
53 printOut <<
" state vector: "; state_.Print();
54 printOut <<
" covariance matrix: "; cov_.Print();
55 if (sharedPlane_ !=
nullptr) {
57 sharedPlane_->Print();
59 printOut <<
" hMatrix: "; hMatrix_->Print();
64 void MeasurementOnPlane::Streamer(TBuffer &R__b)
69 typedef ::genfit::MeasurementOnPlane thisClass;
71 if (R__b.IsReading()) {
72 Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) { }
73 MeasuredStateOnPlane::Streamer(R__b);
83 R__b.CheckByteCount(R__s, R__c, thisClass::IsA());
85 R__c = R__b.WriteVersion(thisClass::IsA(), kTRUE);
86 MeasuredStateOnPlane::Streamer(R__b);
89 R__b << hMatrix_.get();
94 R__b.SetByteCount(R__c, kTRUE);
#StateOnPlane with additional covariance matrix.
Measured coordinates on a plane.
MeasurementOnPlane & operator=(MeasurementOnPlane other)
assignment operator
Defines for I/O streams used for error and debug printing.
std::ostream printOut
Default stream for output of Print calls.