Skip to content

Commit c173371

Browse files
committed
o2-sim: No longer write FairRoot runtime database
- we are not using this file - file writing had crashes, which we can simply avoid
1 parent 1c7fc84 commit c173371

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

macro/o2sim.C

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,6 @@ FairRunSim* o2sim_init(bool asservice, bool evalmat = false)
160160
// run init
161161
run->Init();
162162

163-
// runtime database
164-
bool kParameterMerged = true;
165-
auto rtdb = run->GetRuntimeDb();
166-
auto parOut = new FairParRootFileIo(kParameterMerged);
167-
168-
std::stringstream s2;
169-
s2 << confref.getOutPrefix();
170-
if (asservice) {
171-
s2 << "_" << pid;
172-
}
173-
s2 << "_par.root";
174-
std::string parfilename = s2.str();
175-
parOut->open(parfilename.c_str());
176-
rtdb->setOutput(parOut);
177-
rtdb->saveOutput();
178-
rtdb->print();
179163
// add ALICE particles to TDatabasePDG singleton
180164
o2::O2DatabasePDG::addALICEParticles(TDatabasePDG::Instance());
181165

0 commit comments

Comments
 (0)