38 return _theHits->size();
48 assert (_hitMap != 0);
50 _segUsageDict.
clear();
58 MdcHitCol::iterator
iter = _theHits->begin();
60 for (;
iter != _theHits->end();
iter++) {
62 _segUsageDict.
put(aHit, &(_segUsage[index]));
75return (*_theHits)[hitno];
86 for (
int ilayer = 0; ilayer < gm->
nLayer(); ilayer++) {
88 for (
int iwire=0; iwire < nwire;++iwire) {
90 if ( 0 ==
hitMap()->hitWire(ilayer, wireNext) ) {
108 if ( 0 !=
hitMap()->hitWire(ilayer, wirePrev)) {
111 theHit->
print(std::cout);
112 std::cout<<
" killed " << std::endl;
116 theHit->
print(std::cout);
117 std::cout<<
" ok " << std::endl;
ObjectVector< MdcHit > MdcHitCol
const MdcLayer * Layer(unsigned id) const
MdcHit * hitWire(int lay, int wire) const
void print(std::ostream &o) const
bool get(const K &theKey, V &theAnswer) const
void put(const K &, const V &)
bool skippingUsed() const
void poisonHits(const MdcDetector *gm, int debug=0)
const MdcHitDict & segUsage() const
const MdcHitMap * hitMap() const
void loadevent(MdcHitCol *col, MdcHitMap *hmap, double tbunch)
MdcSegData(bool skipUsedHit)
const MdcHit * hit(int hitno) const
int mdcWrapWire(int wireIn, int nCell)