ROOT logo
AliRoot » STEER » CDB » AliCDBId

class AliCDBId: public TObject


class AliCDBId						
Identity of an object stored into a database:  		
path, run validity range, version, subVersion 		


Function Members (Methods)

public:
AliCDBId()
AliCDBId(const AliCDBId& other)
AliCDBId(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1)
AliCDBId(const AliCDBPath& path, Int_t firstRun, Int_t lastRun, Int_t verison = -1, Int_t subVersion = -1)
virtual~AliCDBId()
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_tCompare(const TObject* obj) const
Bool_tComprises(const AliCDBId& other) 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 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
const AliCDBPath&GetAliCDBPath() const
const AliCDBRunRange&GetAliCDBRunRange() const
AliCDBRunRange&GetAliCDBRunRange()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetFirstRun() const
virtual const char*TObject::GetIconName() const
Int_tGetLastRun() const
const TString&GetLastStorage() const
virtual const char*GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const TString&GetPath() const
const TStringGetPathLevel(Int_t i) const
Int_tGetSubVersion() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Int_tGetVersion() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasSubVersion() const
Bool_tHasVersion() 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
Bool_tIsAnyRange() const
virtual Bool_tIsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSortable() const
Bool_tIsSpecified() const
Bool_tIsValid() const
Bool_tIsWildcard() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
static AliCDBId*MakeFromString(const TString& idString)
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)
AliCDBId&operator=(const AliCDBId&)
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)
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)
voidSetFirstRun(Int_t firstRun)
voidSetLastRun(Int_t lastRun)
voidSetLastStorage(TString& lastStorage)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPath(const char* path)
voidSetRunRange(Int_t firstRun, Int_t lastRun)
voidSetSubVersion(Int_t subVersion)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetVersion(Int_t version)
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
TStringToString() 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

private:
TStringfLastStorageprevious storage place (new, grid, local, dump)
AliCDBPathfPathpath
AliCDBRunRangefRunRangerun range
Int_tfSubVersionsubversion
Int_tfVersionversion

Class Charts

Inheritance Chart:
TObject
AliCDBId

Function documentation

AliCDBId()
 constructor
AliCDBId(const AliCDBId& other)
 constructor
AliCDBId(const AliCDBPath& path, Int_t firstRun, Int_t lastRun, Int_t verison = -1, Int_t subVersion = -1)
 constructor
AliCDBId(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1)
 constructor
AliCDBId* MakeFromString(const TString& idString)
 constructor from string
 string has the format as the output of AliCDBId::ToString:
 path: "TRD/Calib/PIDLQ"; run range: [0,999999999]; version: v0_s0
~AliCDBId()
destructor
Bool_t IsValid() const
 validity check
Bool_t IsEqual(const TObject* obj) const
 check if this id is equal to other id (compares path, run range, versions)
TString ToString() const
 returns a string of Id data
void Print(Option_t* option = "") const
 Prints ToString()
Int_t Compare(const TObject* obj) const
 compare according y
Bool_t IsSortable() const
const AliCDBPath& GetAliCDBPath() const
{return fPath;}
const TString& GetPath() const
{return fPath.GetPath();}
const TString GetPathLevel(Int_t i) const
{return fPath.GetLevel(i);}
Bool_t IsWildcard() const
{return fPath.IsWildcard();}
void SetPath(const char* path)
{fPath.SetPath(path);}
const AliCDBRunRange& GetAliCDBRunRange() const
{return fRunRange;}
AliCDBRunRange& GetAliCDBRunRange()
{return fRunRange;}
Int_t GetFirstRun() const
Int_t GetLastRun() const
{return fRunRange.GetLastRun();}
void SetFirstRun(Int_t firstRun)
{fRunRange.SetFirstRun(firstRun);}
void SetLastRun(Int_t lastRun)
{fRunRange.SetLastRun(lastRun);}
void SetRunRange(Int_t firstRun, Int_t lastRun)
{fRunRange.SetRunRange(firstRun, lastRun);}
Bool_t IsAnyRange() const
{return fRunRange.IsAnyRange();}
Int_t GetVersion() const
{return fVersion;}
Int_t GetSubVersion() const
{return fSubVersion;}
void SetVersion(Int_t version)
{fVersion = version;}
void SetSubVersion(Int_t subVersion)
{fSubVersion = subVersion;}
const TString& GetLastStorage() const
{return fLastStorage;}
void SetLastStorage(TString& lastStorage)
{fLastStorage = lastStorage;}
Bool_t IsSpecified() const
{return !(IsWildcard() || IsAnyRange());}
Bool_t HasVersion() const
{return fVersion >= 0;}
Bool_t HasSubVersion() const
{return fSubVersion >= 0;}
Bool_t Comprises(const AliCDBId& other) const
const char * GetName() const
{ return fPath.GetPath().Data(); }