31 std::cout <<
"genfit::StateOnPlane ";
32 std::cout <<
" state vector: ";
state_.Print();
34 std::cout <<
" defined in plane ";
sharedPlane_->Print();
37 std::cout <<
" 3D position: "; pos.Print();
38 std::cout <<
" 3D momentum: "; mom.Print();
46void StateOnPlane::Streamer(TBuffer &R__b)
53 if (R__b.IsReading()) {
54 Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) { }
60 R__b.CheckByteCount(R__s, R__c, thisClass::IsA());
62 R__c = R__b.WriteVersion(thisClass::IsA(), kTRUE);
66 R__b.SetByteCount(R__c, kTRUE);
virtual void getPosMom(const StateOnPlane &state, TVector3 &pos, TVector3 &mom) const =0
Get cartesian position and momentum vector of a state.
A state with arbitrary dimension defined in a DetPlane.
virtual void Print(Option_t *option="") const
SharedPlanePtr sharedPlane_
const AbsTrackRep * rep_
Shared ownership. '!' in order to silence ROOT, custom streamer writes and reads this.
const AbsTrackRep * getRep() const