Message: Regarding Debugging Overlapping problem in Calorimeter geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Regarding Debugging Overlapping problem in Calorimeter geometry 

Forum: Geometry
Date: 26 Mar, 2017
From: Debdeep Ghosal <Debdeep Ghosal>

Hello,
    I have a sandwich of scintillators and lead in my calorimeter. Previously my scintillators are thinner(mm scale) and there was no overlapping in the geometry. Now I made my scintillators and lead both thicker(in cm scale now) and thus having warning regarding overlapping. Also the energy deposition in them also got affected. Thus I need to adjust my volume. Here below I copied a part of my code for the first two scintillators and leads with overlapping condition.

 G4double gap = 12.5*mm;
  G4Box* scintBox = new G4Box("Scint", 15*cm, 15*cm, 1.5*cm);
  G4LogicalVolume* scintLog1 = new G4LogicalVolume(scintBox, plastic, "Scintlog1");
  G4LogicalVolume* scintLog2 = new G4LogicalVolume(scintBox, plastic, "Scintlog2");

  G4ThreeVector scint1  = G4ThreeVector(0*cm, 0*cm, -(15*cm+*gap));
  G4ThreeVector scint2  = G4ThreeVector(0*cm, 0*cm, -(15*cm+3*gap));

  new G4PVPlacement(0, scint1, scintLog1, "SCINT1", worldLV, false, 0, fCheckOverlaps);
  new G4PVPlacement(0, scint2, scintLog2, "SCINT2", worldLV, false, 0, fCheckOverlaps);

  G4Box* leadPlate = new G4Box("Lead", 15*cm, 15*cm, 2.5*mm);
  G4LogicalVolume* leadLog1 = new G4LogicalVolume(leadPlate, lead, "Leadlog1");
  G4LogicalVolume* leadLog2 = new G4LogicalVolume(leadPlate, lead, "Leadlog2");
  G4ThreeVector lead1  = G4ThreeVector(0*cm, 0*cm, -(15*mm+0*gap));
  G4ThreeVector lead2  = G4ThreeVector(0*cm, 0*cm, -(15*mm+2*gap));

This goes also same for the lead parts as they have overlapping too being oriented in an alternate array with the scintillators. Now, here as I am little confused, should I adjust the parameters of the 'g4threevectors' or of the main 'scintbox' to get rid of the overlapping problem? because for the 'g4threevectors' I changed '15*mm' to '15*cm' and tried to see the outcome but still though the Scin1 is now fine with no overlap, Scint2 still has!(I have leads in between the scintillators in an alternate array!)

The piece warning messages is as follows:

Checking overlaps for volume SCINT1 ... 
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
      issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
          Overlap is detected for volume SCINT1
          apparently fully encapsulating volume COPPER1
          at the same level !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

Checking overlaps for volume SCINT2 ... 
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
      issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
          Overlap is detected for volume SCINT2
          with SCINT1 volume's
          local point (18.6704,103.631,-10), overlapping by at least: 5 mm 
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Checking overlaps for volume LEAD1 ... 
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
      issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
          Overlap is detected for volume LEAD1
          apparently fully encapsulating volume COPPER1
          at the same level !
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

Checking overlaps for volume LEAD2 ... 
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : GeomVol1002
      issued by : G4PVPlacement::CheckOverlaps()
Overlap with volume already placed !
          Overlap is detected for volume LEAD2
          with SCINT3 volume's
          local point (-97.8182,147.552,12.5), overlapping by at least: 2.44771 mm 
NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !

Any kind of help or suggestions will be highly appreciable. Thanks and regards...

 Add Message Add Message
to: "Regarding Debugging Overlapping problem in Calorimeter geometry"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]