Commit cb115321 authored by Rosen Matev's avatar Rosen Matev
Browse files

Temporarily disable VP digitization with DD4hep

When building with DD4hep the VP DE is different.
parent a2a420f8
Pipeline #2701155 passed with stage
in 18 seconds
......@@ -15,6 +15,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5)
find_package(GaudiProject)
#---------------------------------------------------------------
set(USE_DD4HEP "OFF" CACHE BOOL "Controls whether DD4hep is used for the subdetectors supporting it")
if (USE_DD4HEP)
add_compile_definitions(USE_DD4HEP)
endif()
# Declare project name and version
gaudi_project(Boole v41r3
USE Lbcom v31r3
......
......@@ -17,7 +17,6 @@
#include "Event/MCTrackInfo.h"
class DeVP;
class DeUTDetector;
class DeFTDetector;
......
......@@ -34,6 +34,8 @@
* @date 20/09/09
*/
#ifndef USE_DD4HEP
namespace VPDepositCreatorConditions {
struct ConditionsCache {
ConditionsCache( std::array<double, 52> diffCoeff, std::array<std::array<double, 4>, 52> dTP )
......@@ -535,3 +537,5 @@ void VPDepositCreator::deadTimeSim( LHCb::MCVPDigits& digits, const DeVP& det, c
m_numVPDeadtimeKilled += numKilled;
return;
}
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment