AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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...
 
AliCDBEntry * GetFromOCDB (const char *pathLevel2, const char *pathLevel3)
 Publish AliPreprocessor::GetFromOCDB function. More...
 
AliCDBEntry * GetGeometryFromOCDB ()
 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...
 

Protected Member Functions

 AliMUONPreprocessor (const char *detName, AliShuttleInterface *shuttle)
 
virtual ~AliMUONPreprocessor ()
 
void Add (AliMUONVSubprocessor *subProcessor, Bool_t processDCS=kFALSE)
 
void ClearSubprocessors ()
 

Protected Attributes

Bool_t fIsValid
 ! whether we were correctly initialized More...
 
Bool_t fIsApplicable
 ! whether we have something to do More...
 

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...
 

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.

AliMUONPreprocessor::~AliMUONPreprocessor ( )
protectedvirtual

dtor

Definition at line 61 of file AliMUONPreprocessor.cxx.

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 AliMUONTriggerPreprocessor::Initialize(), and AliMUONTrackerPreprocessor::Initialize().

void AliMUONPreprocessor::ClearSubprocessors ( )
protected

Empty our subprocessor list

Definition at line 69 of file AliMUONPreprocessor.cxx.

Referenced by 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().

TList* AliMUONPreprocessor::GetFileSources ( Int_t  system,
const char *  id 
)
inline
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 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

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.

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: