ROOT logo
AliRoot » TRD » AliTRDarraySignal

class AliTRDarraySignal: public TObject


Container Class for Signals

Author:
Hermes Leon Vargas (hleon@ikf.uni-frankfurt.de)


Function Members (Methods)

public:
AliTRDarraySignal()
AliTRDarraySignal(const AliTRDarraySignal& d)
AliTRDarraySignal(Int_t nrow, Int_t ncol, Int_t ntime)
virtual~AliTRDarraySignal()
voidTObject::AbstractMethod(const char* method) const
voidAllocate(Int_t nrow, Int_t ncol, Int_t ntime)
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
voidCompress(Float_t minval)
virtual voidTObject::Copy(TObject& object) const
static voidCreateLut()
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)
voidExpand()
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
Float_tGetData(Int_t nrow, Int_t ncol, Int_t ntime) const
Float_tGetDataByAdcCol(Int_t row, Int_t col, Int_t time) const
Int_tGetDim() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
Int_tGetNcol() const
Int_tGetNdet() const
Int_tGetNrow() const
Int_tGetNtime() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetOverThreshold(Float_t threshold) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tHasData() const
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()
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)
AliTRDarraySignal&operator=(const AliTRDarraySignal& d)
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)
voidReset()
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)
voidSetData(Int_t nrow, Int_t ncol, Int_t ntime, Float_t value)
voidSetDataByAdcCol(Int_t row, Int_t col, Int_t time, Float_t value)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetNdet(Int_t ndet)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
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

protected:
Int_tfNcolNumber of columns of the chamber
Int_tfNdetID number of the chamber
Int_tfNdimDimension of the array
Int_tfNrowNumber of rows of the chamber
Int_tfNtimeNumber of time bins
Int_tfNumberOfChannelsNumber of MCM channels per row
Float_t*fSignal[fNdim] //Pointer to signals
static Short_t*fgLutPadNumbering[fNcol] Look Up Table

Class Charts

Inheritance Chart:
TObject
AliTRDarraySignal

Function documentation

AliTRDarraySignal()
AliTRDarraySignal(Int_t nrow, Int_t ncol, Int_t ntime)
 AliTRDarraySignal constructor

AliTRDarraySignal(const AliTRDarraySignal& d)
 AliTRDarraySignal copy constructor

~AliTRDarraySignal()
 AliTRDarraySignal destructor

AliTRDarraySignal & operator=(const AliTRDarraySignal& d)
 Assignment operator

void Allocate(Int_t nrow, Int_t ncol, Int_t ntime)
 Allocates memory for an AliTRDarraySignal object with dimensions
 Row*NumberOfNecessaryMCMs*ADCchannelsInMCM*Time
 To be consistent with AliTRDarrayADC

Int_t GetOverThreshold(Float_t threshold) const
 Get the number of entries over the threshold

void Compress(Float_t minval)
 Compress the array, setting values equal or
 below minval to zero (minval>=0)

void Expand()
 Expand the array

void Reset()
 Reset the array, the old contents are deleted
 The array keeps the same dimensions as before

Float_t GetData(Int_t nrow, Int_t ncol, Int_t ntime) const
 Get the data using the pad numbering.
 To access data using the mcm scheme use instead
 the method GetDataByAdcCol

void SetData(Int_t nrow, Int_t ncol, Int_t ntime, Float_t value)
 Set the data using the pad numbering.
 To write data using the mcm scheme use instead
 the method SetDataByAdcCol

void CreateLut()
 Initializes the Look Up Table to relate
 pad numbering and mcm channel numbering

void SetNdet(Int_t ndet)
{fNdet=ndet;}
Int_t GetNdet() const
{return fNdet;}
Int_t GetNrow() const
{return fNrow;}
Int_t GetNcol() const
{return fNcol;}
Int_t GetNtime() const
{return fNtime;}
Float_t GetDataByAdcCol(Int_t row, Int_t col, Int_t time) const
{return fSignal[(row*fNumberOfChannels+col)*fNtime+time];}
void SetDataByAdcCol(Int_t row, Int_t col, Int_t time, Float_t value)
{fSignal[(row*fNumberOfChannels+col)*fNtime+time]=value;}
Bool_t HasData() const
{return fNtime ? 1 : 0;}
Int_t GetDim() const
{return fNdim;}