Skip to content
Snippets Groups Projects
Commit 6e7b92ed authored by Elidiano Tronchin's avatar Elidiano Tronchin
Browse files

* Comment in code line about construction Box of Crystals and commented lines of double PVPlacement

parent beb7f53c
Branches
No related tags found
No related merge requests found
...@@ -233,12 +233,13 @@ G4LogicalVolume* Dali::BuildSquareDetector(){ ...@@ -233,12 +233,13 @@ G4LogicalVolume* Dali::BuildSquareDetector(){
lTopPlatePMT->SetVisAttributes(Can_Attributes); lTopPlatePMT->SetVisAttributes(Can_Attributes);
G4Box* box_MgO = new G4Box("Dali_BoxMgO", Dali_NS::Hight*0.5-1*mm, G4Box* box_MgO = new G4Box("Dali_BoxMgO", Dali_NS::Hight*0.5-1*mm,
Dali_NS::Width*0.5-1*mm, Dali_NS::Thickness*0.5-1*mm); Dali_NS::Width*0.5-1*mm, Dali_NS::Thickness*0.5-1*mm); // Size of Al Can but w/o thickness of AlCan
m_SquareDetector_CanMgO = new G4LogicalVolume(box_MgO,MgO,"logic_Dali_CanMg0",0,0,0); m_SquareDetector_CanMgO = new G4LogicalVolume(box_MgO,MgO,"logic_Dali_CanMg0",0,0,0);
G4Box* box_crystal = new G4Box("Dali_BoxNaI", Dali_NS::Hight*0.5-2.4*mm, G4Box* box_crystal = new G4Box("Dali_BoxNaI", Dali_NS::Hight*0.5-2.4*mm,
Dali_NS::Width*0.5-2.4*mm, Dali_NS::Thickness*0.5-2.4*mm); Dali_NS::Width*0.5-2.4*mm, Dali_NS::Thickness*0.5-2.4*mm); // Size of AlCan but w/o thickness of AlCan and MgO
G4Material* DetectorMaterial = MaterialManager::getInstance()->GetMaterialFromLibrary(Dali_NS::Material); G4Material* DetectorMaterial = MaterialManager::getInstance()->GetMaterialFromLibrary(Dali_NS::Material);
m_SquareDetector_Crystal = new G4LogicalVolume(box_crystal,NaI_Tl,"logic_Dali_Box",0,0,0); m_SquareDetector_Crystal = new G4LogicalVolume(box_crystal,NaI_Tl,"logic_Dali_Box",0,0,0);
...@@ -322,12 +323,12 @@ G4LogicalVolume* Dali::BuildSquareDetector(){ ...@@ -322,12 +323,12 @@ G4LogicalVolume* Dali::BuildSquareDetector(){
m_SquareDetector_Crystal->SetSensitiveDetector(m_DaliScorer); m_SquareDetector_Crystal->SetSensitiveDetector(m_DaliScorer);
new G4PVPlacement(0, positionnull, // new G4PVPlacement(0, positionnull,
m_SquareDetector_Crystal, // m_SquareDetector_Crystal,
"CrystalNaI", // "CrystalNaI",
m_SquareDetector_CanMgO, // m_SquareDetector_CanMgO,
false, // false,
0); // 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment