virtual | ~AliCDBManager() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
void | ClearCache() |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
AliCDBParam* | CreateParameter(const char* dbString) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
static void | Destroy() |
void | DestroyActiveStorage(AliCDBStorage* storage) |
void | DestroyActiveStorages() |
Bool_t | DiffObjects(const char* cdbFile1, const char* cdbFile2) const |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
Bool_t | Drain(AliCDBEntry* entry) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
void | DumpToLightSnapshotFile(const char* lightSnapshotFileName) const |
void | DumpToSnapshotFile(const char* snapshotFileName, Bool_t singleKeys) const |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
void | ExtractBaseFolder(TString& url) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
AliCDBEntry* | Get(const AliCDBId& query, Bool_t forceCaching = kFALSE) |
AliCDBEntry* | Get(const AliCDBPath& path, Int_t runNumber = -1, Int_t version = -1, Int_t subVersion = -1) |
AliCDBEntry* | Get(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1) |
TList* | GetActiveStorages() |
TList* | GetAll(const AliCDBId& query) |
TList* | GetAll(const AliCDBPath& path, Int_t runNumber = -1, Int_t version = -1, Int_t subVersion = -1) |
TList* | GetAll(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1) |
Bool_t | GetCacheFlag() const |
AliCDBParam* | GetCondParam() const |
TString | GetCvmfsOcdbTag() const |
static const char* | GetDataTypeName(AliCDBManager::DataType type) |
AliCDBStorage* | GetDefaultStorage() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
Int_t | GetEndRunLHCPeriod() |
const TMap* | GetEntryCache() const |
AliCDBEntry* | GetEntryFromSnapshot(const char* path) |
virtual const char* | TObject::GetIconName() const |
TString | GetLHCPeriod() |
Bool_t | GetLock() const |
const char* | GetMirrorSEs() const |
virtual const char* | TObject::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
Bool_t | GetRaw() const |
AliCDBParam* | GetRefParam() const |
const TList* | GetRetrievedIds() const |
Int_t | GetRun() const |
AliCDBStorage* | GetSpecificStorage(const char* calibType) |
Int_t | GetStartRunLHCPeriod() |
AliCDBStorage* | GetStorage(const char* dbString) |
const TMap* | GetStorageMap() const |
virtual const char* | TObject::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
const char* | GetURI(const char* path) |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
Bool_t | HasStorage(const char* dbString) const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
void | Init() |
void | InitFromCache(TMap* entryCache, Int_t run) |
Bool_t | InitFromSnapshot(const char* snapshotFileName, Bool_t overwrite = kTRUE) |
virtual void | TObject::Inspect() constMENU |
static AliCDBManager* | Instance(TMap* entryCache = NULL, Int_t run = -1) |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
Bool_t | IsDefaultStorageSet() const |
Bool_t | IsDrainSet() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | IsOCDBUploadMode() const |
Bool_t | TObject::IsOnHeap() const |
Bool_t | IsShortLived(const char* path) |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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 void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | Print(Option_t* option = "") const |
Bool_t | Put(AliCDBEntry* entry, const char* mirrors = "", AliCDBManager::DataType type = kPrivate) |
Bool_t | Put(TObject* object, const AliCDBId& id, AliCDBMetaData* metaData, const char* mirrors = "", AliCDBManager::DataType type = kPrivate) |
void | QueryCDB() |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | RegisterFactory(AliCDBStorageFactory* factory) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | SetCacheFlag(Bool_t cacheFlag) |
void | SetDefaultStorage(const char* dbString) |
void | SetDefaultStorage(const AliCDBParam* param) |
void | SetDefaultStorage(AliCDBStorage* storage) |
void | SetDefaultStorage(const char* runType, const char* simType) |
void | SetDefaultStorageFromRun(Int_t run) |
void | SetDrain(const char* dbString) |
void | SetDrain(const AliCDBParam* param) |
void | SetDrain(AliCDBStorage* storage) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
ULong64_t | SetLock(Bool_t lockFlag = kTRUE, ULong64_t key = 0) |
void | SetMirrorSEs(const char* mirrors) |
static void | TObject::SetObjectStat(Bool_t stat) |
Bool_t | SetOCDBUploadMode() |
void | SetRaw(Bool_t rawFlag) |
void | SetRun(Int_t run) |
Bool_t | SetSnapshotMode(const char* snapshotFileName = "OCDB.root") |
void | SetSpecificStorage(const char* calibType, const char* dbString, Int_t version = -1, Int_t subVersion = -1) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
void | UnloadFromCache(const char* path) |
void | UnsetDefaultStorage() |
void | UnsetDrain() |
void | UnsetOCDBUploadMode() |
void | UnsetSnapshotMode() |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
AliCDBManager() | |
AliCDBManager(const AliCDBManager& source) | |
void | AlienToCvmfsUri(TString& uriString) const |
void | CacheEntry(const char* path, AliCDBEntry* entry) |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
AliCDBStorage* | GetActiveStorage(const AliCDBParam* param) |
AliCDBId* | GetId(const AliCDBId& query) |
AliCDBId* | GetId(const AliCDBPath& path, Int_t runNumber = -1, Int_t version = -1, Int_t subVersion = -1) |
AliCDBId* | GetId(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1) |
void | GetLHCPeriodAgainstAlienFile(Int_t run, TString& lhcPeriod, Int_t& startRun, Int_t& endRun) |
void | GetLHCPeriodAgainstCvmfsFile(Int_t run, TString& lhcPeriod, Int_t& startRun, Int_t& endRun) |
AliCDBStorage* | GetStorage(const AliCDBParam* param) |
void | InitShortLived() |
void | TObject::MakeZombie() |
AliCDBManager& | operator=(const AliCDBManager& source) |
void | PutActiveStorage(AliCDBParam* param, AliCDBStorage* storage) |
AliCDBParam* | SelectSpecificStorage(const TString& path) |
void | SetSpecificStorage(const char* calibType, const AliCDBParam* param, Int_t version = -1, Int_t subVersion = -1) |
void | ValidateCvmfsCase() const |
enum DataType { | kCondition | |
kReference | ||
kPrivate | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
TMap | fActiveStorages | ! list of active storages |
Bool_t | fCache | ! The cache flag |
AliCDBParam* | fCondParam | Conditions data storage parameters |
TString | fCvmfsOcdb | set from $OCDB_PATH, points to a cvmfs AliRoot package |
AliCDBStorage* | fDefaultStorage | ! pointer to default storage |
AliCDBStorage* | fDrainStorage | ! pointer to drain storage |
Int_t | fEndRunLHCPeriod | last run of the LHC period set |
TMap | fEntryCache | ! cache of the retrieved objects |
TList | fFactories | ! list of registered storage factories |
TList* | fIds | ! List of the retrieved object Id's (to be streamed to file) |
TString | fLHCPeriod | LHC period alien folder |
Bool_t | fLock | ! Lock flag, if ON default storage and run number cannot be reset |
Bool_t | fOCDBUploadMode | ! flag for uploads to Official CDBs (upload to cvmfs must follow upload to AliEn) |
Bool_t | fRaw | flag to say whether we are in the raw case |
AliCDBParam* | fRefParam | Reference data storage parameters |
Int_t | fRun | ! The run number |
TList* | fShortLived | ! List of short lived objects |
TFile* | fSnapshotFile | |
Bool_t | fSnapshotMode | ! flag saying if we are in snapshot mode |
TMap | fSpecificStorages | ! list of detector-specific storages |
Int_t | fStartRunLHCPeriod | 1st run of the LHC period set |
TMap* | fStorageMap | ! list of storages (to be streamed to file) |
static AliCDBManager* | fgInstance | AliCDBManager instance |
static TString | fgkCondUri | URI of the Conditions data base folder |
static TString | fgkMCFullStorage | URI of the MC-Full Conditions data base folder form MC data |
static TString | fgkMCIdealStorage | URI of the MC-Ideal Conditions data base folder form MC data |
static TString | fgkMCResidualStorage | URI of the MC-Residual Conditions data base folder form MC data |
static TString | fgkOCDBFolderXMLfile | alien path of the XML file for OCDB folder <--> Run range correspondance |
static TString | fgkRefUri | URI of the Reference data base folder |
ULong64_t | fKey | ! Key for locking/unlocking |
Inheritance Chart: | ||||||||||||
|
returns AliCDBManager instance (singleton)
initialize manager from existing cache used on the slaves in case of parallel reconstruction
If singleKeys is true, dump the entries map and the ids list to the snapshot file (provided mostly for historical reasons, the file is then read with InitFromSnapshot), otherwise write to file each AliCDBEntry separately (the is the preferred way, the file is then read with SetSnapshotMode).
The light snapshot does not contain the CDB objects (AliCDBEntries) but only the information identifying them, that is the map of storages and the list of AliCDBIds, as in the UserInfo of AliESDs.root
initialize manager from a CDB snapshot, that is add the entries to the entries map and the ids to the ids list taking them from the map and the list found in the input file
put a storage object into the list of active storages
add a storage factory to the list of registerd factories
check if dbString is a URI valid for one of the registered factories
convert alien storage uri to local:///cvmfs storage uri (called when OCDB_PATH is set)
get a storage object from the list of active storages
return list of active storages user has responsibility to delete returned object
Set the framework in official upload mode. This tells the framework to upload objects to cvmfs after they have been uploaded to AliEn OCDBs. It return false if the executable to upload to cvmfs is not found.
sets default storage for MC data mcString MUST be "MC", simType can be "Ideal","Residual","Full"
The OCDB_PATH variable contains the path to the directory in /cvmfs/ which is an AliRoot tag based snapshot of the AliEn file catalogue (e.g. /cvmfs/alice.cern.ch/x86_64-2.6-gnu-4.1.2/Packages/OCDB/v5-05-76-AN). The directory has to contain: 1) <data|MC>/20??.list.gz gzipped text files listing the OCDB files (seen by that AliRoot tag) 2) bin/getOCDBFilesPerRun.sh (shell+awk) script extracting from 1) the list of valid files for the given run.
set default storage from the run number - to be used only with raw data
set LHC period (year + first, last run) comparing run number and AliEn XML file
set LHC period (year + first, last run) comparing run number and CVMFS file We don't want to connect to AliEn just to set the uri from the runnumber for that we use the script getUriFromYear.sh in the cvmfs AliRoot package
sets storage specific for detector or calibration type (works with AliCDBManager::Get(...))
sets storage specific for detector or calibration type (works with AliCDBManager::Get(...)) Default storage should be defined prior to any specific storages, e.g.: AliCDBManager::instance()->SetDefaultStorage("alien://"); AliCDBManager::instance()->SetSpecificStorage("TPC/*","local://DB_TPC"); AliCDBManager::instance()->SetSpecificStorage("*/Align/*","local://DB_TPCAlign"); calibType must be a valid CDB path! (3 level folder structure) Specific version/subversion is set in the uniqueid of the AliCDBParam value stored in the specific storages map
get storage specific for detector or calibration type
select storage valid for path from the list of specific storages
get an AliCDBEntry object from the database RunNumber is not specified. Try with fRun
get an AliCDBEntry object from the database!
get an AliCDBEntry object from the database
get the AliCDBId of the valid object from the database (does not retrieve the object) User must delete returned object!
get the AliCDBId of the valid object from the database (does not retrieve the object) User must delete returned object!
get multiple AliCDBEntry objects from the database RunNumber is not specified. Try with fRun
get multiple AliCDBEntry objects from the database
get multiple AliCDBEntry objects from the database Warning: this method works correctly only for queries of the type "Detector/*" and not for more specific queries e.g. "Detector/Calib/*" ! Warning #2: Entries are cached, but GetAll will keep on retrieving objects from OCDB! To get an object from cache use Get() function
store an AliCDBEntry object into the database
store an AliCDBEntry object into the database
set mirror Storage Elements for the default storage, if it is of type "alien"
get mirror Storage Elements for the default storage, if it is of type "alien"
cache AliCDBEntry. Cache is valid until run number is changed.
unload cached object that is remove the entry from the cache and the id from the list of ids
query default and specific storages for files valid for fRun. Every storage loads the Ids into its list.
returns the name (string) of the data type
To lock/unlock user must provide the key. A new key is provided after each successful lock. User should always backup the returned key and use it on next access.
TBD RS remove everything but the url - Exact copy of the AliReconstuction::Rectify.... (to be removed)