ROOT logo
AliRoot » TRD » AliTRDgtuParam

class AliTRDgtuParam: public TObject


Parameters for GTU simulation

Author: J. Klein (Jochen.Klein@cern.ch)


Function Members (Methods)

public:
virtual~AliTRDgtuParam()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
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
Bool_tDisplayZChannelMap(Int_t zchannel = -1, Int_t subch = 0) const
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
Bool_tGenerateRecoCoefficients(Int_t trackletMask)
Int_tGenerateZChannelMap()
Int_tGetAki(Int_t k, Int_t i)
static Float_tGetBinWidthdY()
static Float_tGetBinWidthY()
static Int_tGetBitExcessAlpha()
static Int_tGetBitExcessY()
static Int_tGetBitExcessYProj()
static Int_tGetBitWidthdY()
static Int_tGetBitWidthY()
static Int_tGetBitWidthYProj()
Float_tGetBki(Int_t k, Int_t i)
static Float_tGetChamberThickness()
Int_tGetCiAlpha(Int_t layer) const
Int_tGetCiYProj(Int_t layer) const
Float_tGetCki(Int_t k, Int_t i)
Int_tGetDeltaAlpha() const
Int_tGetDeltaY() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
AliTRDgeometry*GetGeo() const
virtual const char*TObject::GetIconName() const
Float_tGetInnerPadLength(Int_t stack, Int_t layer) const
Bool_tGetIntersectionPoints(Int_t k, Float_t& x1, Float_t& x2)
static Bool_tGetLimitNoTracklets()
Float_tGetMagField() const
static Int_tGetMaxNoTracklets()
virtual const char*TObject::GetName() const
static Int_tGetNLayers()
static Int_tGetNLinks()
static Int_tGetNRefLayers()
static Int_tGetNZChannels()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tGetOuterPadLength(Int_t stack, Int_t layer) const
static Int_tGetPt(Int_t layerMask, Int_t a, Float_t b, Float_t x1, Float_t x2, Float_t magField)
static Int_tGetRefLayer(Int_t refLayerIdx)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static Bool_tGetUseGTUconst()
static Bool_tGetUseGTUmerge()
Float_tGetVertexSize() const
Int_tGetYt(Int_t stack, Int_t layer, Int_t zrow) const
Float_tGetZrow(Int_t stack, Int_t layer, Int_t padrow) const
Int_tGetZSubchannel(Int_t stack, Int_t layer, Int_t zchannel, Int_t zpos) const
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
static AliTRDgtuParam*Instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsInZChannel(Int_t stack, Int_t layer, Int_t zchannel, Int_t zpos) 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()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
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)
static voidSetDeltaAlpha(Int_t da)
static voidSetDeltaY(Int_t dy)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidSetLimitNoTracklets(Bool_t b)
voidSetMagField(Float_t field)
static voidSetMaxNoTracklets(Int_t max)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
static voidSetUseGTUconst(Bool_t b)
static voidSetUseGTUmerge(Bool_t b)
voidSetVertexSize(Float_t vertexsize)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
voidTObject::MakeZombie()

Data Members

public:
static const Float_tfgkBinWidthYbin width for y-position
static const Float_tfgkBinWidthdYbin width for deflection length
static const Int_tfgkBitExcessAlphaexcess bits for alpha
static const Int_tfgkBitExcessYexcess bits for y-position
static const Int_tfgkBitExcessYProjexcess bits for projected y-position
static const Int_tfgkBitWidthYbit width for y-position
static const Int_tfgkBitWidthYProjbit width for projected y-position
static const Int_tfgkBitWidthdYbit width for deflection length
static const Int_tfgkFixLayerwhich layer is fixed for the generation of the z-channel map
static const Int_tfgkNLinksNo. of links
static const Int_tfgkNRefLayersno. of reference layers
static const Int_tfgkNZChannelsNo. of z-channels
static const Int_tfgkPtInfinityinfinite pt as obtained when a == 0
protected:
Float_tfAki[6]coefficients used for the fit, calculated for the current tracklet mask
Float_tfBki[6]coefficients used for the fit, calculated for the current tracklet mask
Float_tfCki[6]coefficients used for the fit, calculated for the current tracklet mask
Int_tfCurrTrackletMaskcurrent tracklet mask for which the coefficients have been calculated
AliTRDgeometry*fGeo! pointer to the TRD geometry
Float_tfMagFieldmagnetic field in T
Float_tfVertexSizeassumed vertex size (z-dir.) for the z-channel map
Int_tfZChannelMap[5][16][6][16]must be changed
Int_tfZSubChannel[5][3][6][16]must be changed
static Int_tfgDeltaAlphaaccepted deviation in alpha, default: 11
static Int_tfgDeltaYaccepted deviation in y_proj, default: 9
static Bool_tfgLimitNoTrackletslimit the number of tracklets per layer
static Int_tfgMaxNoTrackletsmax number of tracklets per layer if limited
static Int_tfgRefLayers[3]reference layers for track finding
static Bool_tfgUseGTUconstuse constants as in the GTU for the calculations
static Bool_tfgUseGTUmergeuse merge algorithm exactly as in hardware
static const Bool_tfgZChannelMap[5][16][6][16]z-channel tables as in GTU
static const Float_tfgkAcoeff[32][6]geometry constant from GTU implementation
static const Float_tfgkInnerPadLength[6]geometry constant from GTU implementation
static const Int_tfgkMaskID[64]geometry constant from GTU implementation
static const Float_tfgkOuterPadLength[6]geometry constant from GTU implementation
static const Float_tfgkRadius[6]layer radius as used in the GTU code
static const Float_tfgkRow0Pos[6][5]geometry constant from GTU implementation
static const Float_tfgkThicknessdrift length as used in the GTU code

