MdcxHits Class Reference

#include <MdcxHits.h>

List of all members.

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< MdcxHitmdcxHitList
int m_debug
bool m_hitInUse [43][288]

Static Private Attributes

static double timecut = -50.0


Detailed Description

Definition at line 33 of file MdcxHits.h.


Constructor & Destructor Documentation

MdcxHits::MdcxHits (  ) 

Definition at line 35 of file MdcxHits.cxx.

00035 : m_debug(0) { }

MdcxHits::~MdcxHits (  )  [virtual]

Definition at line 53 of file MdcxHits.cxx.

References KillList().

00053 { KillList(); }


Member Function Documentation

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 }


Member Data Documentation

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.


Generated on Tue Nov 29 23:20:21 2016 for BOSS_7.0.2 by  doxygen 1.4.7