#include "BrTrackHit2D.h"

ClassImp(BrTrackHit2D)

/////////////////////////////////////////////////////////////
//
//
//////////////////////////////////////////////////////////////

  BrTrackHit2D::BrTrackHit2D()
{
for(Int_t i=0;i<3;i++) fPos[i] = 0.0;
fVec = 0;
fDpos = 0;
fDvec = 0;
fFlg = 0;
fStat = 0;
fNhit = 0;
fTrahit.Clear();
}

 BrTrackHit2D::BrTrackHit2D(BrTrackHit2D* tra2d)
{
SetPos(tra2d->GetPos());
SetVec(tra2d->GetVec());
SetDpos(tra2d->GetDpos());
SetDvec(tra2d->GetDvec());
SetNhit(tra2d->GetNhit());
SetFlg(tra2d->GetFlg());
SetStat(tra2d->GetStat());
for(Int_t i=0;i<tra2d->GetTrackHitEntries();i++) {
//???Need to check this out!!!!!!!!!!!!!!!!1
   AddTrackHit(tra2d->GetTrackHitAt(i));
   }
}


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.