Class CNDFactory

java.lang.Object
org.jlab.geom.detector.cnd.CNDFactory
All Implemented Interfaces:
Factory<CNDDetector, CNDSector, CNDSuperlayer, CNDLayer>, Showable

public class CNDFactory extends Object implements Factory<CNDDetector, CNDSector, CNDSuperlayer, CNDLayer>
A Central Neutron Detector (CND) Factory.

Factory: CNDFactory
Hierarchy: CNDDetectorCNDSectorCNDSuperlayerCNDLayerScintillatorPaddle

Due to the way the CND is organized, there is only one CNDSector and CNDSuperlayer per CNDDetector. There are three CNDLayers and each layer contains 48 ScintillatorPaddles grouped pairwise into 24 sectors. The equation for the sector id given a component id for the CND is as follows
  sector = ceil((component%47)/2)
This means that components 47 and 0 are both in sector 0, components 1 and 2 are in sector 1, components 3 and 4 are in sector 2, etc.

Author:
jnhankins