8 using namespace GeomDetEnumerators;
16 theChamberType(iChamberType),
17 theSpecsValues(fupar),
18 nstrips(static_cast<int>(specsValue(5))),
19 stripDeltaPhi(specsValue(29)),
20 centreToIntersectionOffset(specsValue(30)),
21 gangedStrips_(
false) {
22 LogTrace(
"CSCChamberSpecs|CSC") <<
myName <<
": constructing specs for chamber " <<
theName[iChamberType - 1]
23 <<
", type=" << iChamberType <<
", this =" <<
this;
26 if (iChamberType == 1)
35 float globalRadialPositionOfAlignmentPin =
specsValue(24);
36 float distanceFrameToAlignmentPin =
specsValue(25);
38 float distanceEndOfStripToAlignmentPin =
specsValue(27);
42 float yAlignmentPin = -lengthOfChamber / 2. + distanceFrameToAlignmentPin;
45 float alignmentPinToCentreOfStripPlane = distanceEndOfStripToAlignmentPin + extentOfStripPlane / 2.;
48 float yCentreOfStripPlane = yAlignmentPin + alignmentPinToCentreOfStripPlane;
51 float whereStripsMeet = globalRadialPositionOfAlignmentPin + alignmentPinToCentreOfStripPlane;
135 LogTrace(
"CSCChamberSpecs|CSC") <<
myName <<
" destroying this=" <<
this;
165 int i = 2 * istation + iring;
178 const float pF_cm = 0.75;
200 "ME1/a",
"ME1/b",
"ME1/2",
"ME1/3",
"ME2/1",
"ME2/2",
"ME3/1",
"ME3/2",
"ME4/1",
"ME4/2"};
CSCLayerGeometry * poszOddLayerGeometry
bool operator!=(const CSCChamberSpecs &specs) const
Allow comparison of Specs objects.
CSCLayerGeometry * negzOddLayerGeometry
static int whatChamberType(int istation, int iring)
~CSCChamberSpecs() override
Destructor.
float chargePerCount() const
float centreToIntersectionOffset
std::string chamberTypeName() const
float stripPhiPitch() const
CSCLayerGeometry * negzEvenLayerGeometry
bool operator==(const CSCChamberSpecs &specs) const
static const std::string myName
float length() const override
float specsValue(int index) const
Accessor to chamber specs values.
float wireSpacing() const
bool gangedStrips() const
CSCLayerGeometry * poszEvenLayerGeometry
const CSCStripTopology * topology() const
float stripNoise(float timeInterval) const
CSCChamberSpecs()
Default ctor.
std::vector< float > CSCSpecsParcel
double alignmentPinToFirstWire
float constantNoise() const
static const std::string theName[10]
const Topology & topology() const override
Returns StripTopology of the odd-layer, positive-z geometry.