Class Charts

Inheritance Chart:
TObject
AliTRDgtuParam

Function documentation

AliTRDgtuParam()
 default ctor
~AliTRDgtuParam()
 dtor
AliTRDgtuParam* Instance()
 get (or create) the single instance
Bool_t IsInZChannel(Int_t stack, Int_t layer, Int_t zchannel, Int_t zpos) const
Int_t GetZSubchannel(Int_t stack, Int_t layer, Int_t zchannel, Int_t zpos) const
Int_t GetRefLayer(Int_t refLayerIdx)
 returns the reference layer indexed by refLayerIdx
Int_t GenerateZChannelMap()
 generate the z-channel map
 assuming that the tracks come from the vertex
 +/- fVertexSize in z-direction
Bool_t DisplayZChannelMap(Int_t zchannel = -1, Int_t subch = 0) const
 display the z-channel map
Int_t GetCiAlpha(Int_t layer) const
 get the constant for the calculation of alpha
Int_t GetCiYProj(Int_t layer) const
 get the constant for the calculation of y_proj
Int_t GetYt(Int_t stack, Int_t layer, Int_t zrow) const
 return yt for the calculation of y'
Bool_t GenerateRecoCoefficients(Int_t trackletMask)
 calculate the coefficients for the straight line fit
 depending on the mask of contributing tracklets
Int_t GetAki(Int_t k, Int_t i)
 get A_ki for the calculation of the tracking parameters
Float_t GetBki(Int_t k, Int_t i)
 get B_ki for the calculation of the tracking parameters
Float_t GetCki(Int_t k, Int_t i)
 get B_ki for the calculation of the tracking parameters
Bool_t GetIntersectionPoints(Int_t k, Float_t& x1, Float_t& x2)
 get the x-coord. of the assumed circle/straight line intersection points
Int_t GetPt(Int_t layerMask, Int_t a, Float_t b, Float_t x1, Float_t x2, Float_t magField)
 returns 0.3 * B * 1/a (1/128 GeV/c)
 a : offset, b : slope (not used)
Int_t GetNLinks()
{ return fgkNLinks; }
Int_t GetNLayers()
{ return fgkNLinks/2; }
Int_t GetNZChannels()
{ return fgkNZChannels; }
Int_t GetNRefLayers()
{ return fgkNRefLayers; }
Float_t GetChamberThickness()
{ return 3.0; }
Float_t GetBinWidthY()
 ----- Bin widths (granularity) -----
{ return fgkBinWidthY; }
Float_t GetBinWidthdY()
{ return fgkBinWidthdY; }
Int_t GetBitWidthY()
 ----- Bit Widths (used for internal representation) -----
{ return fgkBitWidthY; }
Int_t GetBitWidthdY()
{ return fgkBitWidthdY; }
Int_t GetBitWidthYProj()
{ return fgkBitWidthYProj; }
Int_t GetBitExcessY()
{ return fgkBitExcessY; }
Int_t GetBitExcessAlpha()
{ return fgkBitExcessAlpha; }
Int_t GetBitExcessYProj()
{ return fgkBitExcessYProj; }
Float_t GetInnerPadLength(Int_t stack, Int_t layer) const
Float_t GetOuterPadLength(Int_t stack, Int_t layer) const
Float_t GetZrow(Int_t stack, Int_t layer, Int_t padrow) const
AliTRDgeometry* GetGeo() const
{ return fGeo; }
Float_t GetVertexSize() const
{ return fVertexSize; }
Int_t GetDeltaY() const
{ return fgDeltaY; }
Int_t GetDeltaAlpha() const
{ return fgDeltaAlpha; }
void SetVertexSize(Float_t vertexsize)
{ fVertexSize = vertexsize; }
void SetDeltaY(Int_t dy)
{ fgDeltaY = dy; }
void SetDeltaAlpha(Int_t da)
{ fgDeltaAlpha = da; }
void SetUseGTUconst(Bool_t b)
{ fgUseGTUconst = b; }
Bool_t GetUseGTUconst()
{ return fgUseGTUconst; }
void SetUseGTUmerge(Bool_t b)
{ fgUseGTUmerge = b; }
Bool_t GetUseGTUmerge()
{ return fgUseGTUmerge; }
void SetLimitNoTracklets(Bool_t b)
Bool_t GetLimitNoTracklets()
{ return fgLimitNoTracklets; }
void SetMaxNoTracklets(Int_t max)
{ fgMaxNoTracklets = max; }
Int_t GetMaxNoTracklets()
{ return fgMaxNoTracklets; }
void SetMagField(Float_t field)
  Float_t GetD(Int_t k) const;
 B-field
{ fMagField = field; }
Float_t GetMagField() const
{ return fMagField; }
AliTRDgtuParam()
AliTRDgtuParam& operator=(const AliTRDgtuParam& rhs)