Skip to content

Commit c069e43

Browse files
committed
Disable upgrades
1 parent 5f8d73c commit c069e43

7 files changed

Lines changed: 5 additions & 5 deletions

File tree

DataFormats/Headers/include/Headers/DataHeader.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
#include "MemoryResources/Types.h"
4343
#include <cerrno>
4444

45-
#define ENABLE_UPGRADES
46-
4745
namespace o2
4846
{
4947
namespace header

Detectors/Base/src/GeometryManager.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Bool_t GeometryManager::getOriginalMatrix(const char* symname, TGeoHMatrix& m)
5151

5252
if (!gGeoManager || !gGeoManager->IsClosed()) {
5353
LOG(ERROR) << "No active geometry or geometry not yet closed!";
54+
;
5455
return kFALSE;
5556
}
5657

Steer/include/Steer/O2MCApplication.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class O2MCApplication : public O2MCApplicationBase
8585

8686
LOG(INFO) << "Generate primaries " << mPrimaries.size() << "\n";
8787
GetStack()->Reset();
88-
8988
// but here we init the stack from
9089
// a vector of particles that someone sets externally
9190
static_cast<o2::data::Stack*>(GetStack())->initFromPrimaries(mPrimaries);

Steer/src/O2MCApplication.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ void O2MCApplicationBase::ConstructGeometry()
8686
mModIdToName[mod->GetModId()] = mod->GetName();
8787
}
8888
}
89+
8990
FairMCApplication::ConstructGeometry();
9091

9192
std::ofstream voltomodulefile("MCStepLoggerVolMap.dat");

cmake/O2DefineOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ function(o2_define_options)
2828
# for the complete picture of how BUILD_SIMULATION is handled see
2929
# ../dependencies/O2SimulationDependencies.cmake
3030

31-
option(ENABLE_UPGRADES "Enable detectors for upgrades" ON)
31+
option(ENABLE_UPGRADES "Enable detectors for upgrades" OFF)
3232
endfunction()

run/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
add_library(allsim INTERFACE)
1414

1515
if(ENABLE_UPGRADES)
16+
target_compile_definitions(allsim INTERFACE ENABLE_UPGRADES)
1617
target_link_libraries(allsim
1718
INTERFACE O2::SimConfig
1819
O2::Steer

run/O2HitMerger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ void O2HitMerger::initDetInstances()
747747
initHitTreeAndOutFile(i);
748748
}
749749
if (counter != DetID::nDetectors) {
750-
LOG(WARNING) << " O2HitMerger: Some Detectors are potentially missing in this initialization " << counter;
750+
LOG(WARNING) << " O2HitMerger: Some Detectors are potentially missing in this initialization ";
751751
}
752752
}
753753

0 commit comments

Comments
 (0)