Project

General

Profile

Bug #4819

Geometry doesn't know about the detector configuration

Added by Dominick Rocco almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
10/22/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Right now, functions like DetLength don't take in to account how many diblocks are actively taking data. It would be really nice if Geometry would look at the RunHistory object when it initializes itself to determine the detector length and any other parameters that can change from run to run.

History

#1 Updated by Christopher Backhouse almost 7 years ago

Sounds like there are two parts to this

  • Interface with RunHistory to figure out how many blocks there were
  • Given this information, figure out the appropriate DetLength from the gdml. Possibly retaining compatibility with the somewhat idiosyncratic answer it gives for the full detector now.

The point is, the second part without the first is still somewhat useful. I imagine a "NumBlocks" parameters in Geometry.fcl is way preferable to whatever hacks are being done now.

#2 Updated by Kanika Sachdev about 6 years ago

  • Status changed from New to Closed

LiveGeometry now does this job and a lot more.



Also available in: Atom PDF