#include "AliMUONGainEventGenerator.h"
+//-----------------------------------------------------------------------------
/// \class AliMUONGainEventGenerator
///
/// Generate raw data files that mimics the one we'll get from the
/// the first step, to check that everything is OK in the whole procedure.
///
/// \author Laurent Aphecetche
+//-----------------------------------------------------------------------------
#include "AliMUONCalibrationData.h"
#include "AliMUONVStore.h"
AliInfo(Form("Creating directory %s",dir.Data()));
gSystem->MakeDirectory(dir.Data());
gSystem->ChangeDirectory(dir.Data());
- AliCodeTimerAuto(Form("generation of pedestal for run %d",runNumber));
+ AliCodeTimerAuto(Form("generation of pedestal for run %d",runNumber),0);
TString pedfile;
if ( fDateBaseFileName.Length() > 0 ) pedfile = Form("%s.%d",fDateBaseFileName.Data(),runNumber);
AliMUONPedestalEventGenerator pgen(runNumber,fNofEventsPerFile,pedfile.Data());
/// Generate "pedestal" values for a given run, by "decalibrating"
/// charge injection
- AliCodeTimerAuto(Form("Run %d injection %7.2f",runNumber,injection));
+ AliCodeTimerAuto(Form("Run %d injection %7.2f",runNumber,injection),0);
TIter next(fSourceGains->CreateIterator());
AliMUONVStore* generatedPedestals = fSourcePedestals->Create();
// non existing channel
continue;
}
- Int_t adc = AliMUONDigitizerV3::DecalibrateTrackerDigit(*ped,*gain,i,
+ Int_t adc = AliMUONDigitizerV3::DecalibrateTrackerDigit(*ped,gain,i,
injection,kFALSE);
Float_t res = (ped->ValueAsFloat(i,1)/mean);
md.SetResponsible("AliMUONGainEventGenerator");
AliCDBManager* man = AliCDBManager::Instance();
- man->SetDefaultStorage("local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB");
+ man->SetDefaultStorage("local://$ALICE_ROOT/OCDB/SHUTTLE/TestShuttle/TestCDB");
man->Put(object,id,&md);
}