22{
23 sTGCHandler* sTGCHand = dynamic_cast<sTGCHandler*>
24 (
c.GetHandlerStore().GetHandler(
"sTGC"));
25 if (!sTGCHand) std::abort();
26
28
29
30 bool ret=true;
32 if (! ret) std::cout << "WARNING: sPadWidth is missing" << std::endl;
33
35 if (! ret) std::cout << "WARNING: lPadWidth is missing" << std::endl;
36
38 if (! ret) std::cout << "WARNING: sStripWidth is missing" << std::endl;
39
41 if (! ret) std::cout << "WARNING: lStripWidth is missing" << std::endl;
42
44 if (! ret) std::cout << "WARNING: padH is missing" << std::endl;
45
47 if (! ret) {
48 std::cout << "INFO: nPadPhi is missing trying older format nPadX" << std::endl;
50 if (! ret) std::cout << "WARNING: nPadX is missing" << std::endl;
51 }
52
54 if (! ret){
55 std::cout << "INFO: anglePadPhi is missing trying older format anglePadX" << std::endl;
57 if (! ret) std::cout << "WARNING: anglePadX is missing" << std::endl;
58 }
59
62 if (! ret){
63 std::cout << "INFO: firstPadPhiDivision_C/A is missing trying older format firstPadPhi" << std::endl;
66 if (! ret) std::cout << "WARNING: firstPadPhi is missing" << std::endl;
67 }
68
69
70
73 if (! ret){
74 std::cout << "INFO: PadPhiShift_C/A is missing trying older format firstPadPhi" << std::endl;
77 if (! ret) std::cout << "WARNING: firstPadPhi is missing" << std::endl;
78 }
79
81 if (! ret) std::cout << "WARNING: nPadH is missing" << std::endl;
82
84 if (! ret) std::cout << "WARNING: firstPadH is missing" << std::endl;
85
87 if (! ret) std::cout << "WARNING: firstPadRow is missing" << std::endl;
88
90 if (! ret) std::cout << "WARNING: nWires is missing" << std::endl;
91
93 if (! ret) std::cout << "WARNING: wireCutout is missing" << std::endl;
94
96 if (! ret) std::cout << "WARNING: firstWire is missing" << std::endl;
97
99 if (! ret) std::cout << "WARNING: wireGroupWidth is missing" << std::endl;
100
102 if (! ret) std::cout << "WARNING: nStrips is missing" << std::endl;
103
105 if (! ret) std::cout << "WARNING: firstTriggerBand is missing" << std::endl;
106
108 if (! ret) std::cout << "WARNING: nTriggerBands is missing" << std::endl;
109
111 if (! ret) std::cout << "WARNING: firstStripInTrigger is missing" << std::endl;
112
114 if (! ret) std::cout << "WARNING: firstStripWidth is missing" << std::endl;
115
117 if (! ret) std::cout << "WARNING: StripsInBandsLayer1 is missing" << std::endl;
118
120 if (! ret) std::cout << "WARNING: StripsInBandsLayer2 is missing" << std::endl;
121
123 if (! ret) std::cout << "WARNING: StripsInBandsLayer3 is missing" << std::endl;
124
126 if (! ret) std::cout << "WARNING: StripsInBandsLayer4 is missing" << std::endl;
127
129 if (! ret) std::cout << "WARNING: nWireGroups is missing" << std::endl;
130
132 if (! ret) std::cout << "WARNING: firstWireGroup is missing" << std::endl;
133}
int getAttributeAsInt(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
std::vector< double > getAttributeAsVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
std::vector< int > getAttributeAsIntVector(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
double getAttributeAsDouble(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
sTGCReadoutParameters roParameters
sTGCDetectorDescription * GetsTGCCurrent()
std::vector< int > firstWireGroup
std::vector< int > nWireGroups
std::vector< int > StripsInBandsLayer1
std::vector< double > firstPadPhiDivision_A
std::vector< int > firstStripInTrigger
std::vector< double > firstPadPhiDivision_C
std::vector< double > firstStripWidth
std::vector< int > StripsInBandsLayer4
std::vector< int > nPadPhi
std::vector< double > firstPadH
std::vector< int > StripsInBandsLayer3
std::vector< double > firstWire
std::vector< double > PadPhiShift_C
std::vector< int > nWires
std::vector< int > StripsInBandsLayer2
std::vector< double > padH
std::vector< double > wireCutout
std::vector< int > firstTriggerBand
std::vector< int > firstPadRow
std::vector< double > PadPhiShift_A
std::vector< double > nPadH
std::vector< int > nTriggerBands