Removing osolete variable. Adding title to trigger configuration obj also
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 14:53:35 +0000 (14:53 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 14:53:35 +0000 (14:53 +0000)
when retrieve from DCS.

STEER/AliGRPPreprocessor.cxx
STEER/AliGRPPreprocessor.h

index 50934dd..e776ec9 100644 (file)
@@ -101,7 +101,7 @@ ClassImp(AliGRPPreprocessor)
 
 //_______________________________________________________________
 AliGRPPreprocessor::AliGRPPreprocessor(AliShuttleInterface* shuttle):
-       AliPreprocessor("GRP",shuttle), fRun(-1), fPressure(0)
+       AliPreprocessor("GRP",shuttle),  fPressure(0)
 {
   // constructor - shuttle must be instantiated!
 
@@ -121,7 +121,6 @@ void AliGRPPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
 {
   // Initialize preprocessor
 
-  fRun = run;
   AliPreprocessor::Initialize(run, startTime, endTime);
 
   AliInfo("Initialization of the GRP preprocessor.");
@@ -199,7 +198,6 @@ UInt_t AliGRPPreprocessor::Process(TMap* valueMap)
     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");
@@ -226,6 +224,8 @@ UInt_t AliGRPPreprocessor::Process(TMap* valueMap)
          error |= 16;;
        }
        else {
+        TString titleCTPcfg = Form("CTP cfg for run %i from DCS",fRun);
+         runcfg->SetTitle(titleCTPcfg);
          AliCDBMetaData metaData;
          metaData.SetBeamPeriod(0);
          metaData.SetResponsible("Roman Lietava");
index 8dcada1..03d5681 100644 (file)
@@ -41,8 +41,6 @@ class AliGRPPreprocessor: public AliPreprocessor {
                                   const char* password,
                                   const char *cdbRoot
                                  );
-  Int_t GetRunNumber() const {return fRun;}
-  void SetRunNumber(Int_t runNumber) {fRun = runNumber;}
 
  protected:
 
@@ -62,14 +60,13 @@ class AliGRPPreprocessor: public AliPreprocessor {
   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, 2);
+  ClassDef(AliGRPPreprocessor, 0);
 };
 
 #endif