|Message: G4PVRelica Problem when particle crossing in "repliacation direction"||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi, we are simulating a silicon Pixel Detector with a pixel size of 25x25um. Therefore we are using G4PVReplica in 2dim. Actually everything seems to be fine unless a particle doesn't leave the volume (sensor) "on the side". If it is crossing straight through the 100x13x0.05mm volume it is no problem. Only if the particle is leaving on the 0.05mm height side. This is only happening in replication direction (for example if we comment out the second replication). The error, printed out from our framework (Mokka) reads: WARNING - G4Navigator::ComputeStep() Track stuck, not moving for 10 steps in volume -finalSensor- at point (15.02488585,4.687500053,0.0001899235146) direction: (-1.637021225e-05,0.9999999997,1.871019949e-05). Potential geometry or navigation problem ! Trying pushing it of 9e-10 mm ... ERROR - G4Navigator::ComputeStep() Track stuck, not moving for 25 steps in volume -finalSensor- at point (15.02488585,4.687500066,0.0001899235149) direction: (-1.637021225e-05,0.9999999997,1.871019949e-05). *** G4Exception : StuckTrack issued by : G4Navigator::ComputeStep() Stuck Track: potential geometry or navigation problem. *** Event Must Be Aborted my code is: // one single pixel G4VSolid* pixelSolid = new G4Box("pixelSolid",pixel_size_half_x*mm,pixel_size_half_y*mm,sensor_half_thickness*mm); G4LogicalVolume* pixelVolume = new G4LogicalVolume(pixelSolid,CGAGeometryManager::GetMaterial(sensor_material),"pixelVolume"); // // MotherLogicalVolume G4LogicalVolume* sensor = new G4LogicalVolume(sensorSolid,CGAGeometryManager::GetMaterial(sensor_material),"sensor"); G4LogicalVolume* sensor = new G4LogicalVolume(sensorSolid,CGAGeometryManager::GetMaterial(sensor_material),"sensor"); //ReplicaLogicalVolume for kYAxis replication G4VSolid* pixelRowSolid = new G4Box("pixelRowSolid",sensor_size_half_x*mm,pixel_size_half_y*mm,sensor_half_thickness*mm); G4LogicalVolume* pixelRowVolume = new G4LogicalVolume(pixelRowSolid,CGAGeometryManager::GetMaterial(sensor_material),"pixelRowVolume"); //replication of pixelRowVolume inside MotherLogicalVolume(sensor) G4PVReplica* row = new G4PVReplica("pixelRowReplica",pixelRowVolume,sensor,kYAxis,(int)(sensor_size_half_y/pixel_size_half_y),pixel_size_half_y*2*mm,0); //repliation of pixels insode row G4PVReplica* finalSensor = new G4PVReplica("finalSensor",pixelVolume,row,kXAxis,(int)(sensor_size_half_x/pixel_size_half_x),pixel_size_half_x*2*mm,0); So my question: Has anybody ever used G4PVReplica within 2dim and knows the problem and a solution? Or is anything wrong with my code? i'm very happy for every answer Greetings, Daniel
|Inline Depth:||Outline Depth:||Add message:|