Skip to content
Snippets Groups Projects
Commit bafcb61a authored by Chad Lantz's avatar Chad Lantz
Browse files

Set SD top of volume

parent 2f39fc30
No related branches found
No related tags found
No related merge requests found
......@@ -385,6 +385,7 @@ void ModTypeRPD::ConstructPanFluteDetector()
FiberSD* aFiberSD = new FiberSD( fiberSDname, m_modNum, OPTICAL );
aFiberSD->HistInitialize();
aFiberSD->SetTopOfVolume( m_pos->y() - m_HousingThickness/2.0 + housingHeight/2.0);
SDman->AddNewDetector( aFiberSD );
for(int i = 0; i < n_rows; i++){
m_PFrpdLogical[i]->SetSensitiveDetector( aFiberSD );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment