ROOT logo
AliRoot » EVE » EVEDET » AliEveTPCData

class AliEveTPCData: public TObject, public TEveRefCnt


 A central manager for TPC data of an event.  Can read digits (from
 a tree: LoadDigits()) and raw-data (via AliRawReader: LoadRaw()).

 The sector data is stored in 36 AliEveTPCSectorData objects.
 Sectors 0 - 17: +z side, 18 - 35: -z side.
 No separation of inner/outer segments, use row numbers for addressing.

 Threshold application and pedestal subtraction can be performed at
 load time: use SetLoadThreshold(thresh) and SetLoadPedestal(ped).

 For raw-data (loaded using LoadRaw) pedestals can be calculated
 automatically per pad. Use SetAutoPedestal(kTRUE) to activate it.
 You might still want to set load threshold (default iz zero).

Function Members (Methods)

public:
AliEveTPCData()
virtual~AliEveTPCData()
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
voidCreateAllSectors()
voidCreateSector(Int_t sector)
voidTEveRefCnt::DecRefCount()
virtual voidTObject::Delete(Option_t* option = "")MENU
voidDeleteAllSectors()
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
voidDropAllSectors()
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_tGetAutoPedestal() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Short_tGetLoadPedestal() const
Short_tGetLoadThreshold() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetSectorBlockSize() const
AliEveTPCSectorData*GetSectorData(Int_t sector, Bool_t spawnSectors = kFALSE)
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidTEveRefCnt::IncRefCount()
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
voidLoadDigits(TTree* tree, Bool_t spawnSectors = kTRUE)
voidLoadRaw(AliTPCRawStreamV3& input, Bool_t spawnSectors = kTRUE, Bool_t warn = kFALSE)
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
virtual voidTEveRefCnt::OnZeroRefCount()
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 = "")
voidSetAutoPedestal(Bool_t ap)
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)
voidSetLoadPedestal(Short_t lp)
voidSetLoadThreshold(Short_t lt)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetSectorBlockSize(Int_t bs)
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:
Bool_tfAutoPedestalIf true determine pedestals automatically for each pad.
Short_tfLoadPedestalPedestal at load-time.
Short_tfLoadThresholdThreshold at load-time.
Int_tTEveRefCnt::fRefCount
Int_tfSectorBlockSizeBlock-size of sector-data.
vector<AliEveTPCSectorData*>fSectorsVector of sector-data.

Class Charts

Inheritance Chart:
TObject
TEveRefCnt
AliEveTPCData

Function documentation

AliEveTPCData()
 Constructor.
~AliEveTPCData()
 Destructor, deletes all sector-data.
void CreateSector(Int_t sector)
 Create sector-data for sector if it does not exist already.
void CreateAllSectors()
 Create all 36 sectors.
void DropAllSectors()
 Drop data of all existing sectors.
void DeleteAllSectors()
 Delete all sector-data.
AliEveTPCSectorData* GetSectorData(Int_t sector, Bool_t spawnSectors = kFALSE)
 Get sector-data for sector. If spawnSectors is true, the
 sector-data is created if it does not exist already.
void LoadDigits(TTree* tree, Bool_t spawnSectors = kTRUE)
 Load data from TTree of AliSimDigits.
 If spawnSectors is false only sectors that have been created previously
 via CreateSector() are loaded.
 If spawnSectors is true sectors are created if data for them is encountered.
void LoadRaw(AliTPCRawStreamV3& input, Bool_t spawnSectors = kTRUE, Bool_t warn = kFALSE)
 Load data from AliTPCRawStreamV3.
 If spawnSectors is false only sectors that have been created previously
 via CreateSector() are loaded.
 If spawnSectors is true sectors are created if data for them is encountered.
AliEveTPCData()
Int_t GetSectorBlockSize() const
{ return fSectorBlockSize; }
void SetSectorBlockSize(Int_t bs)
Short_t GetLoadThreshold() const
{ return fLoadThreshold; }
void SetLoadThreshold(Short_t lt)
{ fLoadThreshold = lt; }
Short_t GetLoadPedestal() const
{ return fLoadPedestal; }
void SetLoadPedestal(Short_t lp)
{ fLoadPedestal = lp; }
Bool_t GetAutoPedestal() const
{ return fAutoPedestal; }
void SetAutoPedestal(Bool_t ap)
{ fAutoPedestal = ap; }
AliEveTPCData& operator=(const AliEveTPCData& )