115 std::cout <<
"Apply APEs: " << std::endl;
123 if (TIBerrors.size() < 3 || TOBerrors.size() < 4 || TIDerrors.size() < 4 || TECerrors.size() < 4) {
124 std::cout <<
"APE info not valid : please check test/run-converter.cfg" << std::endl;
130 align::Alignables::const_iterator iter;
134 for (iter = theTIBhb.begin(); iter != theTIBhb.end(); ++iter) {
135 theModifier.addAlignmentPositionErrorLocal(*iter, TIBerrors.at(0), TIBerrors.at(0), TIBerrors.at(0));
138 for (iter = theTIBlayers.begin(); iter != theTIBlayers.end(); ++iter) {
139 theModifier.addAlignmentPositionErrorLocal(*iter, TIBerrors.at(1), TIBerrors.at(1), TIBerrors.at(1));
142 for (iter = theTIBgd.begin(); iter != theTIBgd.end(); ++iter) {
143 theModifier.addAlignmentPositionErrorLocal(*iter, TIBerrors.at(2), TIBerrors.at(2), TIBerrors.at(2));
148 for (iter = theTOBhb.begin(); iter != theTOBhb.end(); ++iter) {
149 theModifier.addAlignmentPositionErrorLocal(*iter, TOBerrors.at(0), TOBerrors.at(0), TOBerrors.at(1));
152 for (iter = theTOBrods.begin(); iter != theTOBrods.end(); ++iter) {
153 theModifier.addAlignmentPositionErrorLocal(*iter, TOBerrors.at(2), TOBerrors.at(2), TOBerrors.at(2));
156 for (iter = theTOBgd.begin(); iter != theTOBgd.end(); ++iter) {
157 theModifier.addAlignmentPositionErrorLocal(*iter, TOBerrors.at(3), TOBerrors.at(3), TOBerrors.at(3));
162 for (iter = theTIDs.begin(); iter != theTIDs.end(); ++iter) {
163 theModifier.addAlignmentPositionErrorLocal(*iter, TIDerrors.at(0), TIDerrors.at(0), TIDerrors.at(0));
166 for (iter = theTIDdiscs.begin(); iter != theTIDdiscs.end(); ++iter) {
167 theModifier.addAlignmentPositionErrorLocal(*iter, TIDerrors.at(1), TIDerrors.at(1), TIDerrors.at(1));
170 for (iter = theTIDrings.begin(); iter != theTIDrings.end(); ++iter) {
171 theModifier.addAlignmentPositionErrorLocal(*iter, TIDerrors.at(2), TIDerrors.at(2), TIDerrors.at(2));
174 for (iter = theTIDgd.begin(); iter != theTIDgd.end(); ++iter) {
175 theModifier.addAlignmentPositionErrorLocal(*iter, TIDerrors.at(3), TIDerrors.at(3), TIDerrors.at(3));
180 for (iter = theTECs.begin(); iter != theTECs.end(); ++iter) {
181 theModifier.addAlignmentPositionErrorLocal(*iter, TECerrors.at(0), TECerrors.at(0), TECerrors.at(0));
184 for (iter = theTECdiscs.begin(); iter != theTECdiscs.end(); ++iter) {
185 theModifier.addAlignmentPositionErrorLocal(*iter, TECerrors.at(1), TECerrors.at(1), TECerrors.at(1));
188 for (iter = theTECpetals.begin(); iter != theTECpetals.end(); ++iter) {
189 theModifier.addAlignmentPositionErrorLocal(*iter, TECerrors.at(2), TECerrors.at(2), TECerrors.at(2));
192 for (iter = theTECgd.begin(); iter != theTECgd.end(); ++iter) {
193 theModifier.addAlignmentPositionErrorLocal(*iter, TECerrors.at(3), TECerrors.at(3), TECerrors.at(3));
T getParameter(std::string const &) const
Alignables & innerBarrelGeomDets()
Return inner barrel GeomDets.
Alignables & endCaps()
Return TECs.
Alignables & TIDGeomDets()
Return TID GeomDets.
Alignables & outerBarrelRods()
Return outer barrel rods.
edm::ParameterSet theParameterSet
Alignables & endcapGeomDets()
Return endcap GeomDets.
Alignables & TIDs()
Return TIDs.
Alignables & outerBarrelGeomDets()
Return outer barrel GeomDets.
Alignables & TIDLayers()
Return TID layers.
Alignables & TIDRings()
Return TID rings.
AlignableTracker * getAlignableTracker()
std::vector< Alignable * > Alignables
Alignables & innerBarrelLayers()
Return inner barrel layers.
Alignables & endcapPetals()
Return encap petals.
Alignables & innerHalfBarrels()
Return TIB half barrels.
Alignables & endcapLayers()
Return endcap layers.
Alignables & outerHalfBarrels()
Return TOB half barrels.