ROOT logo
AliRoot » HLT » BASE » AliHLTSpacePointContainer

class AliHLTSpacePointContainer: public TObject, public AliHLTLogging

This file is property of and copyright by the ALICE HLT Project
ALICE Experiment at CERN, All rights reserved.

Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
for The ALICE HLT Project.

Permission to use, copy, modify and distribute this software and its
documentation strictly for non-commercial purposes is hereby granted
without fee, provided that the above copyright notice appears in all
copies and that both the copyright notice and this permission notice
appear in the supporting documentation. The authors make no claims
about the suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~AliHLTSpacePointContainer()
voidTObject::AbstractMethod(const char* method) const
virtual intAddInputBlock(const AliHLTComponentBlockData* pDesc)
intAddInputBlock(const char* filename, AliHLTComponentDataType dt, unsigned int)
intAddInputBlocks(const char* filenames, AliHLTComponentDataType dt)
AliHLTUInt8_t*Alloc(int size)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static const char*AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false)
virtual boolCheck(AliHLTUInt32_t clusterID) const
intAliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const
intAliHLTLogging::CheckGroup(const char* originClass) const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(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
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDraw(Option_t* option)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
TH1*DrawProjection(const char* plane) const
TH1*DrawProjection(const char* plane, AliHLTUInt32_t specification) const
TH1*DrawProjection(const char* plane, const vector<AliHLTUInt32_t>& selection) const
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
TTree*FillTree(const char* name, const char* title = "")
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual const AliHLTSpacePointContainer::AliHLTSpacePointGrid*GetAccessGrid(AliHLTUInt32_t) const
virtual floatGetCharge(AliHLTUInt32_t clusterID) const
virtual intGetClusterIDs(vector<AliHLTUInt32_t>& tgt) const
virtual const vector<AliHLTUInt32_t>*GetClusterIDs(AliHLTUInt32_t)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
virtual const char*TObject::GetIconName() const
const char*AliHLTLogging::GetKeyword() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
virtual floatGetMaxSignal(AliHLTUInt32_t) const
virtual const char*TObject::GetName() const
virtual intGetNumberOfSpacePoints() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual void*AliHLTLogging::GetParameter() const
virtual floatGetPhi(AliHLTUInt32_t) const
virtual const AliHLTSpacePointContainer::AliHLTSpacePointPropertyGrid*GetSpacePointPropertyGrid(AliHLTUInt32_t) const
virtual const char*TObject::GetTitle() const
virtual intGetTrackID(AliHLTUInt32_t) const
virtual UInt_tTObject::GetUniqueID() const
virtual floatGetX(AliHLTUInt32_t clusterID) const
virtual floatGetXWidth(AliHLTUInt32_t clusterID) const
virtual floatGetY(AliHLTUInt32_t clusterID) const
virtual floatGetYWidth(AliHLTUInt32_t clusterID) const
virtual floatGetZ(AliHLTUInt32_t clusterID) const
virtual floatGetZWidth(AliHLTUInt32_t clusterID) 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
static intAliHLTLogging::Init(AliHLTfctLogging pFun)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
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
intAliHLTLogging::Logging(AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
virtual intAliHLTLogging::LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line) const
virtual voidTObject::ls(Option_t* option = "") const
intMarkUsed(AliHLTUInt32_t clusterID)
virtual intMarkUsed(const AliHLTUInt32_t* clusterIDs, int arraySize)
voidTObject::MayNotUse(const char* method) const
static intAliHLTLogging::Message(void* param, AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
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)
AliHLTSpacePointContainer&operator=(const AliHLTSpacePointContainer&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual intPopulateAccessGrid(AliHLTSpacePointContainer::AliHLTSpacePointPropertyGrid*, AliHLTUInt32_t) const
virtual intPopulateAccessGrid(AliHLTSpacePointContainer::AliHLTSpacePointGrid*, AliHLTUInt32_t) const
virtual voidPrint(Option_t* option = "") const
virtual voidPrint(ostream& out, 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 = "")
virtual AliHLTSpacePointContainer*SelectByMask(AliHLTUInt32_t mask, bool bAlloc = false) const
virtual AliHLTSpacePointContainer*SelectByMC(int mcId, bool bAlloc = false) const
virtual AliHLTSpacePointContainer*SelectByTrack(int trackId, bool bAlloc = false) const
intAliHLTLogging::SendMessage(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, const char* message) const
virtual intSetAccessGrid(AliHLTUInt32_t, AliHLTSpacePointContainer::AliHLTSpacePointGrid*)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
static intAliHLTLogging::SetBlackList(const char* classnames)
voidAliHLTLogging::SetDefaultKeyword(const char* keyword)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidAliHLTLogging::SetGlobalLoggingLevel(AliHLTComponentLogSeverity level)
const char*AliHLTLogging::SetKeyword(const char* keyword)
static voidAliHLTLogging::SetLocalLoggingDefault(AliHLTComponentLogSeverity level)
virtual voidAliHLTLogging::SetLocalLoggingLevel(AliHLTComponentLogSeverity level)
static const char*AliHLTLogging::SetLogString(const void* p, const char* pfmt, const char* format)
intSetMCID(int mcID, AliHLTUInt32_t clusterID)
virtual intSetMCID(int clusterID, const AliHLTUInt32_t* clusterIDs, int arraySize)
static voidTObject::SetObjectStat(Bool_t stat)
virtual intSetSpacePointPropertyGrid(AliHLTUInt32_t, AliHLTSpacePointContainer::AliHLTSpacePointPropertyGrid*)
intSetTrackID(int trackID, AliHLTUInt32_t clusterID)
virtual intSetTrackID(int trackID, const AliHLTUInt32_t* clusterIDs, int arraySize)
virtual voidTObject::SetUniqueID(UInt_t uid)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)
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 AliHLTSpacePointContainer*UnusedClusters(bool bAlloc = false) const
virtual voidTObject::UseCurrentStyle()
virtual AliHLTSpacePointContainer*UsedClusters(bool bAlloc = false) const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual intWrite(AliHLTUInt8_t*, AliHLTUInt32_t, vector<AliHLTComponentBlockData>&, const char* = "") const
virtual intWrite(AliHLTUInt8_t* outputPtr, AliHLTUInt32_t size, vector<AliHLTComponentBlockData>& outputBlocks, AliHLTDataDeflater*, const char* option = "") const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
vector<TArrayC*>fBuffers! buffers of loaded files

Class Charts

Inheritance Chart:
TObject
AliHLTLogging
AliHLTSpacePointContainer

Function documentation

AliHLTSpacePointContainer& operator=(const AliHLTSpacePointContainer& )
 assignment operator
~AliHLTSpacePointContainer()
 destructor
void Clear(Option_t* = "")
 internal cleanup
void Print(Option_t* option = "") const
 print info
void Print(ostream& out, Option_t* option = "") const
 print to stream
int AddInputBlock(const char* filename, AliHLTComponentDataType dt, unsigned int )
 open block from file and add to collection
int AddInputBlocks(const char* filenames, AliHLTComponentDataType dt)
 open blank separated list of files and add data
AliHLTUInt8_t* Alloc(int size)
 alloc memory for a space point data block
AliHLTSpacePointContainer* SelectByMask(AliHLTUInt32_t mask, bool bAlloc = false) const
 create a collection of clusters for a space point mask
 default implementation, nothing to do
AliHLTSpacePointContainer* SelectByTrack(int trackId, bool bAlloc = false) const
 create a collection of clusters for a specific track
 default implementation, nothing to do
AliHLTSpacePointContainer* SelectByMC(int mcId, bool bAlloc = false) const
 create a collection of clusters for a specific MC track
 default implementation, nothing to do
AliHLTSpacePointContainer* UsedClusters(bool bAlloc = false) const
 create a collection of all used clusters
 default implementation, nothing to do
AliHLTSpacePointContainer* UnusedClusters(bool bAlloc = false) const
 create a collection of all unused clusters
 default implementation, nothing to do
int MarkUsed(const AliHLTUInt32_t* clusterIDs, int arraySize)
 default implementation, nothing to do
int SetTrackID(int trackID, const AliHLTUInt32_t* clusterIDs, int arraySize)
 default implementation, nothing to do
int SetMCID(int clusterID, const AliHLTUInt32_t* clusterIDs, int arraySize)
 default implementation, nothing to do
int GetNumberOfSpacePoints() const
 get number of space points
bool Check(AliHLTUInt32_t clusterID) const
 check if space point exists
TH1* DrawProjection(const char* plane, const vector<AliHLTUInt32_t>& selection) const
 draw the projection of space points in a specified plane
 "xy", "xz", "yz"
void Draw(Option_t* option)
 Inherited from TObject, draw clusters
TTree* FillTree(const char* name, const char* title = "")
 create tree and fill the space point coordinates
int AddInputBlock(const AliHLTComponentBlockData* pDesc)

 interface functions

 add input block to the collection
int PopulateAccessGrid(AliHLTSpacePointPropertyGrid* /*pGrid*/, AliHLTUInt32_t /*mask*/)
{return -ENOSYS;}
const AliHLTSpacePointPropertyGrid* GetSpacePointPropertyGrid(AliHLTUInt32_t ) const
{return NULL;}
int SetSpacePointPropertyGrid(AliHLTUInt32_t , AliHLTSpacePointContainer::AliHLTSpacePointPropertyGrid* )
{return -ENOSYS;}
int PopulateAccessGrid(AliHLTSpacePointGrid* /*pGrid*/, AliHLTUInt32_t /*mask*/)
 for backward compatibility
{return -ENOSYS;}
const AliHLTSpacePointGrid* GetAccessGrid(AliHLTUInt32_t ) const
{return NULL;}
int SetAccessGrid(AliHLTUInt32_t , AliHLTSpacePointContainer::AliHLTSpacePointGrid* )
{return -ENOSYS;}
int GetClusterIDs(vector<AliHLTUInt32_t>& tgt) const
const vector<AliHLTUInt32_t>* GetClusterIDs(AliHLTUInt32_t )
{return NULL;}
float GetX(AliHLTUInt32_t clusterID) const
float GetXWidth(AliHLTUInt32_t clusterID) const
float GetY(AliHLTUInt32_t clusterID) const
float GetYWidth(AliHLTUInt32_t clusterID) const
float GetZ(AliHLTUInt32_t clusterID) const
float GetZWidth(AliHLTUInt32_t clusterID) const
float GetCharge(AliHLTUInt32_t clusterID) const
float GetMaxSignal(AliHLTUInt32_t ) const
{return 0.0;}
float GetPhi(AliHLTUInt32_t ) const
{return 0.0;}
int MarkUsed(AliHLTUInt32_t clusterID)
{return MarkUsed(&clusterID, sizeof(clusterID));}
int SetTrackID(int trackID, AliHLTUInt32_t clusterID)
int GetTrackID(AliHLTUInt32_t ) const
{return -1;}
int SetMCID(int mcID, AliHLTUInt32_t clusterID)
int Write(AliHLTUInt8_t* outputPtr, AliHLTUInt32_t size, vector<AliHLTComponentBlockData>& outputBlocks, AliHLTDataDeflater* , const char* option = "") const
 write blocks to HLT component output
int Write(AliHLTUInt8_t* , AliHLTUInt32_t , vector<AliHLTComponentBlockData>& , const char* = "") const
 write blocks to HLT component output: old function definition for backward compatibility
TH1* DrawProjection(const char* plane) const
return DrawProjection(plane, selection)