class HMdcSegSim: public HMdcSeg

_HADES_CLASS_DESCRIPTION

  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.


Function Members (Methods)

public:
HMdcSegSim()
HMdcSegSim(const HMdcSegSim&)
virtual~HMdcSegSim()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Int_tcalcNTracks()
static TClass*Class()
virtual const char*TObject::ClassName() const
voidclear()
voidHMdcSeg::Clear()
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tHMdcCellGroup::getCell(Int_t layer, Int_t idx)
Float_tHMdcSeg::getChi2()
HSymMat&HMdcSeg::getCovariance()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
voidHMdcSeg::getErrPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4)
Float_tHMdcSeg::getErrPhi()
Float_tHMdcSeg::getErrR()
Float_tHMdcSeg::getErrTheta()
Float_tHMdcSeg::getErrZ()
Int_tHMdcSeg::getFlag()
Int_tHMdcSeg::getHitInd(Int_t i)
virtual const char*TObject::GetIconName() const
Int_tHMdcSeg::getIOSeg()
virtual const char*TObject::GetName() const
Int_tHMdcCellGroup::getNCells(Int_t layer)
Int_tHMdcCellGroup12::getNLayers()
Int_tHMdcCellGroup12::getNLayers(UInt_t mod)
UChar_tgetNTimes(Int_t n) const
Int_tgetNTracks() const
Int_tgetNumNoiseWires() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
voidHMdcSeg::getPar(Float_t& p1, Float_t& p2, Float_t& p3, Float_t& p4)
Float_tHMdcSeg::getPhi()
voidHMdcSeg::getPhi(Float_t& ph, Float_t& err)
Int_tHMdcSeg::getPol()
Float_tHMdcSeg::getR()
voidHMdcSeg::getR(Float_t& rl, Float_t& err)
Float_tHMdcSeg::getRprime()
Int_tHMdcSeg::getSec()
Int_tHMdcCellGroup::getSignId(Int_t layer, Int_t idx)
Int_tgetStatus() const
Int_tHMdcCellGroup12::getSumWires()
Int_tHMdcCellGroup12::getSumWires(UInt_t mod)
Float_tHMdcSeg::getTheta()
voidHMdcSeg::getTheta(Float_t& th, Float_t& err)
voidHMdcSeg::getThetaPhi(Float_t& th, Float_t& ert, Float_t& ph, Float_t& erp)
virtual const char*TObject::GetTitle() const
Int_tgetTrack(Int_t n) const
virtual UInt_tTObject::GetUniqueID() const
Float_tHMdcSeg::getZ()
voidHMdcSeg::getZ(Float_t& zl, Float_t& err)
Float_tHMdcSeg::getZprime()
voidHMdcSeg::getZR(Float_t& zl, Float_t& erz, Float_t& rl, Float_t& err)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HMdcSegSim&operator=(const HMdcSegSim&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidHMdcSeg::setChi2(const Float_t chl)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidHMdcSeg::setFlag(const Int_t fl)
voidHMdcSeg::setHitInd(Int_t i, Int_t idx)
voidHMdcSeg::setIOSeg(Int_t seg)
voidsetNTracks(Int_t nTr, const Int_t* listTr, const UChar_t* nTm)
voidsetNumNoiseWires(Int_t n)
static voidTObject::SetObjectStat(Bool_t stat)
voidHMdcSeg::setPar(const Float_t zl, const Float_t rl, const Float_t th, const Float_t ph)
voidHMdcSeg::setPar(const Float_t zl, const Float_t ezl, const Float_t rl, const Float_t erl, const Float_t th, const Float_t eth, const Float_t ph, const Float_t eph)
voidHMdcSeg::setPhi(const Float_t ph)
voidHMdcSeg::setPhi(const Float_t ph, const Float_t err)
voidHMdcSeg::setPol(Int_t pol)
voidHMdcSeg::setR(const Float_t rl)
voidHMdcSeg::setR(const Float_t rl, const Float_t err)
voidHMdcSeg::setRprime(const Float_t rpr)
voidHMdcSeg::setSec(Int_t sec)
voidHMdcCellGroup::setSignId(Int_t layer, Int_t cell, Int_t t1, Int_t t2 = 0, Int_t t3 = 0, Int_t t4 = 0)
voidsetStatus(Int_t f)
voidHMdcSeg::setTheta(const Float_t th)
voidHMdcSeg::setTheta(const Float_t th, const Float_t err)
voidHMdcSeg::setThetaPhi(const Float_t th, const Float_t ert, const Float_t ph, const Float_t erp)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidHMdcSeg::setZ(const Float_t zl)
voidHMdcSeg::setZ(const Float_t zl, const Float_t err)
voidHMdcSeg::setZprime(const Float_t zpr)
voidHMdcSeg::setZR(const Float_t zl, const Float_t erz, const Float_t rl, const Float_t err)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidHMdcCellGroup::initLookups()
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
static UChar_tHMdcCellGroup::cellPosLookUp[4][256]!
Float_tHMdcSeg::chi2chi square per degree of freedom
HSymMat4HMdcSeg::covcovariance matrix 4x4 in sector system
Int_tHMdcSeg::flaguser flag
UShort_tHMdcCellGroup12::iLayer[12]
UInt_tHMdcSeg::indindex for sector/inner-outer segment/hit index
Int_tlistTracks[5]list of tracks
static Bool_tHMdcCellGroup::lookUpsInitialized!
static UChar_tHMdcCellGroup::nCellsLookUp[256]!
UChar_tnTimes[5]number of times from each track
Short_tnTracksnumber of tracks in the list of tracks
UShort_t*HMdcCellGroup::pLayer!pointer to layer information.
Float_tHMdcSeg::phiazimuthal angle phi in sector coordinate sys. [radian]
Float_tHMdcSeg::rr coordinate in sector coordinate sys. [mm]
Float_tHMdcSeg::rPrimer coordinate wrt axis centered on target position
Int_tstatusstatus of seg. (e.g. 1 if ok)
Float_tHMdcSeg::thetapolar angle theta in sector coordinate sys. [radian]
Float_tHMdcSeg::zz cordinate in sector coordinate sys. [mm]
Float_tHMdcSeg::zPrimez cordinate wrt axis centered on target position

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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.
Int_t getTrack(Int_t n) const
UChar_t getNTimes(Int_t n) const
Int_t getNumNoiseWires(void)
HMdcSegSim(const HMdcSegSim& )
{clear();}
~HMdcSegSim(void)
{}
void setStatus(Int_t f)
{ status=f; }
Int_t getStatus(void)
{return status;}
Int_t getNTracks(void)
{return nTracks;}

Last change: Sat May 22 13:03:23 2010
Last generated: 2010-05-22 13:03

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.