Class MUVTStripFactory
java.lang.Object
org.jlab.detector.geant4.v2.MPGD.trapezoid.MPGDTrapezoidStripFactory
org.jlab.detector.geant4.v2.MPGD.MUVT.MUVTStripFactory
MUVT strip factory.
It relies entirely on AbstractMPGDTrapezoidStripFactory for:
- strip building (component IDs, endpoints)
- surfaces
- planes
The ONLY detector-specific thing here is the mapping "volume name -> Geant4Basic",
used by the abstract class to find the sensitive volume (Sensitivity==1) and its transform.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jlab.detector.geant4.v2.MPGD.trapezoid.MPGDTrapezoidStripFactory
MPGDTrapezoidStripFactory.StripConstants, MPGDTrapezoidStripFactory.StripGeom, MPGDTrapezoidStripFactory.Trap2D -
Field Summary
Fields inherited from class org.jlab.detector.geant4.v2.MPGD.trapezoid.MPGDTrapezoidStripFactory
C, geo, globalStrips, localStrips, nComponents, planes, surfaceLayers, tiltedStrips -
Constructor Summary
ConstructorsConstructorDescriptionMUVTStripFactory(int run, String variation) Convenience constructor: internally creates a DatabaseConstantProvider.Build using an already-configured DatabaseConstantProvider. -
Method Summary
Modifier and TypeMethodDescriptionprotected Geant4BasicgetVolumeByName(String name) Detector-specific hook: Must return the volume object given its name.Typically implemented by indexinggeo.getAllVolumes()into aMap<String,Geant4Basic>.protected booleanIf true: readout is 2D => same zReadoutLocal for both layers.Override in detector.static voidSmall test / debug.Methods inherited from class org.jlab.detector.geant4.v2.MPGD.trapezoid.MPGDTrapezoidStripFactory
baseLayerForCCDB, buildAll, buildStripCache, buildStripConstants, buildStripSegment, clearCaches, createPlane, createSurface, defaultPitchCm, defaultStereoAngleRad, defaultWidthCm, fillPlaneLists, fillStripLists, fillSurfaceLists, findReadoutZLocal, getNComponents, getPlane, getSensitiveHalfThicknessCm, getSensitiveMatComponentId, getSensitiveVolumeName, getStrip, getStripLocal, getStripTilted, getSurface, intersectEdgeWithLineNormal, toGlobalSensitive, toStripFrameXY, toTilted
-
Constructor Details
-
MUVTStripFactory
Build using an already-configured DatabaseConstantProvider.- Parameters:
cp-
-
MUVTStripFactory
Convenience constructor: internally creates a DatabaseConstantProvider.- Parameters:
run-variation-
-
-
Method Details
-
getVolumeByName
Description copied from class:MPGDTrapezoidStripFactoryDetector-specific hook: Must return the volume object given its name.Typically implemented by indexinggeo.getAllVolumes()into aMap<String,Geant4Basic>.- Specified by:
getVolumeByNamein classMPGDTrapezoidStripFactory- Parameters:
name-- Returns:
-
is2DReadout
protected boolean is2DReadout()Description copied from class:MPGDTrapezoidStripFactoryIf true: readout is 2D => same zReadoutLocal for both layers.Override in detector.- Overrides:
is2DReadoutin classMPGDTrapezoidStripFactory- Returns:
-
main
Small test / debug.
-