|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/SystemOfUnits.h"
21 const std::string & detectorKey,
22 const std::string & detectorNode)
25 m_pfba (rdbSvc->getRecordsetPtr(
"PFBA", detectorKey, detectorNode)),
26 m_pbba (rdbSvc->getRecordsetPtr(
"PBBA", detectorKey, detectorNode)),
27 m_ptba (rdbSvc->getRecordsetPtr(
"PTBA", detectorKey, detectorNode)),
28 m_pfec (rdbSvc->getRecordsetPtr(
"PFEC", detectorKey, detectorNode)),
29 m_pbec (rdbSvc->getRecordsetPtr(
"PBEC", detectorKey, detectorNode)),
30 m_ptec (rdbSvc->getRecordsetPtr(
"PTEC", detectorKey, detectorNode)),
31 m_pecn (rdbSvc->getRecordsetPtr(
"PECN", detectorKey, detectorNode)),
32 m_pecf (rdbSvc->getRecordsetPtr(
"PECF", detectorKey, detectorNode)),
33 m_pecb (rdbSvc->getRecordsetPtr(
"PECB", detectorKey, detectorNode)),
34 m_pect (rdbSvc->getRecordsetPtr(
"PECT", detectorKey, detectorNode)),
37 m_pxbi (rdbSvc->getRecordsetPtr(
"PXBI", detectorKey, detectorNode)),
38 m_pdch (rdbSvc->getRecordsetPtr(
"PDCH", detectorKey, detectorNode)),
39 m_pxbd (rdbSvc->getRecordsetPtr(
"PXBD", detectorKey, detectorNode)),
42 m_ptla (rdbSvc->getRecordsetPtr(
"PTLA", detectorKey, detectorNode)),
43 m_pctr (rdbSvc->getRecordsetPtr(
"PCTR", detectorKey, detectorNode)),
44 m_pftr (rdbSvc->getRecordsetPtr(
"PFTR", detectorKey, detectorNode)),
45 m_pttr (rdbSvc->getRecordsetPtr(
"PTTR", detectorKey, detectorNode)),
46 m_pome (rdbSvc->getRecordsetPtr(
"POME", detectorKey, detectorNode)),
47 m_poti (rdbSvc->getRecordsetPtr(
"POTI", detectorKey, detectorNode)),
48 m_pobi (rdbSvc->getRecordsetPtr(
"POBI", detectorKey, detectorNode)),
49 m_poai (rdbSvc->getRecordsetPtr(
"POAI", detectorKey, detectorNode)),
50 m_poci (rdbSvc->getRecordsetPtr(
"POCI", detectorKey, detectorNode)),
51 m_posi (rdbSvc->getRecordsetPtr(
"POSI", detectorKey, detectorNode)),
52 m_pccf (rdbSvc->getRecordsetPtr(
"PCCF", detectorKey, detectorNode)),
53 m_pcff (rdbSvc->getRecordsetPtr(
"PCFF", detectorKey, detectorNode)),
54 m_BarrelInSFrame(false),
55 m_EndcapInSFrame(false),
56 m_EndConeSFrame(false),
72 return (*
m_pfba)[0]->getInt(
"NBOXI");
74 return (*
m_pfec)[0]->getInt(
"NBOXI");
81 return (*
m_pfba)[0]->getInt(
"NTRDI");
83 return (*
m_pfec)[0]->getInt(
"NTRDI");
126 return (*
m_pecf)[0]->getInt(
"NBOXI");
131 return (*
m_pecf)[0]->getInt(
"NTRDI");
347 return (*
m_pome)[0]->getInt(
"NPOCI");
389 std::ostringstream o;
400 return (*
m_ptla)[0]->getInt(
"NCENT") + (*m_ptla)[0]->getInt(
"NEND") + (*m_ptla)[0]->getInt(
"NTRAP");
405 int ncent = (*m_ptla)[0]->getInt(
"NCENT");
406 int nend = (*m_ptla)[0]->getInt(
"NEND");
409 }
else if (iPart < nend+ncent) {
489 int ncent = (*m_ptla)[0]->getInt(
"NCENT");
490 int nend = (*m_ptla)[0]->getInt(
"NEND");
491 return (iPart >= ncent+nend);
699 return (
int)(*m_pcff)[
index%2]->getDouble(
"MAT");
704 std::string
var =
"ORIENT_";
705 std::ostringstream o;
708 return (
int)(*m_pccf)[
layer]->getInt(
var) - 1;
795 return (*
m_pome)[0]->getInt(
"NPOAI") - 1;
836 return (isBlayer) ? 0 : 1;
841 return (*
m_pdch)[0]->getInt(
"NRPCHIP");
846 return (*
m_pdch)[0]->getInt(
"NZCHIP");
853 int numTotal =
static_cast<int>((ActiveArea - GapRP)/pitchRP + 0.5);
862 return static_cast<int>((ActiveArea - GapZ*CPR)/(CPR*pitchZ) + 0.5);
870 return static_cast<int>((ActiveArea)/pitchRP + 0.5);
877 return static_cast<int>((ActiveArea)/pitchRP + 0.5);
883 return static_cast<int>((*m_pdch)[0]->getInt(
"NYCONNEC"));
889 return static_cast<int>((*m_pdch)[0]->getInt(
"NYCONNEC"));
895 std::ostringstream
A;
897 return static_cast<int>((*m_pdch)[0]->getInt(
"JYEMPTY"+
A.str())) - 1;
902 std::ostringstream
A;
904 return static_cast<int>((*m_pdch)[0]->getInt(
"JYCONNEC"+
A.str())) - 1;
int DesignDiodesPhiTotal(bool isBLayer)
double PixelTMTWidthY(int iPart)
double PixelPigtailPosX()
double PixelOmegaLength()
double PixelBarrelFrameLength()
double PixelOmegaStartY()
double PixelAlTubeLowerBendRadius()
Scalar phi() const
phi method
double PixelFluidThick2(int index)
double PixelLadderThickness()
double PixelLadderLength()
double PixelAlTubeWallThickness()
double PixelTMTPosZ1(int iPart)
double PixelLadderCableOffsetY()
double PixelBarrelFrameECZPos()
double PixelAlTubeLowerBendX()
double PixelCableStackOffset(int index)
double PixelLadderServicesY()
double PixelCableZStart(int index)
Scalar theta() const
theta method
double PixelTMTWidthX1(int iPart)
double PixelCableThickness(int index)
double PixelLadderPigtailOffsetY()
int PixelTMTNumParts()
TMT.
double PixelPigtailEndY()
double PixelPigtailBendY()
double PixelOmegaLowerBendRadius()
bool PixelTMTPerModule(int iPart)
double PixelTMTDzdr(int iPart)
double PixelLadderConnectorOffsetX()
double PixelOmegaGlueStartY(int index)
double PixelConnectorPosX(int index)
double PixelOmegaWallThickness()
double PixelOmegaGlueThickness(int index)
PixelLegacyManager(IRDBAccessSvc *rdbSvc, const std::string &detectorKey, const std::string &detectorNode)
double PixelBarrelFrameECAlphaY()
double PixelOmegaUpperBendX()
double PixelFluidZ1(int index)
double PixelTMTBaseX2(int iPart)
double PixelFluidX(int index)
double PixelConnectorWidthX(int index)
double PixelAlTubeLowerBendY()
Definition of the abstract IRDBAccessSvc interface.
std::string PixelCableLabel(int index)
double PixelBarrelFrameOffset()
double PixelAlTubeUpperBendX()
double PixelTMTPosX(int iPart)
double PixelEndcapTFrameWidth()
double PixelFluidZ2(int index)
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
double PixelLadderServicesX()
string varName
end cluster ToT and charge
double PixelTMTWidthX2(int iPart)
double PixelConnectorPosY(int index)
double DesignPitchRP(bool isBLayer)
double PixelPigtailPosZ()
double PixelOmegaGlueStartX(int index)
double PixelTMTLength(int iPart)
double PixelEndcapFrameOffset()
int PixelNumConnectorElements()
int PixelFluidMatType(int index)
double DesignZActiveArea()
double PixelFluidY(int index)
int EmptyRowConnections(int index)
double PixelBFrameHalfLength()
double PixelPigtailBendRMin()
double PixelOmegaGluePosZ(int index)
int DesignNumRowsPerChip(bool isBLayer)
double PixelPigtailBendX()
double PixelTMTVariable(int iPart, const std::string &varName)
double PixelTMTPosY(int iPart)
double PixelFluidThick1(int index)
double PixelConnectorPosZ(int index)
double PixelPigtailBendPhiMax()
double PixelBarrelFrameECRadius()
double PixelBarrelBFrameWidth()
double PixelPigtailBendPhiMin()
double DesignPitchZLong(bool isBLayer)
double PixelOmegaLowerBendX()
double PixelOmegaUpperBendRadius()
int designType(bool isBlayer)
double PixelPigtailFlatWidthZ()
double PixelOmegaLowerBendY()
double PixelTFrameHalfWidthXzn()
double PixelLadderCableOffsetX()
double PixelConnectorWidthY(int index)
double PixelPigtailThickness()
double PixelFluidWidth(int index)
Definition of the abstract IRDBRecord interface.
int PixelNumOmegaGlueElements()
double PixelConnectorWidthZ(int index)
double PixelPigtailEnvelopeLength()
int DesignNumColsPerChip(bool isBLayer)
double PixelTMTBaseX1(int iPart)
double PixelBarrelFrameECAlphaX()
int PixelFluidOrient(int layer, int phi)
double PixelOmegaGlueEndY(int index)
double PixelCableWidth(int index)
int PixelOmegaGlueTypeNum(int index)
int DesignDiodesEtaTotal(bool isBLayer)
double PixelTFrameHalfWidthY()
double PixelPigtailWidthZ()
double PixelEndcapFrameLength()
int PixelFluidType(int index)
double PixelAlTubeUpperBendRadius()
double PixelEndcapBFrameWidth()
double DesignRPActiveArea()
double PixelAlTubeLength()
Definition of the abstract IRDBRecordset interface.
double PixelPigtailBendRMax()
double PixelTMTPosZ2(int iPart)
double PixelOmegaGlueLength(int index)
double PixelOmegaUpperBendY()
double PixelCableZEnd(int index)
double DesignPitchZ(bool isBLayer)
double PixelBFrameHalfThickness()
double PixelAlTubeUpperBendY()
double PixelTMTPosZ(int iPart)
double PixelTFrameHalfWidthXzp()
double PixelPigtailStartY()
double PixelTFrameHalfLength()
double PixelBFrameHalfWidth()
int DesignNumEmptyRowsInGap()
double PixelBarrelTFrameWidth()