Linear Collider Forum



Home » Software Tools » Marlin et al » Extending the GEAR::TPCParameters class for multiple readout modules in the TPC
Re: Extending the GEAR::TPCParameters class for multiple readout modules in the TPC [message #1461 is a reply to message #1415] Fri, 02 May 2008 13:50 Go to previous message
jabernathy
Messages: 78
Registered: March 2006
Location: University of Victoria
How about something like this:

<detectors>
    <detector name="TPC" geartype="TPCParameters">
        <driftVelocity value="4.548000000e+07" />
        <maxDriftLength value="2.500000000e+03" />

        <readout_module>
            <position>0 0 -2500</position>
            <readoutFrequency value="2.000000000e+07" />
            <PadRowLayout2D type="FixedPadSizeDiskLayout" rMin="3.860000000e+02" rMax="1.626000000e+03" padHeight="6.000000000e+00" padWidth="2.000000000e+00" maxRow="206" padGap="0.000000000e+00" />
        </readout_module>

        <readout_module number="2">
             <position>250 250 -2500</position>
             ...
        </readout_module>

        ...

    </detector>
</detectors>

By adding the extra readout_module tag to the TPC the position can vary for each layout and the layout can stay in it's local coordinate system.

It also allows the readout frequency to change with each module.

It can also be backward compatible by adding the logic where getPadLayout returns the first PadLayout in the file.

[Updated on: Fri, 02 May 2008 13:50]

 
Read Message
Read Message
Previous Topic:new ilcsoft patch release v01-03-04
Next Topic:GenericViewer
Goto Forum:
  


Current Time: Tue Dec 10 05:25:30 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software