AliRoot Core  edcc906 (edcc906)
AliMUONPreprocessor Class Reference

Shuttle preprocessor for MUON subsystems (TRK and TRG) More...

#include <AliMUONPreprocessor.h>

Inheritance diagram for AliMUONPreprocessor:

Public Member Functions

virtual void Initialize (Int_t run, UInt_t startTime, UInt_t endTime)
 
virtual UInt_t Process (TMap *dcsAliasMap)
 
virtual void Print (Option_t *opt="") const
 
virtual Bool_t ProcessDCS ()
 Return info whether the current subprocessor(s) needs DCS or not. More...
 
void Log (const char *message)
 Publish AliPreprocessor::Log function. More...
 
TList * GetFileSources (Int_t system, const char *id)
 Publish AliPreprocessor::GetFileSources function. More...
 
Bool_t Store (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)
 Publish AliPreprocessor::Store function. More...
 
const char * GetRunParameter (const char *param)
 Publish AliPreprocessor::GetRunParameter. More...
 
const char * GetFile (Int_t system, const char *id, const char *source)
 Publish AliPreprocessor::GetFile function. More...
 
AliCDBEntryGetFromOCDB (const char *pathLevel2, const char *pathLevel3)
 Publish AliPreprocessor::GetFromOCDB function. More...
 
AliCDBEntryGetGeometryFromOCDB ()
 Publish AliPreprocessor::GetFromOCDB function. More...
 
Bool_t IsValid () const
 Whether we can be used (e.g. whether we were properly initialized) More...
 
void Invalidate ()
 Mark as invalid. More...
 
Bool_t IsApplicable ()
 Whether we should do something or not. More...
 
TString GetLogBookParam (const char *parname)
 Return log book parameter. More...
 
- Public Member Functions inherited from AliPreprocessor
 AliPreprocessor (const char *detector, AliShuttleInterface *shuttle)
 
virtual ~AliPreprocessor ()
 
Bool_t ProcessRunType ()
 

Protected Member Functions

 AliMUONPreprocessor (const char *detName, AliShuttleInterface *shuttle)
 
virtual ~AliMUONPreprocessor ()
 
void Add (AliMUONVSubprocessor *subProcessor, Bool_t processDCS=kFALSE)
 
void ClearSubprocessors ()
 
- Protected Member Functions inherited from AliPreprocessor
Bool_t Store (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)
 
Bool_t StoreReferenceData (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData)
 
Bool_t StoreReferenceFile (const char *localFile, const char *gridFileName)
 
Bool_t StoreRunMetadataFile (const char *localFile, const char *gridFileName)
 
const char * GetFile (Int_t system, const char *id, 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)
 
TList * GetFileIDs (Int_t system, const char *source)
 
const char * GetRunParameter (const char *param)
 
AliCDBEntryGetFromOCDB (const char *pathLevel2, const char *pathLevel3)
 
AliCDBEntryGetGeometryFromOCDB ()
 
const char * GetRunType ()
 
Bool_t GetHLTStatus ()
 
const char * GetTriggerConfiguration ()
 
const char * GetCTPTimeParams ()
 
const char * GetTriggerDetectorMask ()
 
void Log (const char *message, UInt_t level=3)
 
UInt_t GetStartTimeDCSQuery ()
 
UInt_t GetEndTimeDCSQuery ()
 
void AddRunType (const char *runType)
 
void SendToML (const char *)
 
TString * GetLTUConfig (const char *det)
 

Protected Attributes

Bool_t fIsValid
 ! whether we were correctly initialized More...
 
Bool_t fIsApplicable
 ! whether we have something to do More...
 
- Protected Attributes inherited from AliPreprocessor
Int_t fRun
 
UInt_t fStartTime
 
UInt_t fEndTime
 

Private Member Functions

 AliMUONPreprocessor (const AliMUONPreprocessor &rhs)
 Not implemented. More...
 
AliMUONPreprocessoroperator= (const AliMUONPreprocessor &rhs)
 Not implemented. More...
 
AliMUONVSubprocessorSubprocessor (Int_t i) const
 

Private Attributes

TObjArrayfSubprocessors
 ! sub processors to execute More...
 
Bool_t fProcessDCS
 ! whether the current subprocessor(s) needs DCS or not More...
 

Additional Inherited Members

- Public Types inherited from AliPreprocessor
enum  { kDAQ = 0, kDCS, kHLT, kDQM }
 

Detailed Description

Shuttle preprocessor for MUON subsystems (TRK and TRG)

Shuttle preprocessor for MUON subsystems (TRK and TRG)

It's simply a manager class that deals with a list of sub-tasks (of type AliMUONVSubprocessor).

Author
Laurent Aphecetche

Definition at line 22 of file AliMUONPreprocessor.h.

Constructor & Destructor Documentation

AliMUONPreprocessor::AliMUONPreprocessor ( const char *  detName,
AliShuttleInterface shuttle 
)
protected

ctor

Definition at line 50 of file AliMUONPreprocessor.cxx.

Referenced by GetLogBookParam().

AliMUONPreprocessor::~AliMUONPreprocessor ( )
protectedvirtual

dtor

Definition at line 61 of file AliMUONPreprocessor.cxx.

Referenced by GetLogBookParam().

AliMUONPreprocessor::AliMUONPreprocessor ( const AliMUONPreprocessor rhs)
private

Not implemented.

Member Function Documentation

void AliMUONPreprocessor::Add ( AliMUONVSubprocessor subProcessor,
Bool_t  processDCS = kFALSE 
)
protected

Add a subprocessor to our list of workers

Definition at line 80 of file AliMUONPreprocessor.cxx.

Referenced by GetLogBookParam(), AliMUONTriggerPreprocessor::Initialize(), and AliMUONTrackerPreprocessor::Initialize().

void AliMUONPreprocessor::ClearSubprocessors ( )
protected

Empty our subprocessor list

Definition at line 69 of file AliMUONPreprocessor.cxx.

Referenced by GetLogBookParam(), AliMUONTriggerPreprocessor::Initialize(), and AliMUONTrackerPreprocessor::Initialize().

const char* AliMUONPreprocessor::GetFile ( Int_t  system,
const char *  id,
const char *  source 
)
inline

Publish AliPreprocessor::GetFile function.

Definition at line 55 of file AliMUONPreprocessor.h.

Referenced by AliMUONTriggerSubprocessor::GetFileName().

AliCDBEntry* AliMUONPreprocessor::GetFromOCDB ( const char *  pathLevel2,
const char *  pathLevel3 
)
inline
AliCDBEntry* AliMUONPreprocessor::GetGeometryFromOCDB ( )
inline

Publish AliPreprocessor::GetFromOCDB function.

Definition at line 66 of file AliMUONPreprocessor.h.

Referenced by AliMUONGMSSubprocessor::ProcessFile().

TString AliMUONPreprocessor::GetLogBookParam ( const char *  parname)
inline

Return log book parameter.

Definition at line 81 of file AliMUONPreprocessor.h.

const char* AliMUONPreprocessor::GetRunParameter ( const char *  param)
inline

Publish AliPreprocessor::GetRunParameter.

Definition at line 49 of file AliMUONPreprocessor.h.

void AliMUONPreprocessor::Initialize ( Int_t  run,
UInt_t  startTime,
UInt_t  endTime 
)
virtual

Load mapping and initialize subtasks

Reimplemented from AliPreprocessor.

Reimplemented in AliMUONTrackerPreprocessor, and AliMUONTriggerPreprocessor.

Definition at line 89 of file AliMUONPreprocessor.cxx.

Referenced by AliMUONTriggerPreprocessor::Initialize(), and AliMUONTrackerPreprocessor::Initialize().

void AliMUONPreprocessor::Invalidate ( )
inline

Mark as invalid.

Definition at line 75 of file AliMUONPreprocessor.h.

Referenced by AliMUONTriggerSubprocessor::Initialize().

Bool_t AliMUONPreprocessor::IsApplicable ( )
inline

Whether we should do something or not.

Definition at line 78 of file AliMUONPreprocessor.h.

Referenced by Initialize(), and Process().

Bool_t AliMUONPreprocessor::IsValid ( ) const
inline

Whether we can be used (e.g. whether we were properly initialized)

Definition at line 72 of file AliMUONPreprocessor.h.

Referenced by Initialize(), and Process().

AliMUONPreprocessor& AliMUONPreprocessor::operator= ( const AliMUONPreprocessor rhs)
private

Not implemented.

void AliMUONPreprocessor::Print ( Option_t *  opt = "") const
virtual

output to screen

Definition at line 168 of file AliMUONPreprocessor.cxx.

UInt_t AliMUONPreprocessor::Process ( TMap *  dcsAliasMap)
virtual

loop over subtasks to make them work

Implements AliPreprocessor.

Definition at line 140 of file AliMUONPreprocessor.cxx.

virtual Bool_t AliMUONPreprocessor::ProcessDCS ( )
inlinevirtual

Return info whether the current subprocessor(s) needs DCS or not.

Reimplemented from AliPreprocessor.

Definition at line 30 of file AliMUONPreprocessor.h.

Bool_t AliMUONPreprocessor::Store ( const char *  pathLevel2,
const char *  pathLevel3,
TObject *  object,
AliCDBMetaData metaData,
Int_t  validityStart = 0,
Bool_t  validityInfinite = kFALSE 
)
inline
AliMUONVSubprocessor * AliMUONPreprocessor::Subprocessor ( Int_t  i) const
private

return i-th subprocessor

Definition at line 180 of file AliMUONPreprocessor.cxx.

Referenced by Initialize(), Print(), and Process().

Member Data Documentation

Bool_t AliMUONPreprocessor::fIsApplicable
protected
Bool_t AliMUONPreprocessor::fIsValid
protected
Bool_t AliMUONPreprocessor::fProcessDCS
private

! whether the current subprocessor(s) needs DCS or not

Definition at line 105 of file AliMUONPreprocessor.h.

Referenced by Add(), ClearSubprocessors(), and ProcessDCS().

TObjArray* AliMUONPreprocessor::fSubprocessors
private

! sub processors to execute

Definition at line 104 of file AliMUONPreprocessor.h.

Referenced by Add(), ClearSubprocessors(), Initialize(), Print(), Process(), Subprocessor(), and ~AliMUONPreprocessor().


The documentation for this class was generated from the following files: