#include <MdcxHits.h>
Public Member Functions | |
void | create (MdcDigiVec digiVec, float c0=0.0, float cresol=0.0180) |
void | create (MdcDigiVec digiVec, float c0=0.0, float cresol=0.0180) |
const HepAList< MdcxHit > & | GetMdcxHitList () |
const HepAList< MdcxHit > & | GetMdcxHitList () |
MdcxHits () | |
MdcxHits () | |
void | print (std::ostream &o, int pmax=10) const |
void | print (std::ostream &o, int pmax=10) const |
void | reset () |
void | reset () |
virtual | ~MdcxHits () |
virtual | ~MdcxHits () |
Private Member Functions | |
void | KillList () |
void | KillList () |
Private Attributes | |
int | m_debug |
bool | m_hitInUse [43][288] |
HepAList< MdcxHit > | mdcxHitList |
HepAList< MdcxHit > | mdcxHitList |
Static Private Attributes | |
double | timecut = -50.0 |
|
00035 : m_debug(0) { }
|
|
00053 { KillList(); }
|
|
|
|
|
|
|
|
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 }
|
|
00040 { return mdcxHitList; }
|
|
00040 { return mdcxHitList; }
|
|
00044 { HepAListDeleteAll(mdcxHitList); }
|
|
00044 { HepAListDeleteAll(mdcxHitList); }
|
|
|
|
00072 { 00073 int mcheck = pmax; 00074 if (mdcxHitList.length() < pmax) mcheck = mdcxHitList.length(); 00075 o << " First " << mcheck << " Main Drift Chamber Hits:" << endl; 00076 for(int i = 0; i < mcheck; i++) { 00077 mdcxHitList[i]->print(o, i); 00078 } 00079 }
|
|
|
|
00055 { 00056 HepAListDeleteAll(mdcxHitList); 00057 }
|
|
|
|
|
|
|
|
|
|
|