Message: GDML and Stepping Action!!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None GDML and Stepping Action!!! 

Keywords: GENT4 BUG!!!
Forum: Event and Track Management
Date: 02 May, 2007
From: Francisco Garcia <Francisco Garcia>

I think this is a bug

I have tried to get in different ways the Volume name when a particle is passing or interacting in the detector part, and look at the results.

With next command in the Stepping Action I believe I found a bug in the GEANT4:

G4cout << aStep->GetTrack()->GetNextVolume()->GetName() << "              "  << aStep->GetPreStepPoint()->GetPhysicalVolume()->GetName() << "              "  << aStep->GetPreStepPoint()->GetPhysicalVolume()->GetLogicalVolume()->GetName() << G4endl;

What you will expect, well to get in one or in other way the Volume's mane but look what I have got:
Start Run processing.
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World
World              World              World

And the particle is traversing the whole detector. Then I tried

/vis/drawtree

"World":0
  "AssembledGeom165P":0
  "AssembledGeom165P":1 (repeated LV)
  "AssembledGeom4152P":2
  "AssembledGeom6512P":3
  "AssembledGeom6784P":4
  "AssembledGeom8054P":5
  "AssembledGeom4152P":6 (repeated LV)
  "AssembledGeom6512P":7 (repeated LV)
  "AssembledGeom6784P":8 (repeated LV)
  "AssembledGeom8054P":9 (repeated LV)
  "AssembledGeom8838P":10
  "AssembledGeom8838P":11 (repeated LV)
  "AssembledGeom8838P":12 (repeated LV)
  "AssembledGeom8838P":13 (repeated LV)
  "AssembledGeom8838P":14 (repeated LV)
  "AssembledGeom8838P":15 (repeated LV)
  "AssembledGeom8838P":16 (repeated LV)
  "AssembledGeom8838P":17 (repeated LV)
  "AssembledGeom10784P":18
  "AssembledGeom10784P":19 (repeated LV)
  "AssembledGeom10784P":20 (repeated LV)
  "AssembledGeom10784P":21 (repeated LV)
  "AssembledGeom13733P":22
  "AssembledGeom13943P":23
  "AssembledGeom14153P":24
  "AssembledGeom14363P":25
  "AssembledGeom14573P":26
  "AssembledGeom14783P":27
  "AssembledGeom15016P":28
  "AssembledGeom26633P":29
  "AssembledGeom26831P":30
  "AssembledGeom27325P":31
  "AssembledGeom27597P":32
  "AssembledGeom47891P":33
  "AssembledGeom50381P":34
  "AssembledGeom50535P":35
  "AssembledGeom51309P":36
  "AssembledGeom110377P":37
  "AssembledGeom111578P":38
  "AssembledGeom4152P":39 (repeated LV)
  "AssembledGeom112373P":40
  "AssembledGeom111578P":41 (repeated LV)
  "AssembledGeom4152P":42 (repeated LV)
  "AssembledGeom112373P":43 (repeated LV)
  "AssembledGeom111578P":44 (repeated LV)
  "AssembledGeom4152P":45 (repeated LV)
  "AssembledGeom112373P":46 (repeated LV)
  "AssembledGeom111578P":47 (repeated LV)
  "AssembledGeom4152P":48 (repeated LV)
  "AssembledGeom112373P":49 (repeated LV)
  "AssembledGeom111578P":50 (repeated LV)
  "AssembledGeom4152P":51 (repeated LV)
  "AssembledGeom112373P":52 (repeated LV)
  "AssembledGeom111578P":53 (repeated LV)
  "AssembledGeom4152P":54 (repeated LV)
  "AssembledGeom112373P":55 (repeated LV)
  "AssembledGeom111578P":56 (repeated LV)
  "AssembledGeom4152P":57 (repeated LV)
  "AssembledGeom112373P":58 (repeated LV)
  "AssembledGeom111578P":59 (repeated LV)
  "AssembledGeom4152P":60 (repeated LV)
  "AssembledGeom112373P":61 (repeated LV)
  "AssembledGeom111578P":62 (repeated LV)
  "AssembledGeom4152P":63 (repeated LV)
  "AssembledGeom112373P":64 (repeated LV)
  "AssembledGeom113431P":65
  "AssembledGeom113431P":66 (repeated LV)
  "AssembledGeom113431P":67 (repeated LV)
  "AssembledGeom113431P":68 (repeated LV)
  "AssembledGeom113431P":69 (repeated LV)
  "AssembledGeom113431P":70 (repeated LV)
  "AssembledGeom113431P":71 (repeated LV)
  "AssembledGeom113431P":72 (repeated LV)
  "AssembledGeom118869P":73
  "AssembledGeom118869P":74 (repeated LV)
  "AssembledGeom118869P":75 (repeated LV)
  "AssembledGeom118869P":76 (repeated LV)
  "AssembledGeom123679P":77
  "AssembledGeom123679P":78 (repeated LV)
  "AssembledGeom123679P":79 (repeated LV)
  "AssembledGeom123679P":80 (repeated LV)
  "AssembledGeom123679P":81 (repeated LV)
  "AssembledGeom123679P":82 (repeated LV)
  "AssembledGeom123679P":83 (repeated LV)
  "AssembledGeom123679P":84 (repeated LV)
  "AssembledGeom123679P":85 (repeated LV)
  "AssembledGeom123679P":86 (repeated LV)
  "AssembledGeom123679P":87 (repeated LV)
  "AssembledGeom123679P":88 (repeated LV)
  "AssembledGeom123679P":89 (repeated LV)
  "AssembledGeom123679P":90 (repeated LV)
  "AssembledGeom123679P":91 (repeated LV)
  "AssembledGeom123679P":92 (repeated LV)
  "AssembledGeom129580P":93
  "AssembledGeom168096P":94
  "AssembledGeom168895P":95
  "AssembledGeom168895P":96 (repeated LV)
  "AssembledGeom169043P":97
  "AssembledGeom50381P":98 (repeated LV)
  "AssembledGeom50381P":99 (repeated LV)
  "AssembledGeom170274P":100
  "AssembledGeom170274P":101 (repeated LV)
  "AssembledGeom170274P":102 (repeated LV)
  "AssembledGeom170274P":103 (repeated LV)
  "AssembledGeom170274P":104 (repeated LV)
  "AssembledGeom170274P":105 (repeated LV)
  "AssembledGeom170274P":106 (repeated LV)
  "AssembledGeom170274P":107 (repeated LV)
  "AssembledGeom170274P":108 (repeated LV)
  "AssembledGeom170274P":109 (repeated LV)
  "AssembledGeom170274P":110 (repeated LV)
  "AssembledGeom170274P":111 (repeated LV)
  "AssembledGeom188626P":112
  "AssembledGeom188626P":113 (repeated LV)
  "AssembledGeom188626P":114 (repeated LV)
  "AssembledGeom188626P":115 (repeated LV)
  "AssembledGeom188626P":116 (repeated LV)
  "AssembledGeom188626P":117 (repeated LV)
  "AssembledGeom188626P":118 (repeated LV)
  "AssembledGeom188626P":119 (repeated LV)
  "AssembledGeom188626P":120 (repeated LV)
  "AssembledGeom188626P":121 (repeated LV)
  "AssembledGeom188626P":122 (repeated LV)
  "AssembledGeom188626P":123 (repeated LV)
  "AssembledGeom191064P":124
  "AssembledGeom191064P":125 (repeated LV)
  "AssembledGeom191064P":126 (repeated LV)
  "AssembledGeom191064P":127 (repeated LV)
  "AssembledGeom191064P":128 (repeated LV)
  "AssembledGeom191064P":129 (repeated LV)
  "AssembledGeom191064P":130 (repeated LV)
  "AssembledGeom191064P":131 (repeated LV)
  "AssembledGeom191064P":132 (repeated LV)
  "AssembledGeom191064P":133 (repeated LV)
  "AssembledGeom191064P":134 (repeated LV)
  "AssembledGeom191064P":135 (repeated LV)
  "AssembledGeom197656P":136
  "AssembledGeom197656P":137 (repeated LV)
  "AssembledGeom197656P":138 (repeated LV)
  "AssembledGeom197656P":139 (repeated LV)
  "AssembledGeom197656P":140 (repeated LV)
  "AssembledGeom197656P":141 (repeated LV)
  "AssembledGeom197656P":142 (repeated LV)
  "AssembledGeom197656P":143 (repeated LV)
  "AssembledGeom197656P":144 (repeated LV)
  "AssembledGeom197656P":145 (repeated LV)
  "AssembledGeom197656P":146 (repeated LV)
  "AssembledGeom197656P":147 (repeated LV)

I would expect some names in the Physical and Logical Volumes more close to those ones.

The geometry is parsed from GDML file.

Cheers,

Francisco

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "GDML and Stepping Action!!!"

 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 ]