20 #include "AliCDBEntry.h"
30 #include "AliShuttleInterface.h"
31 #include "Riostream.h"
32 #include "TObjArray.h"
51 : AliPreprocessor(detName, shuttle),
84 if ( processDCS == kTRUE )
fProcessDCS = processDCS;
97 Log(Form(
"WARNING-RunType=%s is not one I should handle.",GetRunType()));
102 AliCDBEntry* cdbEntry =
GetFromOCDB(
"Calib",
"MappingData");
105 Log(
"Could not get MappingData from OCDB !");
113 Log(
"DataMap is not of the expected type. That is bad...");
135 Log(Form(
"Initialize was %s",(
IsValid() ?
"fine" :
"NOT OK")));
146 Log(
"Will not run as not properly initialized");
152 Log(
"Nothing to do for me");
171 cout <<
"<AliMUONPreprocessor> subprocessors :" << endl;
183 if ( i >= 0 && i <= fSubprocessors->GetLast() )
Bool_t IsApplicable()
Whether we should do something or not.
AliCDBEntry * GetFromOCDB(const char *pathLevel2, const char *pathLevel3)
Publish AliPreprocessor::GetFromOCDB function.
Bool_t IsValid() const
Whether we can be used (e.g. whether we were properly initialized)
AliMUONVSubprocessor * Subprocessor(Int_t i) const
virtual void Print(Option_t *opt="") const
virtual Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
Base class for a shuttle sub-task for MUON (either TRK or TRG)
TTimeStamp startTime(2009, 8, 7, 0, 0, 0)
TObject class containing a map of strings to strings.
void Add(AliMUONVSubprocessor *subProcessor, Bool_t processDCS=kFALSE)
static AliMpDDLStore * ReadData(const AliMpDataStreams &dataStreams, Bool_t warn=true)
virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
void Log(const char *message)
Publish AliPreprocessor::Log function.
Bool_t fIsValid
! whether we were correctly initialized
Bool_t fIsApplicable
! whether we have something to do
void ClearSubprocessors()
Bool_t fProcessDCS
! whether the current subprocessor(s) needs DCS or not
TObjArray * fSubprocessors
! sub processors to execute
Shuttle preprocessor for MUON subsystems (TRK and TRG)
virtual UInt_t Process(TMap *dcsAliasMap)=0
Process this sub-task.
virtual UInt_t Process(TMap *dcsAliasMap)
virtual ~AliMUONPreprocessor()
Mapping data streams provider.