#include <MdcxHits.h>
Public Member Functions | |
MdcxHits () | |
virtual | ~MdcxHits () |
void | reset () |
void | create (MdcDigiVec digiVec, float c0=0.0, float cresol=0.0180) |
const HepAList< MdcxHit > & | GetMdcxHitList () |
void | print (std::ostream &o, int pmax=10) const |
Private Member Functions | |
void | KillList () |
Private Attributes | |
HepAList< MdcxHit > | mdcxHitList |
int | m_debug |
bool | m_hitInUse [43][288] |
Static Private Attributes | |
static double | timecut = -50.0 |
Definition at line 33 of file MdcxHits.h.
MdcxHits::MdcxHits | ( | ) |
MdcxHits::~MdcxHits | ( | ) | [virtual] |
void MdcxHits::create | ( | MdcDigiVec | digiVec, | |
float | c0 = 0.0 , |
|||
float | cresol = 0.0180 | |||
) |
Definition at line 59 of file MdcxHits.cxx.
References iter(), mdcxHitList, and subSeperate::temp.
Referenced by MdcxTrackFinder::execute().
00059 { 00060 MdcDigiVec::iterator iter = mdcDigiVec.begin(); 00061 for (; iter != mdcDigiVec.end(); iter++ ) { 00062 const MdcDigi* aDigi = *iter; 00063 MdcxHit* temp = new MdcxHit(aDigi, c0, cresol); 00064 //const Identifier id= aDigi->identify(); 00065 //int layer = MdcID::layer(id); 00066 //int wire = MdcID::wire(id); 00067 //std::cout<< " ("<<layer<<","<<wire<<") "<<aDigi->getTimeChannel()<<" "<<aDigi->getChargeChannel() << std::endl;//yzhang debug 00068 mdcxHitList.append(temp); 00069 } 00070 }
const HepAList<MdcxHit>& MdcxHits::GetMdcxHitList | ( | ) | [inline] |
Definition at line 40 of file MdcxHits.h.
References mdcxHitList.
Referenced by MdcxTrackFinder::execute().
00040 { return mdcxHitList; }
void MdcxHits::KillList | ( | ) | [inline, private] |
Definition at line 44 of file MdcxHits.h.
References mdcxHitList.
Referenced by ~MdcxHits().
00044 { HepAListDeleteAll(mdcxHitList); }
void MdcxHits::print | ( | std::ostream & | o, | |
int | pmax = 10 | |||
) | const |
void MdcxHits::reset | ( | ) |
Definition at line 55 of file MdcxHits.cxx.
References mdcxHitList.
Referenced by MdcxTrackFinder::execute().
00055 { 00056 HepAListDeleteAll(mdcxHitList); 00057 }
int MdcxHits::m_debug [private] |
Definition at line 46 of file MdcxHits.h.
bool MdcxHits::m_hitInUse[43][288] [private] |
Definition at line 47 of file MdcxHits.h.
HepAList<MdcxHit> MdcxHits::mdcxHitList [private] |
Definition at line 43 of file MdcxHits.h.
Referenced by create(), GetMdcxHitList(), KillList(), and reset().
double MdcxHits::timecut = -50.0 [static, private] |
Definition at line 45 of file MdcxHits.h.