ROOT logo
AliRoot » STEER » CDB » AliPreprocessor

class AliPreprocessor: public TNamed

Function Members (Methods)

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

public:
virtual~AliPreprocessor()
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
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 voidInitialize(Int_t run, UInt_t startTime, UInt_t endTime)
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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual UInt_tProcess(TMap* dcsAliasMap)
virtual Bool_tProcessDCS()
Bool_tProcessRunType()
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)
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
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:
voidAddRunType(const char* runType)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
const char*GetCTPTimeParams()
UInt_tGetEndTimeDCSQuery()
const char*GetFile(Int_t system, const char* id, const char* source)
TList*GetFileIDs(Int_t system, const char* source)
TList*GetFileSources(Int_t system, const char* id = 0)
const char*GetForeignFile(const char* detector, Int_t system, const char* id, const char* source)
TList*GetForeignFileSources(const char* detector, Int_t system, const char* id)
AliCDBEntry*GetFromOCDB(const char* pathLevel2, const char* pathLevel3)
AliCDBEntry*GetGeometryFromOCDB()
Bool_tGetHLTStatus()
TString*GetLTUConfig(const char* det)
const char*GetRunParameter(const char* param)
const char*GetRunType()
UInt_tGetStartTimeDCSQuery()
const char*GetTriggerConfiguration()
const char*GetTriggerDetectorMask()
voidLog(const char* message, UInt_t level = 3)
voidTObject::MakeZombie()
voidSendToML(const char*)
Bool_tStore(const char* pathLevel2, const char* pathLevel3, TObject* object, AliCDBMetaData* metaData, Int_t validityStart = 0, Bool_t validityInfinite = kFALSE)
Bool_tStoreReferenceData(const char* pathLevel2, const char* pathLevel3, TObject* object, AliCDBMetaData* metaData)
Bool_tStoreReferenceFile(const char* localFile, const char* gridFileName)
Bool_tStoreRunMetadataFile(const char* localFile, const char* gridFileName)
private:
AliPreprocessor&operator=(const AliPreprocessor& source)

Data Members

public:
enum { kDAQ
kDCS
kHLT
kDQM
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
UInt_tfEndTimeendtime of current run
TStringTNamed::fNameobject identifier
Int_tfRuncurrent run
UInt_tfStartTimestarttime of current run
TStringTNamed::fTitleobject title
private:
TListfRunTypeslist of run types that are processed by this preprocessor
AliShuttleInterface*fShuttlelink to Shuttle

Class Charts

Inheritance Chart:
TNamed
AliPreprocessor
AliACORDEPreprocessor
AliEMCALPreprocessor
AliFMDPreprocessor
AliGRPPreprocessor
AliHLTPreprocessor
AliHMPIDPreprocessor
AliITSPreprocessorSDD
AliITSPreprocessorSPD
AliITSPreprocessorSSD
AliMUONPreprocessor
 [more...]

Function documentation

~AliPreprocessor()
void Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
 Sets the information of the run which is currently processed
 can be overriden for special behaviour, make sure that you call base class
 function
Bool_t Store(const char* pathLevel2, const char* pathLevel3, TObject* object, AliCDBMetaData* metaData, Int_t validityStart = 0, Bool_t validityInfinite = kFALSE)
 Stores a CDB object in the storage for offline reconstruction. Objects that are not needed for
 offline reconstruction, but should be stored anyway (e.g. for debugging) should NOT be stored
 using this function. Use StoreReferenceData instead!

 This function should be called at the end of the preprocessor cycle

 The parameters are
   1, 2) the 2nd and 3rd level of the object's path. The first level is the detector name which is provided
         by the Preprocessor and converted to the Offline name. Thus the object's path is "DET/level2/level3"
   3) the object to be stored
   4) the metaData to be associated with the object
   5) the validity start run number w.r.t. the current run,
      if the data is valid only for this run leave the default 0
   6) specifies if the calibration data is valid for infinity (this means until updated),
      typical for calibration runs, the default is kFALSE

 The call is delegated to AliShuttleInterface
Bool_t StoreReferenceData(const char* pathLevel2, const char* pathLevel3, TObject* object, AliCDBMetaData* metaData)
 Stores a CDB object in the storage for reference data. This objects will not be available during
 offline reconstrunction. Use this function for reference data only!

 This function should be called at the end of the preprocessor cycle

 The parameters are
   1, 2) the 2nd and 3rd level of the object's path. The first level is the detector name which is provided
         by the Preprocessor and converted to the Offline name. Thus the object's path is "DET/level2/level3"
   3) the object to be stored
   4) the metaData to be associated with the object

 The call is delegated to AliShuttleInterface
