|
||||
File indexing completed on 2025-01-30 09:17:14
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // Author : M.Frank 0011 // 0012 //========================================================================== 0013 0014 // Framework include files 0015 #include <DD4hep/InstanceCount.h> 0016 #include <DDDigi/DigiEventAction.h> 0017 0018 /// Standard constructor 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 /// Default destructor 0027 dd4hep::digi::DigiEventAction::~DigiEventAction() { 0028 InstanceCount::decrement(this); 0029 } 0030 0031 /// Set the parallization flag; returns previous value 0032 bool dd4hep::digi::DigiEventAction::setExecuteParallel(bool new_value) { 0033 bool old = m_parallel; 0034 m_parallel = new_value; 0035 return old; 0036 } 0037
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |