File tree Expand file tree Collapse file tree
Detectors/Upgrades/ALICE3/IOTOF/simulation/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ void Digitizer::init()
5757 }
5858
5959 const auto & digitizerParams = o2::iotof::DPLDigitizerParam::Instance ();
60-
60+
6161 LOG (info) << " Initializing IOTOF digitizer" ;
6262 LOG (info) << " Time resolution: " << digitizerParams.timeResolution * 1e3 << " ps" ;
6363 LOG (info) << " Charge threshold: " << digitizerParams.chargeThreshold << " electrons" ;
6464 LOG (info) << " Continuous mode: " << (mContinuous ? " ON" : " OFF" );
65-
65+
6666 if (!digitizerParams.efficiencyCcdbPath .empty ()) {
6767 LOG (info) << " Loading efficiency map from CCDB: " << digitizerParams.efficiencyCcdbPath ;
6868 loadEfficiencyMapFromCCDB (digitizerParams.efficiencyCcdbPath );
@@ -372,7 +372,7 @@ void Digitizer::loadEfficiencyMap(const std::string& filePath)
372372 file->Close ();
373373}
374374
375- void Digitizer::loadEfficiencyMapFromCCDB (const std::string& ccdbPath)
375+ void Digitizer::loadEfficiencyMapFromCCDB (const std::string& ccdbPath)
376376{
377377 // Load the efficiency map from CCDB
378378 auto rawMap = o2::ccdb::BasicCCDBManager::instance ().get <TH2D >(ccdbPath);
@@ -384,7 +384,7 @@ void Digitizer::loadEfficiencyMapFromCCDB(const std::string& ccdbPath)
384384 LOG (info) << " Successfully retrieved efficiency map from CCDB path: " << ccdbPath;
385385 LOG (info) << " Efficiency map dimensions: " << rawMap->GetNbinsX () << " x " << rawMap->GetNbinsY ();
386386 }
387-
387+
388388 mEfficiencyMap = dynamic_cast <TH2D *>(rawMap->Clone (" mEfficiencyMap" ));
389389 mEfficiencyMap ->SetDirectory (nullptr ); // Detach from file to avoid deletion when file is closed
390390
You can’t perform that action at this time.
0 commit comments