]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCPreprocessor.cxx
Removing non used data members (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCPreprocessor.cxx
index 45e5ec250b1daebff46d73ed6975ed172fc01caa..7d4040ce6b12444bb4dea77c59c7a87347f6982a 100644 (file)
@@ -41,8 +41,10 @@ const TString kPedestalRunType = "PEDESTAL";  // pedestal run identifier
 const TString kPulserRunType = "PULSER";   // pulser run identifier
 const TString kPhysicsRunType = "PHYSICS";   // physics run identifier
 const TString kStandAloneRunType = "STANDALONE"; // standalone run identifier
+const TString kCosmicRunType = "COSMIC"; // cosmic run identifier
+const TString kLaserRunType = "LASER";   // laser run identifier
 const TString kDaqRunType = "DAQ"; // DAQ run identifier
-const TString kAmandaTemp = "tpc_PT_%d.Temperature"; // Amanda string for temperature entries
+const TString kAmandaTemp = "TPC_PT_%d_TEMPERATURE"; // Amanda string for temperature entries
 //const Double_t kFitFraction = 0.7;                 // Fraction of DCS sensor fits required              
 const Double_t kFitFraction = -1.0;          // Don't require minimum number of fits in commissioning run 
 
@@ -61,17 +63,15 @@ AliTPCPreprocessor::AliTPCPreprocessor(AliShuttleInterface* shuttle) :
   fROC = AliTPCROC::Instance();
 }
 //______________________________________________________________________________________________
-// AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor& org) :
-//   AliPreprocessor(org),
-//   fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE)
-// {
-//   // copy constructor not implemented
-//   //   -- missing underlying copy constructor in AliPreprocessor
-//
-//   Fatal("AliTPCPreprocessor", "copy constructor not implemented");
+ AliTPCPreprocessor::AliTPCPreprocessor(const AliTPCPreprocessor&  ) :
+   AliPreprocessor("TPC",0),
+   fConfEnv(0), fTemp(0), fHighVoltage(0), fConfigOK(kTRUE), fROC(0)
+ {
+
+   Fatal("AliTPCPreprocessor", "copy constructor not implemented");
 //
 // //  fTemp = new AliTPCSensorTempArray(*(org.fTemp));
-// }
+ }
 
 //______________________________________________________________________________________________
 AliTPCPreprocessor::~AliTPCPreprocessor()
@@ -100,8 +100,8 @@ void AliTPCPreprocessor::Initialize(Int_t run, UInt_t startTime,
   AliPreprocessor::Initialize(run, startTimeLocal, endTime);
 
        AliInfo(Form("\n\tRun %d \n\tStartTime %s \n\tEndTime %s", run,
-               TTimeStamp(startTime).AsString(),
-               TTimeStamp(endTime).AsString()));
+               TTimeStamp((time_t)startTime,0).AsString(),
+               TTimeStamp((time_t)endTime,0).AsString()));
 
   // Preprocessor configuration
 
@@ -270,9 +270,10 @@ UInt_t AliTPCPreprocessor::Process(TMap* dcsAliasMap)
 
   // Central Electrode processing
 
-  if( runType == kPhysicsRunType || runType == kStandAloneRunType || 
-      runType == kDaqRunType ) {    
+//  if( runType == kPhysicsRunType || runType == kStandAloneRunType || 
+//      runType == kDaqRunType ) {    
 
+   if (true) {                 // do CE processing for all run types
     Int_t numSources = 1;
     Int_t ceSource[2] = {AliShuttleInterface::kDAQ,AliShuttleInterface::kHLT} ;
     TString source = fConfEnv->GetValue("CE","DAQ");
@@ -436,7 +437,7 @@ UInt_t AliTPCPreprocessor::ExtractPedestals(Int_t sourceFXS)
          break;
        }
         AliTPCCalibPedestal *calPed;
-       f->GetObject("AliTPCCalibPedestal",calPed);
+       f->GetObject("tpcCalibPedestal",calPed);
         if ( !calPed ) {
          Log ("No pedestal calibration object in file.");
          result = 2;
@@ -537,7 +538,7 @@ UInt_t AliTPCPreprocessor::ExtractPulser(Int_t sourceFXS)
          break;
        }
         AliTPCCalibPulser *calPulser;
-       f->GetObject("AliTPCCalibPulser",calPulser);
+       f->GetObject("tpcCalibPulser",calPulser);
         if ( !calPulser ) {
          Log ("No pulser calibration object in file.");
          result = 2;
@@ -652,7 +653,7 @@ UInt_t AliTPCPreprocessor::ExtractCE(Int_t sourceFXS)
          break;
        }
         AliTPCCalibCE *calCE;
-       f->GetObject("AliTPCCalibCE",calCE);
+       f->GetObject("tpcCalibCE",calCE);
 
         //  replace entries for the sectors available in the present file