ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4::InactiveSDTool Class Reference

Sensitive detector tool which manages inactive-area LAr calib SDs. More...

#include <InactiveSDTool.h>

Inheritance diagram for LArG4::InactiveSDTool:
Collaboration diagram for LArG4::InactiveSDTool:

Public Member Functions

 InactiveSDTool (const std::string &type, const std::string &name, const IInterface *parent)
 Constructor.
StatusCode initialize () override final
 Initialize the tool.
StatusCode Gather () override final
 Calls down to all the SDs to pack their hits into one collection.
virtual StatusCode Gather (HitCollectionMap &) override
StatusCode initializeSD () override
 Setup an SD in the current thread.
virtual StatusCode SetupEvent () override
 Beginning of an athena event.
virtual StatusCode SetupEvent (HitCollectionMap &) override

Protected Member Functions

LArG4CalibSDmakeOneSD (const std::string &name, ILArCalibCalculatorSvc *calc, const std::vector< std::string > &volumes) const
 Helper method to create one SD.
StatusCode assignSD (std::unique_ptr< G4VSensitiveDetector > sd, const std::vector< std::string > &volumes) const
 Assign SD to a list of volumes.
G4VSensitiveDetector * getSD ()
 Retrieve the current SD.
void SetSensitiveDetector (G4LogicalVolume *, G4VSensitiveDetector *) const
 Method stolen from G4VUserDetectorConstruction in G4 10.2.

Protected Attributes

Gaudi::Property< std::vector< std::string > > m_volumeNames {this, "LogicalVolumeNames", {}}
 All the volumes to which this SD is assigned.
Gaudi::Property< std::vector< std::string > > m_outputCollectionNames {this, "OutputCollectionNames", {}}
 Names of all output collections written out by this SD.
Gaudi::Property< bool > m_noVolumes {this, "NoVolumes", false}
 This SensitiveDetector has no volumes associated with it.
configuration properties
Gaudi::Property< G4bool > m_doPID {this, "ParticleID", false}
 Are we set up to run with PID hits?
Calo identifier helpers
const LArEM_IDm_larEmID {nullptr}
const LArFCAL_IDm_larFcalID {nullptr}
const LArHEC_IDm_larHecID {nullptr}
const CaloDM_IDm_caloDmID {nullptr}
const AtlasDetectorIDm_id_helper {nullptr}

Private Member Functions

StatusCode initializeCalculators () override final
 Initialize Calculator Services.
G4VSensitiveDetector * makeSD () const override final
 Create the SD wrapper for current worker thread.
void setSD (G4VSensitiveDetector *)
 Set the current SD.

Static Private Member Functions

static bool matchStrings (const char *first, const char *second)
 Match two strings with wildcard support.

Private Attributes

Gaudi::Property< std::vector< std::string > > m_barPreVolumes {this, "BarrelPreVolumes"}
Gaudi::Property< std::vector< std::string > > m_barVolumes {this, "BarrelVolumes"}
Gaudi::Property< std::vector< std::string > > m_ECPosInVolumes {this, "ECPosInVolumes"}
Gaudi::Property< std::vector< std::string > > m_ECPosOutVolumes {this, "ECPosOutVolumes"}
Gaudi::Property< std::vector< std::string > > m_ECNegInVolumes {this, "ECNegInVolumes"}
Gaudi::Property< std::vector< std::string > > m_ECNegOutVolumes {this, "ECNegOutVolumes"}
Gaudi::Property< std::vector< std::string > > m_HECWheelVolumes {this, "HECWheelVolumes"}
Gaudi::Property< std::vector< std::string > > m_fcal1Volumes {this, "FCAL1Volumes"}
Gaudi::Property< std::vector< std::string > > m_fcal2Volumes {this, "FCAL2Volumes"}
Gaudi::Property< std::vector< std::string > > m_fcal3Volumes {this, "FCAL3Volumes"}
Gaudi::Property< std::string > m_hitCollName {this, "HitCollectionName", "LArCalibrationHitInactive"}
 Hit collection name.
ServiceHandle< ILArCalibCalculatorSvcm_embpscalc
ServiceHandle< ILArCalibCalculatorSvcm_embcalc
ServiceHandle< ILArCalibCalculatorSvcm_emepiwcalc
ServiceHandle< ILArCalibCalculatorSvcm_emeniwcalc
ServiceHandle< ILArCalibCalculatorSvcm_emepowcalc
ServiceHandle< ILArCalibCalculatorSvcm_emenowcalc
ServiceHandle< ILArCalibCalculatorSvcm_heccalc
ServiceHandle< ILArCalibCalculatorSvcm_fcal1calc
ServiceHandle< ILArCalibCalculatorSvcm_fcal2calc
ServiceHandle< ILArCalibCalculatorSvcm_fcal3calc
G4VSensitiveDetector * m_SD {}
 The sensitive detector to which this thing corresponds.

Detailed Description

Sensitive detector tool which manages inactive-area LAr calib SDs.

Design is in flux.

Definition at line 24 of file InactiveSDTool.h.

Constructor & Destructor Documentation

◆ InactiveSDTool()

LArG4::InactiveSDTool::InactiveSDTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Constructor.

Member Function Documentation

◆ assignSD()

StatusCode SensitiveDetectorBase::assignSD ( std::unique_ptr< G4VSensitiveDetector > sd,
const std::vector< std::string > & volumes ) const
protectedinherited

Assign SD to a list of volumes.

This method supports wild card matching

Definition at line 64 of file SensitiveDetectorBase.cxx.

66{
67 // Propagate verbosity setting to the SD
68 if(msgLvl(MSG::VERBOSE)) sd->SetVerboseLevel(10);
69 else if(msgLvl(MSG::DEBUG)) sd->SetVerboseLevel(5);
70
71 // Add the sensitive detector to the SD manager in G4 for SDs,
72 // even if it has no volumes associated to it.
73 auto sdMgr = G4SDManager::GetSDMpointer();
74 auto sdPtr = sd.get();
75 // SDManager is now the SD owner
76 sdMgr->AddNewDetector(sd.release());
77
78 if(!volumes.empty()) {
79 bool gotOne = false;
80 auto logicalVolumeStore = G4LogicalVolumeStore::GetInstance();
81 for(const auto& volumeName : volumes) {
82 // Keep track of how many volumes we find with this name string.
83 // We allow for multiple matches.
84 int numFound = 0;
85
86 // Find volumes with this name
87 for(auto* logVol : *logicalVolumeStore) {
88
89 ATH_MSG_VERBOSE("Check whether "<<logVol->GetName()<<" belongs to the set of sensitive detectors "<<volumeName);
90 if( matchStrings( volumeName.data(), logVol->GetName() ) ){
91 ++numFound;
92 SetSensitiveDetector(logVol, sdPtr);
93 }
94
95 }
96 // Warn if no volumes were found
97 if(numFound == 0) {
98 ATH_MSG_WARNING("Volume " << volumeName <<
99 " not found in G4LogicalVolumeStore.");
100 }
101 else {
102 ATH_MSG_VERBOSE("Found " << numFound << " copies of LV " << volumeName <<
103 "; SD " << sd->GetName() << " assigned.");
104 gotOne = true;
105 }
106
107 }
108
109 // Abort if we have failed to assign any volume
110 if(!gotOne) {
111 ATH_MSG_ERROR( "Failed to assign *any* volume to SD " << name() <<
112 " and expected at least one. Size of the volume store "<<G4LogicalVolumeStore::GetInstance()->size() );
113 return StatusCode::FAILURE;
114 }
115 }
116
117 return StatusCode::SUCCESS;
118}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
static bool matchStrings(const char *first, const char *second)
Match two strings with wildcard support.
void SetSensitiveDetector(G4LogicalVolume *, G4VSensitiveDetector *) const
Method stolen from G4VUserDetectorConstruction in G4 10.2.

◆ Gather() [1/2]

StatusCode LArG4::CalibSDTool::Gather ( )
finaloverridevirtualinherited

Calls down to all the SDs to pack their hits into one collection.

Reimplemented from SensitiveDetectorBase.

◆ Gather() [2/2]

◆ getSD()

G4VSensitiveDetector * SensitiveDetectorBase::getSD ( )
protectedinherited

