Warning, file /DD4hep/DDDigi/src/DigiEventAction.cpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <DD4hep/InstanceCount.h>
0016 #include <DDDigi/DigiEventAction.h>
0017
0018
0019 dd4hep::digi::DigiEventAction::DigiEventAction(const DigiKernel& krnl, const std::string& nam)
0020 : DigiAction(krnl, nam)
0021 {
0022 InstanceCount::increment(this);
0023 declareProperty("parallel", m_parallel);
0024 }
0025
0026
0027 dd4hep::digi::DigiEventAction::~DigiEventAction() {
0028 InstanceCount::decrement(this);
0029 }
0030
0031
0032 bool dd4hep::digi::DigiEventAction::setExecuteParallel(bool new_value) {
0033 bool old = m_parallel;
0034 m_parallel = new_value;
0035 return old;
0036 }
0037