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
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()
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
// 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");
break;
}
AliTPCCalibPedestal *calPed;
- f->GetObject("AliTPCCalibPedestal",calPed);
+ f->GetObject("tpcCalibPedestal",calPed);
if ( !calPed ) {
Log ("No pedestal calibration object in file.");
result = 2;
break;
}
AliTPCCalibPulser *calPulser;
- f->GetObject("AliTPCCalibPulser",calPulser);
+ f->GetObject("tpcCalibPulser",calPulser);
if ( !calPulser ) {
Log ("No pulser calibration object in file.");
result = 2;
break;
}
AliTPCCalibCE *calCE;
- f->GetObject("AliTPCCalibCE",calCE);
+ f->GetObject("tpcCalibCE",calCE);
// replace entries for the sectors available in the present file