ATLAS Offline Software
Loading...
Searching...
No Matches
LVNotifier Class Reference

#include <LVNotifier.h>

Inheritance diagram for LVNotifier:
Collaboration diagram for LVNotifier:

Public Member Functions

void NotifyRegistration ()
void NotifyDeRegistration ()

Private Member Functions

 LVNotifier (G4GeometryNotifierSvc *)

Private Attributes

G4GeometryNotifierSvcm_notifierSvc

Friends

class G4GeometryNotifierSvc

Detailed Description

Todo
NEEDS DOCUMENTATION

Definition at line 14 of file LVNotifier.h.

Constructor & Destructor Documentation

◆ LVNotifier()

LVNotifier::LVNotifier ( G4GeometryNotifierSvc * gs)
private

Definition at line 12 of file LVNotifier.cxx.

13 : m_notifierSvc(gs)
14{
15 G4LogicalVolumeStore* store = G4LogicalVolumeStore::GetInstance();
16 store->SetNotifier(this);
17}
G4GeometryNotifierSvc * m_notifierSvc
Definition LVNotifier.h:27
TestStore store
Definition TestStore.cxx:23

Member Function Documentation

◆ NotifyDeRegistration()

void LVNotifier::NotifyDeRegistration ( )

Definition at line 26 of file LVNotifier.cxx.

27{
28}

◆ NotifyRegistration()

void LVNotifier::NotifyRegistration ( )

Definition at line 19 of file LVNotifier.cxx.

20{
21 G4LogicalVolumeStore* store = G4LogicalVolumeStore::GetInstance();
22 G4LogicalVolume* lV = store->back();
23 lV->SetName( m_notifierSvc->GetCurrentDetectorName() + "::" + lV->GetName() );
24}

◆ G4GeometryNotifierSvc

friend class G4GeometryNotifierSvc
friend

Definition at line 16 of file LVNotifier.h.

Member Data Documentation

◆ m_notifierSvc

G4GeometryNotifierSvc* LVNotifier::m_notifierSvc
private

Definition at line 27 of file LVNotifier.h.


The documentation for this class was generated from the following files: