AliceO2 icon indicating copy to clipboard operation
AliceO2 copied to clipboard

`fLoaderName` is an object, not pointer to object

Open cholmcc opened this issue 2 years ago • 0 comments

https://github.com/AliceO2Group/AliceO2/blob/efe84cb78f0e72da74104dfb09d09edd9e7403b7/Steer/include/Steer/O2RunSim.h#L63

FairRootSim::fLoaderName is an object, not pointer to object. Call should be replaced with

FairGeoLoader* loader = new FairGeoLoader(fLoaderName.Data(), "Geo Loader");

or perhaps

FairGeoLoader* loader = new FairGeoLoader(GetGeoModel()->Data(), "Geo Loader");

cholmcc avatar Dec 05 '23 10:12 cholmcc