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

Reduced SD thicknesses to avoid counting bounces off light guide walls adjacent to the SD

parent 72ebb0a5
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ DetectorConstruction::DetectorConstruction() ...@@ -72,7 +72,7 @@ DetectorConstruction::DetectorConstruction()
m_pmtPos( new G4ThreeVector(28.5*mm, 35.0*mm, -7.5*mm) ), m_pmtPos( new G4ThreeVector(28.5*mm, 35.0*mm, -7.5*mm) ),
m_rotation( new G4RotationMatrix() ), m_rotation( new G4RotationMatrix() ),
m_pmtDia(10.5*mm), m_pmtDia(10.5*mm),
m_PMTthickness(0.25*mm), m_PMTthickness(0.001*mm),
m_ConstructionHasBeenDone(false), m_ConstructionHasBeenDone(false),
m_UsingCADmodel(true), m_UsingCADmodel(true),
m_logicWorld(0), m_logicWorld(0),
...@@ -269,7 +269,7 @@ void DetectorConstruction::BuildDefaultLG( ){ ...@@ -269,7 +269,7 @@ void DetectorConstruction::BuildDefaultLG( ){
* Make the PMT logical volume and Sensitvie Detector * Make the PMT logical volume and Sensitvie Detector
*/ */
void DetectorConstruction::BuildPMT(){ void DetectorConstruction::BuildPMT(){
G4SDManager* SDman = G4SDManager::GetSDMpointer(); G4SDManager* SDman = G4SDManager::GetSDMpointer();
m_SDnames.push_back("MyPMT"); m_SDnames.push_back("MyPMT");
PMTSD* PMT = new PMTSD(m_SDnames.back(), false); // isIntermediate set to false. This is the final detector PMTSD* PMT = new PMTSD(m_SDnames.back(), false); // isIntermediate set to false. This is the final detector
...@@ -300,7 +300,7 @@ void DetectorConstruction::BuildPMT(){ ...@@ -300,7 +300,7 @@ void DetectorConstruction::BuildPMT(){
m_SDnames.push_back("IntSD1"); m_SDnames.push_back("IntSD1");
PMT = new PMTSD(m_SDnames.back(), true); // isIntermediate set to true PMT = new PMTSD(m_SDnames.back(), true); // isIntermediate set to true
SDman->AddNewDetector( PMT ); SDman->AddNewDetector( PMT );
m_solidIntSD.push_back( new G4Box("soldIntSD1",20.00*mm, 0.1*mm, 2.00*mm) ); m_solidIntSD.push_back( new G4Box("soldIntSD1",20.00*mm, 0.001*mm, 2.00*mm) );
m_logicIntSD.push_back( new G4LogicalVolume(m_solidIntSD.back(), materials->Air, "logicIntSD1") ); m_logicIntSD.push_back( new G4LogicalVolume(m_solidIntSD.back(), materials->Air, "logicIntSD1") );
m_logicIntSD.back()->SetVisAttributes(VisAtt_PMT); m_logicIntSD.back()->SetVisAttributes(VisAtt_PMT);
m_logicIntSD.back()->SetSensitiveDetector( PMT ); m_logicIntSD.back()->SetSensitiveDetector( PMT );
...@@ -311,7 +311,7 @@ void DetectorConstruction::BuildPMT(){ ...@@ -311,7 +311,7 @@ void DetectorConstruction::BuildPMT(){
m_SDnames.push_back("IntSD2"); m_SDnames.push_back("IntSD2");
PMT = new PMTSD(m_SDnames.back(), true); // isIntermediate set to true PMT = new PMTSD(m_SDnames.back(), true); // isIntermediate set to true
SDman->AddNewDetector( PMT ); SDman->AddNewDetector( PMT );
m_solidIntSD.push_back( new G4Box("soldIntSD2",50.00*mm, 0.1*mm, 1.00*mm) ); m_solidIntSD.push_back( new G4Box("soldIntSD2",50.00*mm, 0.001*mm, 1.00*mm) );
m_logicIntSD.push_back( new G4LogicalVolume(m_solidIntSD.back(), materials->Air, "logicIntSD2") ); m_logicIntSD.push_back( new G4LogicalVolume(m_solidIntSD.back(), materials->Air, "logicIntSD2") );
m_logicIntSD.back()->SetVisAttributes(VisAtt_PMT); m_logicIntSD.back()->SetVisAttributes(VisAtt_PMT);
m_logicIntSD.back()->SetSensitiveDetector( PMT ); m_logicIntSD.back()->SetSensitiveDetector( PMT );
......
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