#include #include #include #include #include #include #include "IReconTrack.hxx" #include "IReconTrackCand.hxx" #include "IReconNode.hxx" #include "IReconBase.hxx" #include "IHit.hxx" #include "IHitSelection.hxx" #include "ICOMETLog.hxx" #include "HEPUnits.hxx" ClassImp(COMET::IReconTrackCand); COMET::IReconTrackCand::IReconTrackCand() { fState = new ITrackState; fNodes = new IReconNodeContainerImpl; } COMET::IReconTrackCand::IReconTrackCand(const COMET::IReconTrackCand& trackcand) : COMET::IReconTrack(trackcand) { } COMET::IReconTrackCand::~IReconTrackCand() {} COMET::IHandle COMET::IReconTrackCand::GetHitAt(int i) const { const COMET::IHandle& hits = GetHits(); return hits->at(i); } TVectorD COMET::IReconTrackCand::GetSeedState() const { return TVectorD(6); } TMatrixDSym COMET::IReconTrackCand::GetSeedCovariance() const { return TMatrixDSym(6); } void COMET::IReconTrackCand::ls(Option_t *opt) const { COMET::IReconBase::ls_base(opt); TROOT::IncreaseDirLevel(); TROOT::IndentLevel(); if (fState) { TROOT::IncreaseDirLevel(); fState->ls(opt); TROOT::DecreaseDirLevel(); } if (fNodes) { TROOT::IncreaseDirLevel(); fNodes->ls(opt); TROOT::DecreaseDirLevel(); } TROOT::IncreaseDirLevel(); for (const_iterator v = begin(); v != end(); ++v) { (*v)->ls(opt); }; TROOT::DecreaseDirLevel(); TROOT::DecreaseDirLevel(); }