21{
22 micromegasHandler* mmHand = dynamic_cast<micromegasHandler*>
23 (
c.GetHandlerStore().GetHandler(
"micromegas"));
24 if (!mmHand) std::abort();
25
27
28
29 bool ret=true;
31 if (! ret) std::cout << "WARNING: stripPitch is missing" << std::endl;
32
34 if (! ret) std::cout << "WARNING: gasThickness is missing" << std::endl;
35
37 if (! ret) std::cout << "WARNING: pcbThickness is missing" << std::endl;
38
40 if (! ret) std::cout << "WARNING: driftThickness is missing" << std::endl;
41
43 if (! ret) std::cout << "WARNING: stereoAngle is missing" << std::endl;
44
46 if (! ret) std::cout << "WARNING: readoutSide is missing" << std::endl;
47
49 if (! ret) std::cout << "WARNING: zPos is missing" << std::endl;
50
52 if (! ret) std::cout << "WARNING: distanceFromZAxis is missing" << std::endl;
53
55 if (! ret) std::cout << "WARNING: roLength is missing" << std::endl;
56
58 if (! ret) std::cout << "WARNING: activeBottomLength is missing" << std::endl;
59
61 if (! ret) std::cout << "WARNING: activeTopLength is missing" << std::endl;
62
64 if (! ret) std::cout << "WARNING: activeH is missing" << std::endl;
65
67 if (! ret) std::cout << "WARNING: minYPhiL is missing" << std::endl;
68
70 if (! ret) std::cout << "WARNING: minYPhiR is missing" << std::endl;
71
73 if (! ret) std::cout << "WARNING: maxYPhi is missing" << std::endl;
74
76 if (! ret) std::cout << "WARNING: dlStereoBottom is missing" << std::endl;
77
79 if (! ret) std::cout << "WARNING: dlStereoTop is missing" << std::endl;
80
82 if (! ret) std::cout << "WARNING: nMissedTopEta is missing" << std::endl;
83
85 if (! ret) std::cout << "WARNING: nMissedBottomEta is missing" << std::endl;
86
88 if (! ret) std::cout << "WARNING: nMissedTopStereo is missing" << std::endl;
89
90 MM->roParameters.nMissedBottomStereo =
getAttributeAsInt (c, t,
"nMissedBottomStereo", ret);
91 if (! ret) std::cout << "WARNING: nMissedBottomStereo is missing" << std::endl;
92
94 if (! ret) std::cout << "WARNING: nRoutedTop is missing" << std::endl;
95
97 if (! ret) std::cout << "WARNING: nRoutedBottom is missing" << std::endl;
98
100 if (! ret) std::cout << "WARNING: totalStrips is missing" << std::endl;
101
102
103}
MMReadoutParameters roParameters
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
MMDetectorDescription * GetMMCurrent()