Bool_t StoreReferenceFile(const char* localFile, const char* gridFileName)
 Stores a file directly (without opening it) in the reference storage in the Grid

 The file is stored under the following location:
 <base folder of reference storage>/<DET>/<RUN#>_<gridFileName>
 where <gridFileName> is the second parameter given to the function

 The call is delegated to AliShuttleInterface
Bool_t StoreRunMetadataFile(const char* localFile, const char* gridFileName)
 Stores Run metadata file to the Grid, in the run folder

 Only GRP can call this function.
const char* GetFile(Int_t system, const char* id, const char* source)
 This function retrieves a file from the given system (kDAQ, kDCS, kHLT) with the given file id
 and from the given source in the system.
 The function returnes the path to the local file.

 The call is delegated to AliShuttleInterface
TList* GetFileSources(Int_t system, const char* id = 0)
 Returns a list of sources in a given system that saved a file with the given id
 if id is not given all sources are returned

 The call is delegated to AliShuttleInterface
TList* GetFileIDs(Int_t system, const char* source)
 Returns a list of ids in a given system that saved a file with the given source

 The call is delegated to AliShuttleInterface
void Log(const char* message, UInt_t level = 3)
 Adds a log message to the Shuttle log of this preprocessor

 The call is delegated to AliShuttleInterface
const char* GetRunParameter(const char* param)
 Return run parameter read from run logbook

 The call is delegated to AliShuttleInterface
AliCDBEntry* GetFromOCDB(const char* pathLevel2, const char* pathLevel3)
 Return object from OCDB valid for current run

 The call is delegated to AliShuttleInterface
AliCDBEntry* GetGeometryFromOCDB()
 Return geometry from OCDB (GRP/Geometry/Data) valid for current run

 The call is delegated to AliShuttleInterface
const char* GetRunType()
 Return run type string read from "run type" logbook

 The call is delegated to AliShuttleInterface
Bool_t GetHLTStatus()
 Return HLT status (ON or OFF)
 Converts the HLT status from the status string read in the run logbook (not just a bool)
 The call is delegated to AliShuttleInterface
const char* GetTriggerConfiguration()
 Returns the trigger configuration which is read from a table in the DAQ logbook
 The call is delegated to AliShuttleInterface
 Only GRP can call this function.
const char* GetCTPTimeParams()
 Returns the CTP timing parameters read from a table in the DAQ logbook
 The call is delegated to AliShuttleInterface
 Only GRP can call this function.
const char* GetTriggerDetectorMask()
 Returns the trigger detector mask which is read from a table in the DAQ logbook
 The call is delegated to AliShuttleInterface
 Only TRI can call this function.
void AddRunType(const char* runType)
 adds the given run type to the list of run types that are processed
 this function should be called in the constructor of the derived preprocessor
UInt_t GetStartTimeDCSQuery()
 Return Start Time for the DCS query

 The call is delegated to AliShuttleInterface
UInt_t GetEndTimeDCSQuery()
 Return End Time for the DCS query

 The call is delegated to AliShuttleInterface
const char* GetForeignFile(const char* detector, Int_t system, const char* id, const char* source)
 This function retrieves a file produced from the given detector (different from the
 current one) from the given system (kDAQ, kDCS, kHLT)
 with the given file id
 and from the given source in the system.
 The function returnes the path to the local file.

 The call is delegated to AliShuttleInterface
 The function can be called only from the GRP preprocessor
TList* GetForeignFileSources(const char* detector, Int_t system, const char* id)
 Returns the list of sources in a given system that produced the file
 with the given id for the foreign detector specified

 The call is delegated to AliShuttleInterface
 The function can be called only from the GRP preprocessor
void SendToML(const char* )
 Sending to ML the information coming from the current detector

TString* GetLTUConfig(const char* det)
 LTU config from logbook_detector table from DAQ logbook for detector det

 The call is delegated to AliShuttleInterface
UInt_t Process(TMap* dcsAliasMap)
Bool_t ProcessDCS()
{ return kTRUE; }
Bool_t ProcessRunType()
AliPreprocessor & operator=(const AliPreprocessor& source)