ATLAS Offline Software
G4GeometryNotifierSvc.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include "PVNotifier.h"
8 #include "LVNotifier.h"
9 
10 G4GeometryNotifierSvc::G4GeometryNotifierSvc( const std::string& name, ISvcLocator* pSvcLocator )
11  : base_class(name,pSvcLocator)
12 {
13  ATH_MSG_DEBUG( "G4GeometryNotifierSvc being created!" );
14 }
15 
17 {
18  if (lvNotifier) delete lvNotifier;
19  if (pvNotifier) delete pvNotifier;
20 }
21 
24  {
25  ATH_MSG_DEBUG( "Notifiers being instantiated " );
28  }
29 
30  ATH_MSG_DEBUG( "G4GeometryNotifierSvc initialized!!!" );
31  return StatusCode::SUCCESS;
32 }
33 
35  ATH_MSG_DEBUG( "G4GeometryNotifierSvc being finalized!!!" );
36  return StatusCode::SUCCESS;
37 }
PVNotifier.h
G4GeometryNotifierSvc::m_activateLVNotifier
Gaudi::Property< bool > m_activateLVNotifier
Definition: G4GeometryNotifierSvc.h:32
G4GeometryNotifierSvc::finalize
StatusCode finalize() override final
Definition: G4GeometryNotifierSvc.cxx:34
G4GeometryNotifierSvc.h
G4GeometryNotifierSvc::G4GeometryNotifierSvc
G4GeometryNotifierSvc(const std::string &name, ISvcLocator *pSvcLocator)
Definition: G4GeometryNotifierSvc.cxx:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVNotifier
Definition: LVNotifier.h:15
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
PVNotifier
Definition: PVNotifier.h:16
G4GeometryNotifierSvc::pvNotifier
G4VNotifier * pvNotifier
Definition: G4GeometryNotifierSvc.h:35
G4GeometryNotifierSvc::initialize
StatusCode initialize() override final
Definition: G4GeometryNotifierSvc.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
G4GeometryNotifierSvc::lvNotifier
G4VNotifier * lvNotifier
Definition: G4GeometryNotifierSvc.h:34
G4GeometryNotifierSvc::~G4GeometryNotifierSvc
virtual ~G4GeometryNotifierSvc()
Definition: G4GeometryNotifierSvc.cxx:16
G4GeometryNotifierSvc::m_activatePVNotifier
Gaudi::Property< bool > m_activatePVNotifier
Definition: G4GeometryNotifierSvc.h:33
LVNotifier.h