//_______________________________________________________________
AliGRPPreprocessor::AliGRPPreprocessor(AliShuttleInterface* shuttle):
- AliPreprocessor("GRP",shuttle), fPressure(0)
+ AliPreprocessor("GRP",shuttle), fRun(-1), fPressure(0)
{
// constructor - shuttle must be instantiated!
{
// Initialize preprocessor
+ fRun = run;
AliPreprocessor::Initialize(run, startTime, endTime);
AliInfo("Initialization of the GRP preprocessor.");
error |= 16;
}
else {
+ TString titleCTPcfg = Form("CTP cfg for run %i from DAQ",fRun);
+ runcfg->SetTitle(titleCTPcfg);
+ Log(Form("Title = %s", runcfg->GetTitle()));
AliCDBMetaData metaData;
metaData.SetBeamPeriod(0);
metaData.SetResponsible("Roman Lietava");
const char* password,
const char *cdbRoot
);
+ Int_t GetRunNumber() const {return fRun;}
+ void SetRunNumber(Int_t runNumber) {fRun = runNumber;}
protected:
static const Int_t fgknDCSDP; //! number of dcs dps
static const char* fgkDCSDataPoints[]; //! names of dcs dps
static const char* fgkLHCState[]; //! names of LHC States
-
+ Int_t fRun; // run number
+
AliDCSSensorArray* fPressure; //pressure array
AliGRPPreprocessor(const AliGRPPreprocessor&); // Not implemented
AliGRPPreprocessor& operator=(const AliGRPPreprocessor&); // Not implemented
- ClassDef(AliGRPPreprocessor, 1);
+ ClassDef(AliGRPPreprocessor, 2);
};
#endif