Retrieve the current SD.

In AthenaMT, this means the thread-local SD. Otherwise, it is simply the single SD.

Definition at line 120 of file SensitiveDetectorBase.cxx.

121{
122#ifdef G4MULTITHREADED
123 // Get current thread-ID
124 const auto tid = std::this_thread::get_id();
125 // Retrieve it from the SD map
126 auto sdPair = m_sdThreadMap.find(tid);
127 if(sdPair == m_sdThreadMap.end()) return nullptr;
128 return sdPair->second;
129#else
130 return m_SD;
131#endif
132}
G4VSensitiveDetector * m_SD
The sensitive detector to which this thing corresponds.

◆ initialize()

StatusCode LArG4::CalibSDTool::initialize ( )
finaloverrideinherited

Initialize the tool.

◆ initializeCalculators()

StatusCode LArG4::InactiveSDTool::initializeCalculators ( )
finaloverrideprivatevirtual

Initialize Calculator Services.

Reimplemented from LArG4::CalibSDTool.

◆ initializeSD()

StatusCode SensitiveDetectorBase::initializeSD ( )
overrideinherited

Setup an SD in the current thread.

Separate from the AthAlgTool initialize() method because it needs to be called once per worker thread in AthenaMT. Don't confuse this with the G4 SD method Initialize which is called at the beginning of every G4 event.

Definition at line 25 of file SensitiveDetectorBase.cxx.

26{
27 ATH_MSG_VERBOSE( name() << "::initializeSD()" );
28
29 // Sanity check for volume configuration problems.
30 // It would be better to have a more robust solution for this.
31 if(m_volumeNames.empty() != m_noVolumes) {
32 ATH_MSG_ERROR("Initializing SD from " << name() << ", NoVolumes = "
33 << (m_noVolumes? "true" : "false") << ", but LogicalVolumeNames = "
34 << m_volumeNames.value());
35 return StatusCode::FAILURE;
36 }
37
38 // Make sure SD isn't already registered
39 if(getSD())
40 {
41 ATH_MSG_ERROR("Trying to create a SD which already exists!");
42 return StatusCode::FAILURE;
43 }
44
45 // Make the SD stored by this tool
46 auto sd = std::unique_ptr<G4VSensitiveDetector>(makeSD());
47 if(!sd)
48 {
49 ATH_MSG_ERROR("Failed to create SD!");
50 return StatusCode::FAILURE;
51 }
52 setSD(sd.get());
53
54 // Assign the SD to our list of volumes
55 ATH_CHECK( assignSD( std::move(sd), m_volumeNames.value() ) );
56
57 ATH_MSG_DEBUG( "Initialized and added SD " << name() );
58 return StatusCode::SUCCESS;
59}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
StatusCode assignSD(std::unique_ptr< G4VSensitiveDetector > sd, const std::vector< std::string > &volumes) const
Assign SD to a list of volumes.
Gaudi::Property< std::vector< std::string > > m_volumeNames
All the volumes to which this SD is assigned.
Gaudi::Property< bool > m_noVolumes
This SensitiveDetector has no volumes associated with it.
G4VSensitiveDetector * getSD()
Retrieve the current SD.
void setSD(G4VSensitiveDetector *)
Set the current SD.

◆ makeOneSD()

LArG4CalibSD * LArG4::CalibSDTool::makeOneSD ( const std::string & name,
ILArCalibCalculatorSvc * calc,
const std::vector< std::string > & volumes ) const
protectedinherited

Helper method to create one SD.

◆ makeSD()

G4VSensitiveDetector * LArG4::InactiveSDTool::makeSD ( ) const
finaloverrideprivate

Create the SD wrapper for current worker thread.

◆ matchStrings()

bool SensitiveDetectorBase::matchStrings ( const char * first,
const char * second )
staticprivateinherited

Match two strings with wildcard support.

Compares two strings character by character with optional * wildcard in the first argument

Definition at line 147 of file SensitiveDetectorBase.cxx.

148{
149 // If we reach at the end of both strings, we are done
150 if (*first == '\0' && *second == '\0')
151 return true;
152
153 // If there are consecutive '*' present in the first string
154 // advance to the next character
155 if(*first == '*' && *(first + 1) == '*')
156 return matchStrings(first + 1, second);
157
158 // Make sure that the characters after '*' are present in second string.
159 if (*first == '*' && *(first + 1) != '\0' && *second == '\0')
160 return false;
161
162 // If the current characters of both strings match
163 if (*first == *second)
164 return matchStrings(first + 1, second + 1);
165
166 // If there is *, then there are two possibilities
167 // a) We consider current character of second string
168 // b) We ignore current character of second string.
169 if (*first == '*')
170 return matchStrings(first + 1, second) || matchStrings(first, second + 1);
171 return false;
172}

◆ setSD()

void SensitiveDetectorBase::setSD ( G4VSensitiveDetector * sd)
privateinherited

Set the current SD.

In hive, this gets assigned as the thread-local SD.

Definition at line 134 of file SensitiveDetectorBase.cxx.

135{
136#ifdef G4MULTITHREADED
137 const auto tid = std::this_thread::get_id();
138 ATH_MSG_DEBUG("Creating and registering SD " << sd << " in thread " << tid);
139 m_sdThreadMap.insert( std::make_pair(tid, sd) );
140#else
141 m_SD = sd;
142#endif
143}

◆ SetSensitiveDetector()

void SensitiveDetectorBase::SetSensitiveDetector ( G4LogicalVolume * logVol,
G4VSensitiveDetector * aSD ) const
protectedinherited

Method stolen from G4VUserDetectorConstruction in G4 10.2.

Definition at line 174 of file SensitiveDetectorBase.cxx.

176{
177 // New Logic: allow for "multiple" SDs being attached to a single LV.
178 // To do that we use a special proxy SD called G4MultiSensitiveDetector
179
180 // Get existing SD if already set and check if it is of the special type
181 G4VSensitiveDetector* originalSD = logVol->GetSensitiveDetector();
182 if ( originalSD == nullptr )
183 {
184 logVol->SetSensitiveDetector(aSD);
185 }
186 else
187 {
188 G4MultiSensitiveDetector* msd = dynamic_cast<G4MultiSensitiveDetector*>(originalSD);
189 if ( msd != nullptr )
190 {
191 msd->AddSD(aSD);
192 }
193 else
194 {
195 // Construct a unique name using the volume address
196 std::stringstream ss;
198 const G4String msdname = "/MultiSD_" + logVol->GetName() + ss.str();
199 msd = new G4MultiSensitiveDetector(std::move(msdname));
200 // We need to register the proxy to have correct handling of IDs
201 G4SDManager::GetSDMpointer()->AddNewDetector(msd);
202 msd->AddSD(originalSD);
203 msd->AddSD(aSD);
204 logVol->SetSensitiveDetector(msd);
205 }
206 }
207}
static Double_t ss

◆ SetupEvent() [1/2]

virtual StatusCode SensitiveDetectorBase::SetupEvent ( )
inlineoverridevirtualinherited

Beginning of an athena event.

This is where collection initialization should happen. If we are using a WriteHandle, then this could be empty.

Reimplemented in AFP_SensitiveDetectorTool, AFP_SiDSensitiveDetectorTool, AFP_TDSensitiveDetectorTool, ALFA_SensitiveDetectorTool, CaloCellContainerSDTool, and MuonWallSDTool.

Definition at line 70 of file SensitiveDetectorBase.h.

70{ return StatusCode::SUCCESS; }

◆ SetupEvent() [2/2]

Member Data Documentation

◆ m_barPreVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_barPreVolumes {this, "BarrelPreVolumes"}
private

Definition at line 39 of file InactiveSDTool.h.

39{this, "BarrelPreVolumes"};

◆ m_barVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_barVolumes {this, "BarrelVolumes"}
private

Definition at line 40 of file InactiveSDTool.h.

40{this, "BarrelVolumes"};

◆ m_caloDmID

const CaloDM_ID* LArG4::CalibSDTool::m_caloDmID {nullptr}
protectedinherited

Definition at line 83 of file CalibSDTool.h.

83{nullptr};

◆ m_doPID

Gaudi::Property<G4bool> LArG4::CalibSDTool::m_doPID {this, "ParticleID", false}
protectedinherited

Are we set up to run with PID hits?

Definition at line 74 of file CalibSDTool.h.

74{this, "ParticleID", false};

◆ m_ECNegInVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_ECNegInVolumes {this, "ECNegInVolumes"}
private

Definition at line 43 of file InactiveSDTool.h.

43{this, "ECNegInVolumes"};

◆ m_ECNegOutVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_ECNegOutVolumes {this, "ECNegOutVolumes"}
private

Definition at line 44 of file InactiveSDTool.h.

44{this, "ECNegOutVolumes"};

◆ m_ECPosInVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_ECPosInVolumes {this, "ECPosInVolumes"}
private

Definition at line 41 of file InactiveSDTool.h.

41{this, "ECPosInVolumes"};

◆ m_ECPosOutVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_ECPosOutVolumes {this, "ECPosOutVolumes"}
private

Definition at line 42 of file InactiveSDTool.h.

42{this, "ECPosOutVolumes"};

◆ m_embcalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_embcalc
private
Initial value:
{this, "EMBCalibrationCalculator"
, "BarrelCalibrationCalculator"}

Definition at line 55 of file InactiveSDTool.h.

55 {this, "EMBCalibrationCalculator"
56 , "BarrelCalibrationCalculator"}; //Barrel::CalibrationCalculator

◆ m_embpscalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_embpscalc
private
Initial value:
{this, "EMBPSCalibrationCalculator"
, "BarrelPresamplerCalibrationCalculator"}

Definition at line 53 of file InactiveSDTool.h.

53 {this, "EMBPSCalibrationCalculator"
54 , "BarrelPresamplerCalibrationCalculator"}; //BarrelPresampler::CalibrationCalculator

◆ m_emeniwcalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_emeniwcalc
private
Initial value:
{this, "EMECNegIWCalibrationCalculator"
, "EMECNegInnerWheelCalibrationCalculator"}

Definition at line 59 of file InactiveSDTool.h.

59 {this, "EMECNegIWCalibrationCalculator"
60 , "EMECNegInnerWheelCalibrationCalculator"};//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, -1)

◆ m_emenowcalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_emenowcalc
private
Initial value:
{this, "EMECNegOWCalibrationCalculator"
, "EMECNegOuterWheelCalibrationCalculator"}

Definition at line 63 of file InactiveSDTool.h.

63 {this, "EMECNegOWCalibrationCalculator"
64 , "EMECNegOuterWheelCalibrationCalculator"}; //LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, -1)

◆ m_emepiwcalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_emepiwcalc
private
Initial value:
{this, "EMECPosIWCalibrationCalculator"
, "EMECPosInnerWheelCalibrationCalculator"}

Definition at line 57 of file InactiveSDTool.h.

57 {this, "EMECPosIWCalibrationCalculator"
58 , "EMECPosInnerWheelCalibrationCalculator"};//LArG4::EC::CalibrationCalculator(LArWheelCalculator::InnerAbsorberWheel, 1)

◆ m_emepowcalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_emepowcalc
private
Initial value:
{this, "EMECPosOWCalibrationCalculator"
, "EMECPosOuterWheelCalibrationCalculator"}

Definition at line 61 of file InactiveSDTool.h.

61 {this, "EMECPosOWCalibrationCalculator"
62 , "EMECPosOuterWheelCalibrationCalculator"}; //LArG4::EC::CalibrationCalculator(LArWheelCalculator::OuterAbsorberWheel, 1)

◆ m_fcal1calc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_fcal1calc
private
Initial value:
{this, "FCAL1CalibCalculator"
, "FCAL1CalibCalculator"}

Definition at line 67 of file InactiveSDTool.h.

67 {this, "FCAL1CalibCalculator"
68 , "FCAL1CalibCalculator"};

◆ m_fcal1Volumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_fcal1Volumes {this, "FCAL1Volumes"}
private

Definition at line 46 of file InactiveSDTool.h.

46{this, "FCAL1Volumes"};

◆ m_fcal2calc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_fcal2calc
private
Initial value:
{this, "FCAL2CalibCalculator"
, "FCAL2CalibCalculator"}

Definition at line 69 of file InactiveSDTool.h.

69 {this, "FCAL2CalibCalculator"
70 , "FCAL2CalibCalculator"};

◆ m_fcal2Volumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_fcal2Volumes {this, "FCAL2Volumes"}
private

Definition at line 47 of file InactiveSDTool.h.

47{this, "FCAL2Volumes"};

◆ m_fcal3calc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_fcal3calc
private
Initial value:
{this, "FCAL3CalibCalculator"
, "FCAL3CalibCalculator"}

Definition at line 71 of file InactiveSDTool.h.

71 {this, "FCAL3CalibCalculator"
72 , "FCAL3CalibCalculator"};

◆ m_fcal3Volumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_fcal3Volumes {this, "FCAL3Volumes"}
private

Definition at line 48 of file InactiveSDTool.h.

48{this, "FCAL3Volumes"};

◆ m_heccalc

ServiceHandle<ILArCalibCalculatorSvc> LArG4::InactiveSDTool::m_heccalc
private
Initial value:
{this, "HECWheelInactiveCalculator"
, "HECCalibrationWheelInactiveCalculator"}

Definition at line 65 of file InactiveSDTool.h.

65 {this, "HECWheelInactiveCalculator"
66 , "HECCalibrationWheelInactiveCalculator"}; //LArG4::HEC::LArHECCalibrationWheelCalculator(LArG4::HEC::kWheelInactive)

◆ m_HECWheelVolumes

Gaudi::Property<std::vector<std::string> > LArG4::InactiveSDTool::m_HECWheelVolumes {this, "HECWheelVolumes"}
private

Definition at line 45 of file InactiveSDTool.h.

45{this, "HECWheelVolumes"};

◆ m_hitCollName

Gaudi::Property<std::string> LArG4::InactiveSDTool::m_hitCollName {this, "HitCollectionName", "LArCalibrationHitInactive"}
private

Hit collection name.

Definition at line 51 of file InactiveSDTool.h.

51{this, "HitCollectionName", "LArCalibrationHitInactive"};

◆ m_id_helper

const AtlasDetectorID* LArG4::CalibSDTool::m_id_helper {nullptr}
protectedinherited

Definition at line 84 of file CalibSDTool.h.

84{nullptr};

◆ m_larEmID

const LArEM_ID* LArG4::CalibSDTool::m_larEmID {nullptr}
protectedinherited

Definition at line 80 of file CalibSDTool.h.

80{nullptr};

◆ m_larFcalID

const LArFCAL_ID* LArG4::CalibSDTool::m_larFcalID {nullptr}
protectedinherited

Definition at line 81 of file CalibSDTool.h.

81{nullptr};

◆ m_larHecID

const LArHEC_ID* LArG4::CalibSDTool::m_larHecID {nullptr}
protectedinherited

Definition at line 82 of file CalibSDTool.h.

82{nullptr};

◆ m_noVolumes

Gaudi::Property<bool> SensitiveDetectorBase::m_noVolumes {this, "NoVolumes", false}
protectedinherited

This SensitiveDetector has no volumes associated with it.

Definition at line 101 of file SensitiveDetectorBase.h.

101{this, "NoVolumes", false};

◆ m_outputCollectionNames

Gaudi::Property<std::vector<std::string> > SensitiveDetectorBase::m_outputCollectionNames {this, "OutputCollectionNames", {}}
protectedinherited

Names of all output collections written out by this SD.

Definition at line 98 of file SensitiveDetectorBase.h.

98{this, "OutputCollectionNames", {}};

◆ m_SD

G4VSensitiveDetector* SensitiveDetectorBase::m_SD {}
privateinherited

The sensitive detector to which this thing corresponds.

Definition at line 125 of file SensitiveDetectorBase.h.

125{};

◆ m_volumeNames

Gaudi::Property<std::vector<std::string> > SensitiveDetectorBase::m_volumeNames {this, "LogicalVolumeNames", {}}
protectedinherited

All the volumes to which this SD is assigned.

Definition at line 96 of file SensitiveDetectorBase.h.

96{this, "LogicalVolumeNames", {}};

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