diff --git a/source/lhcb/tests/G4GammaToDiLeptonConversionTest/src/RunAction.cc b/source/lhcb/tests/G4GammaToDiLeptonConversionTest/src/RunAction.cc index dd839d690cc9475cbae28a6edb375f7b5d6d8b40..aababa752e5d9676447eff559ad3c3a713cda887 100644 --- a/source/lhcb/tests/G4GammaToDiLeptonConversionTest/src/RunAction.cc +++ b/source/lhcb/tests/G4GammaToDiLeptonConversionTest/src/RunAction.cc @@ -90,10 +90,11 @@ void RunAction::BeginOfRunAction(const G4Run* aRun) G4int n = aRun->GetNumberOfEventToBeProcessed(); G4String outDir = "G4GammaCVTestROOTFiles"; // *** The output directory name is hardwired! // m.v. Workaround to keep the same file name, if not a problem for LHCbPR can be removed - G4String mat = "Al"; - if(fMat->GetName() != "Aluminium") mat=fMat->GetName(); + //G4String mat = "Al"; + //if(fMat->GetName() != "Aluminium") mat=fMat->GetName(); std::stringstream tmp; - tmp << outDir << "/TestEM6_" << mat << "_" << t/mm << "mm_" << e/GeV << "GeV_" << n << ".root"; + //tmp << outDir << "/TestEM6_" << mat << "_" << t/mm << "mm_" << e/GeV << "GeV_" << n << ".root"; + tmp << outDir << "/TestEM6_Al_" << t/mm << "mm_" << e/GeV << "GeV_" << n << ".root"; G4String fileName = tmp.str(); fAnalysis->OpenFile(fileName);