#include "BrCombinedHit.h"
ClassImp(BrCombinedHit)
/////////////////////////////////////////////////////////////
//
// TBrCombinedHit is a BRAHMS data class for storing information for
// one detector TPC Digitized hit.
//
//////////////////////////////////////////////////////////////
BrCombinedHit::BrCombinedHit()
{
Int_t i;
fID = 0;
for(i=0;i<3;i++) fPos[i] = 0;
for(i=0;i<2;i++) fDpos[i] = 0.0;
fImod = 0;
fNhit = 0;
fStat = 0;
fType = 0;
fPlace = 0; //Test to see where it was created;
}
BrCombinedHit::~BrCombinedHit()
{
Int_t ijk = 0;//place to stop debugger
}
ostream& operator<< (ostream & os,BrCombinedHit *hitcmb)
{
Int_t idet = hitcmb->GetImod() / 100 - 1;
Int_t iview = hitcmb->GetImod() - (idet+1)*100;
os<<"idet,iplane = "<<idet<<","<<iview;
os<<" x,y,z= "<<hitcmb->GetPos()[0]<<","<<hitcmb->GetPos()[1]<<","<<
hitcmb->GetPos()[2];
os<<" Imode= "<<hitcmb->GetImod()<<", Stat= "<<hitcmb->GetStat();
os<<" Place set= "<<hitcmb->GetPlace();
os<<endl;
return os;
}
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.