ROOT logo
AliRoot » PHOS » AliPHOSTriggerParameters

class AliPHOSTriggerParameters: public TNamed

.                                                                          
class for PHOS Trigger Parameters
.                                                                          

Function Members (Methods)

public:
AliPHOSTriggerParameters()
AliPHOSTriggerParameters(const char* name)
AliPHOSTriggerParameters(const AliPHOSTriggerParameters&)
virtual~AliPHOSTriggerParameters()
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 voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) 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 voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
const UShort_t*GetTORMaskArray(Int_t mod, Int_t tor) const
const UShort_t*GetTORReadoutMask(Int_t mod, Int_t tor) const
UShort_tGetTRUMaskChannel(Int_t mod, Int_t TRURow, Int_t branch) const
UShort_tGetTRUPedestal(Int_t mod, Int_t TRURow, Int_t branch, Int_t xIdx, Int_t zIdx) const
Bool_tGetTRUReadoutOn(Int_t mod, Int_t TRURow, Int_t branch) const
Bool_tGetTRUSignalReadoutOn(Int_t mod, Int_t TRURow, Int_t branch) const
UShort_tGetTRUSignalTimeBinFrom(Int_t mod, Int_t TRURow, Int_t branch) const
UShort_tGetTRUSignalTimeBinTo(Int_t mod, Int_t TRURow, Int_t branch) const
UShort_tGetTRUThreshold(Int_t mod, Int_t TRURow, Int_t branch) const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::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)
AliPHOSTriggerParameters&operator=(const AliPHOSTriggerParameters&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(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)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
voidSetTORMaskArray(const UShort_t* ma, Int_t mod, Int_t tor)
voidSetTORReadoutMask(const UShort_t* rm, Int_t mod, Int_t tor)
voidSetTRUMaskChannel(UShort_t mask, Int_t mod, Int_t TRURow, Int_t branch)
voidSetTRUPedestal(UShort_t pedestal, Int_t mod, Int_t TRURow, Int_t branch, Int_t xIdx, Int_t zIdx)
voidSetTRUReadoutOn(Bool_t isOn, Int_t mod, Int_t TRURow, Int_t branch)
voidSetTRUSignalReadoutOn(Bool_t isOn, Int_t mod, Int_t TRURow, Int_t branch)
voidSetTRUSignalTimeBinFrom(UShort_t fromBin, Int_t mod, Int_t TRURow, Int_t branch)
voidSetTRUSignalTimeBinTo(UShort_t toBin, Int_t mod, Int_t TRURow, Int_t branch)
voidSetTRUThreshold(UShort_t threshold, Int_t mod, Int_t TRURow, Int_t branch)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
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 Int_tkDefaultNTRUTimeBinsNumber of timebins
static const UShort_tkIdealTRUPedestalIdeal TRU Pedestal
static const Int_tkNBranchesNumber of Branches
static const Int_tkNModsNumber of PHOS Modules
static const Int_tkNTORsNumber of TORs per Module
static const Int_tkNTRURowsNumber of TRU rows
static const Int_tkNTRUXNumber of 2x2 per TRU in x
static const Int_tkNTRUZNumber of 2x2 per TRU in z
protected:
TStringTNamed::fNameobject identifier
UShort_tfTORMaskArray[5][2][3]TOR Mask Array
UShort_tfTORReadoutMask[5][2][2]TOR Readout Mask
UShort_tfTRUMaskChannel[5][4][2]TRU Mask Channel
UShort_tfTRUPedestals[5][4][2][8][14]TRU Pedestals
Bool_tfTRUSignalReadoutOn[5][4][2]TRU Signal Readout is on
UChar_tfTRUSignalTimeBinFrom[5][4][2]TRU from (including) timebin
UChar_tfTRUSignalTimeBinTo[5][4][2]TRU to (including) timebin
UShort_tfTRUThreshold[5][4][2]TRU Threshold
Bool_tfTRUTriggerBitReadoutOn[5][4][2]TRU TriggerBit Readout is on
TStringTNamed::fTitleobject title

Class Charts

Inheritance Chart:
TNamed
AliPHOSTriggerParameters

Function documentation

AliPHOSTriggerParameters()
 default constructor. Initialises with Reset().
AliPHOSTriggerParameters(const char* name)
 Specific constructor, passes name to TNamed base. Initialises with Reset().
AliPHOSTriggerParameters(const AliPHOSTriggerParameters& )
 copy constructor
AliPHOSTriggerParameters& operator=(const AliPHOSTriggerParameters& )
 assignement
~AliPHOSTriggerParameters()
 destructor
UShort_t GetTRUPedestal(Int_t mod, Int_t TRURow, Int_t branch, Int_t xIdx, Int_t zIdx) const
 Returns the pedestals of the TRU FakeALTRO Trigger signal, is in the range
 spanned by 10 bits, i.e. [0,1023]. Ideal value is is given by.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
 xIdx: [0,7], TRU 2x2 cell x index, indexed in rising number in PHOS x direction
 zIdx: [0,13], TRU 2x2 cell z index, indexed in rising number in PHOS z direction
Bool_t GetTRUReadoutOn(Int_t mod, Int_t TRURow, Int_t branch) const
 Returns the TRU specific flag that specifies for the TRU whether
 or not it should be read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
Bool_t GetTRUSignalReadoutOn(Int_t mod, Int_t TRURow, Int_t branch) const
 Returns the TRU specific flag that specifies for the TRU whether
 or not it readout should include full  FakeALTRO Trigger Signal.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
UShort_t GetTRUSignalTimeBinFrom(Int_t mod, Int_t TRURow, Int_t branch) const
 Returns the TRU specific value that specifies from (including),
 which timebin TRU should read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
UShort_t GetTRUSignalTimeBinTo(Int_t mod, Int_t TRURow, Int_t branch) const
 Returns the TRU specific value that specifies to (including),
 which timebin TRU should read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
UShort_t GetTRUThreshold(Int_t mod, Int_t TRURow, Int_t branch) const
 Returns the TRU specific value that specifies the trigger threshold,
 the 4x4 Sliding Window (signal - pedestal) value to which the tru
 sends a L0.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
UShort_t GetTRUMaskChannel(Int_t mod, Int_t TRURow, Int_t branch) const
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
const UShort_t* GetTORMaskArray(Int_t mod, Int_t tor) const
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 tor: [0,1], TOR index, rising in PHOS x direction

 returns a array of UShort_t of size 3.
const UShort_t* GetTORReadoutMask(Int_t mod, Int_t tor) const
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 tor: [0,1], TOR index, rising in PHOS x direction

 returns a array of UShort_t of size 2.
void SetTRUPedestal(UShort_t pedestal, Int_t mod, Int_t TRURow, Int_t branch, Int_t xIdx, Int_t zIdx)
 Returns the pedestals of the TRU FakeALTRO Trigger signal,
 is in the range spanned by 10 bits
 , i.e. [0,1023]. Ideal value is is given by.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
 xIdx: [0,7], TRU 2x2 cell x index, indexed in rising number in PHOS x direction
 zIdx: [0,7], TRU 2x2 cell z index, indexed in rising number in PHOS z direction
void SetTRUReadoutOn(Bool_t isOn, Int_t mod, Int_t TRURow, Int_t branch)
 Returns the TRU specific flag that specifies for the TRU
 whether or not it should be read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTRUSignalReadoutOn(Bool_t isOn, Int_t mod, Int_t TRURow, Int_t branch)
 Returns the TRU specific flag that specifies for the TRU whether or not it
 readout should include full FakeALTRO Trigger Signal.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTRUSignalTimeBinFrom(UShort_t fromBin, Int_t mod, Int_t TRURow, Int_t branch)
 Returns the TRU specific value that specifies from (including),
 which timebin TRU should read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTRUSignalTimeBinTo(UShort_t toBin, Int_t mod, Int_t TRURow, Int_t branch)
 Returns the TRU specific value that specifies to (including),
 which timebin TRU should read out.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTRUThreshold(UShort_t threshold, Int_t mod, Int_t TRURow, Int_t branch)
 Returns the TRU specific value that specifies the trigger threshold,
 the (signal - pedestal) value to which the tru sends a L0.

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTRUMaskChannel(UShort_t mask, Int_t mod, Int_t TRURow, Int_t branch)
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 TRURow: [0,3], TRU Row, indexed in rising number in PHOS x direction
 branch: [0,1], branch, indexed in rising number in z direction
void SetTORMaskArray(const UShort_t* ma, Int_t mod, Int_t tor)
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 tor: [0,1], TOR index, rising in PHOS x direction
void SetTORReadoutMask(const UShort_t* rm, Int_t mod, Int_t tor)
 TODO: description

 mod: [0,4], module index, clockwise, as of 2011 only 2:4 exists
 tor: [0,1], TOR index, rising in PHOS x direction
void Print(Option_t* option = "") const
 Will Write uppon request (Henrik Qvigstad <henrik.qvigstad@cern.ch>)
void Reset()
 Resets the values to Null/Ideal