Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MdcxHits Class Reference

#include <MdcxHits.h>

List of all members.

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< MdcxHitmdcxHitList
HepAList< MdcxHitmdcxHitList

Static Private Attributes

double timecut = -50.0


Constructor & Destructor Documentation

MdcxHits::MdcxHits  ) 
 

00035 : m_debug(0) { }

MdcxHits::~MdcxHits  )  [virtual]
 

00053 { KillList(); }

MdcxHits::MdcxHits  ) 
 

virtual MdcxHits::~MdcxHits  )  [virtual]
 


Member Function Documentation

void MdcxHits::create MdcDigiVec  digiVec,
float  c0 = 0.0,
float  cresol = 0.0180
 

void MdcxHits::create MdcDigiVec  digiVec,
float  c0 = 0.0,
float  cresol = 0.0180
 

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]
 

00040 { return mdcxHitList; }

const HepAList<MdcxHit>& MdcxHits::GetMdcxHitList  )  [inline]
 

00040 { return mdcxHitList; }

void MdcxHits::KillList  )  [inline, private]
 

00044 { HepAListDeleteAll(mdcxHitList); }

void MdcxHits::KillList  )  [inline, private]
 

00044 { HepAListDeleteAll(mdcxHitList); }

void MdcxHits::print std::ostream o,
int  pmax = 10
const
 

void MdcxHits::print std::ostream o,
int  pmax = 10
const
 

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 }

void MdcxHits::reset  ) 
 

void MdcxHits::reset  ) 
 

00055                      {
00056   HepAListDeleteAll(mdcxHitList);
00057 }


Member Data Documentation

int MdcxHits::m_debug [private]
 

bool MdcxHits::m_hitInUse [private]
 

HepAList<MdcxHit> MdcxHits::mdcxHitList [private]
 

HepAList<MdcxHit> MdcxHits::mdcxHitList [private]
 

double MdcxHits::timecut = -50.0 [static, private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:30:51 2011 for BOSS6.5.5 by  doxygen 1.3.9.1