BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxHits Class Reference

#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
 
 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
 

Detailed Description

Constructor & Destructor Documentation

◆ MdcxHits() [1/2]

MdcxHits::MdcxHits ( )

Definition at line 35 of file MdcxHits.cxx.

35: m_debug(0) { }

◆ ~MdcxHits() [1/2]

MdcxHits::~MdcxHits ( )
virtual

Definition at line 53 of file MdcxHits.cxx.

53{ KillList(); }

◆ MdcxHits() [2/2]

MdcxHits::MdcxHits ( )

◆ ~MdcxHits() [2/2]

virtual MdcxHits::~MdcxHits ( )
virtual

Member Function Documentation

◆ create() [1/2]

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

Definition at line 59 of file MdcxHits.cxx.

59 {
60 MdcDigiVec::iterator iter = mdcDigiVec.begin();
61 for (; iter != mdcDigiVec.end(); iter++ ) {
62 const MdcDigi* aDigi = *iter;
63 MdcxHit* temp = new MdcxHit(aDigi, c0, cresol);
64 //const Identifier id= aDigi->identify();
65 //int layer = MdcID::layer(id);
66 //int wire = MdcID::wire(id);
67 //std::cout<< " ("<<layer<<","<<wire<<") "<<aDigi->getTimeChannel()<<" "<<aDigi->getChargeChannel() << std::endl;//yzhang debug
68 mdcxHitList.append(temp);
69 }
70}
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)

Referenced by MdcxTrackFinder::execute().

◆ create() [2/2]

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

◆ GetMdcxHitList() [1/2]

const HepAList< MdcxHit > & MdcxHits::GetMdcxHitList ( )
inline

Definition at line 40 of file InstallArea/include/MdcxReco/MdcxReco/MdcxHits.h.

40{ return mdcxHitList; }

Referenced by MdcxTrackFinder::execute().

◆ GetMdcxHitList() [2/2]

const HepAList< MdcxHit > & MdcxHits::GetMdcxHitList ( )
inline

Definition at line 40 of file Reconstruction/MdcPatRec/MdcxReco/MdcxReco-00-01-59/MdcxReco/MdcxHits.h.

40{ return mdcxHitList; }

◆ print() [1/2]

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

◆ print() [2/2]

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

◆ reset() [1/2]

void MdcxHits::reset ( )

Definition at line 55 of file MdcxHits.cxx.

55 {
56 HepAListDeleteAll(mdcxHitList);
57}

Referenced by MdcxTrackFinder::execute().

◆ reset() [2/2]

void MdcxHits::reset ( )

The documentation for this class was generated from the following files: