File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
common/geometry_construction/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
OMSimOpticalModule::OMSimOpticalModule (OMSimPMTConstruction *p_PMTManager) : OMSimDetectorComponent(), m_managerPMT(p_PMTManager)
6
6
{
7
+ m_index = OMSimHitManager::getInstance ().getNextDetectorIndex ();
7
8
log_trace (" Constructor of OMSimOpticalModule" );
8
9
}
9
10
@@ -24,7 +25,6 @@ OMSimPMTConstruction *OMSimOpticalModule::getPMTmanager()
24
25
25
26
void OMSimOpticalModule::configureSensitiveVolume (OMSimDetectorConstruction *pDetConst)
26
27
{
27
- m_index = OMSimHitManager::getInstance ().getNextDetectorIndex ();
28
28
log_debug (" Configuring {} as sensitive detector" , getName ());
29
29
OMSimHitManager::getInstance ().setNumberOfPMTs (getNumberOfPMTs (), m_index);
30
30
m_managerPMT->configureSensitiveVolume (pDetConst, getName ());
You can’t perform that action at this time.
0 commit comments