HMdcSegSim
class description - source file - inheritance tree (.pdf)
public:
HMdcSegSim()
HMdcSegSim(const HMdcSegSim&)
~HMdcSegSim()
Int_t calcNTracks()
static TClass* Class()
void clear()
UChar_t getNTimes(Int_t n) const
Int_t getNTracks() const
Int_t getNumNoiseWires() const
Int_t getStatus() const
Int_t getTrack(Int_t n) const
virtual TClass* IsA() const
HMdcSegSim& operator=(const HMdcSegSim&)
void print()
void setNTracks(Int_t nTr, const Int_t* listTr, const UChar_t* nTm)
void setNumNoiseWires(Int_t n)
void setStatus(Int_t f)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Short_t nTracks number of tracks in the list of tracks
Int_t listTracks[5] list of tracks
UChar_t nTimes[5] number of times from each track
Int_t status status of seg. (e.g. 1 if ok)
HMdcSegSim
This class is derived from HMdcSeg for simulated events.
Additional data elements are following:
nTracks - the number of tracks in the list of tracks numbers
listTracks[5] - the list of tracks numbers (GEANT)
nTimes[5] - num. of drift times from each track in this segment hit
(not cells because one cell can have 2 drift times from 2 tracks)
Number of noise wires is kept in nTimes[4] and
if nTimes[4]>0 listTracks[4]=-99
This information can be accessed via the functions:
Int_t getNTracks(void)
Int_t getTrack(const Int_t n) 0 <= n < getNTracks()
UChar_t getNTimes(const Int_t n)
Int_t getNumNoiseWires(void)
The list of tracks is sorted. listTracks[0] is a track which have
most number of drift times and etc.
The list of tracks is calculated after filling of HMdcSeg container
via function Int_t calcNTracks(void) which return nTracks.
void clear()
reset data members to default values
void setNumNoiseWires(Int_t n)
setting number of noise wires
void setNTracks(Int_t nTr, const Int_t* listTr,const UChar_t* nTm)
copies nTr track numbers from array listTr to
internal list of tracks array.
Int_t calcNTracks(void)
calculate number of tracks which
contribute to the segment and fills the
list of tracks array. Needs the
event structure and Cal1Sim category
to deliver results.
void print(void)
prints the information about wires (number of wires,
track numbers and how often a track has been contributing
to the the segment) in segment to the screen.
Inline Functions
void ~HMdcSegSim()
HMdcSegSim HMdcSegSim()
void setStatus(Int_t f)
Int_t getStatus() const
Int_t getNTracks() const
Int_t getTrack(Int_t n) const
UChar_t getNTimes(Int_t n) const
Int_t getNumNoiseWires() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcSegSim HMdcSegSim(const HMdcSegSim&)
HMdcSegSim& operator=(const HMdcSegSim&)
Last update: 31.05.2001 by Vladimir Pechenov
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.