Mu2e / Mu2eEventDisplay

REve based event display developed by the Analysis Tools Group
Apache License 2.0
0 stars 12 forks source link

fix GDML issues #149

Closed sophiemiddleton closed 5 months ago

sophiemiddleton commented 5 months ago

Hi Sophie,

Look more carefully at the names.

TrackerPlaneEnvelope_000x3acaae0 is constructed as:

TrackerPlaneEnvelope_00 + 0x3acaae0

Where the first element is the name of the physical volume and the second is the address in hex representation.

So you can search for the substring “TrackerPlaneEnvelope_00 “ to find the most upstream plane. And it will be unique.

Similarly caloDisk_00x3d71700 are caloDisk_10x3e1ec70

caloDisk_0 + 0x3d71700 and caloDisk_1 + 0x3e1ec70

So, again a substring match will do it uniquely

Rob

sophiemiddleton commented 5 months ago

… to clarify a bit more. The name of the physical volumes for which there is more than one copy are constructed as

Name_NN

Where NN is the copy number. The NN field is only as big as needed. So 1 digit for the calodisk and 2 digits for the tracker envelope.

There are some physical volumes for which we have not been this careful and many copies have the same name. But that the volumes you care about have all been done correctly.

Let me know if this solves your problem or if there are more questions.

Rob