109 std::cout <<
"Apply APEs: " << std::endl;
117 if (TIBerrors.size() < 3 || TOBerrors.size() < 4 || TIDerrors.size() < 4 || TECerrors.size() < 4) {
118 std::cout <<
"APE info not valid : please check test/run-converter.cfg" << std::endl;
124 align::Alignables::const_iterator iter;
128 for (iter = theTIBhb.begin(); iter != theTIBhb.end(); ++iter )
129 { theModifier.addAlignmentPositionErrorLocal( *iter, TIBerrors.at(0),
130 TIBerrors.at(0), TIBerrors.at(0) ); }
132 for (iter = theTIBlayers.begin(); iter != theTIBlayers.end(); ++iter)
133 { theModifier.addAlignmentPositionErrorLocal( *iter, TIBerrors.at(1),
134 TIBerrors.at(1), TIBerrors.at(1) ); }
136 for (iter = theTIBgd.begin(); iter != theTIBgd.end(); ++iter )
137 { theModifier.addAlignmentPositionErrorLocal( *iter, TIBerrors.at(2),
138 TIBerrors.at(2), TIBerrors.at(2) ); }
142 for (iter = theTOBhb.begin(); iter != theTOBhb.end(); ++iter )
143 { theModifier.addAlignmentPositionErrorLocal( *iter, TOBerrors.at(0),
144 TOBerrors.at(0), TOBerrors.at(1) ); }
146 for (iter = theTOBrods.begin(); iter != theTOBrods.end(); ++iter )
147 { theModifier.addAlignmentPositionErrorLocal( *iter, TOBerrors.at(2),
148 TOBerrors.at(2), TOBerrors.at(2) ); }
150 for (iter = theTOBgd.begin(); iter != theTOBgd.end(); ++iter )
151 { theModifier.addAlignmentPositionErrorLocal( *iter, TOBerrors.at(3),
152 TOBerrors.at(3), TOBerrors.at(3) ); }
156 for (iter = theTIDs.begin(); iter != theTIDs.end(); ++iter )
157 { theModifier.addAlignmentPositionErrorLocal( *iter, TIDerrors.at(0),
158 TIDerrors.at(0), TIDerrors.at(0) ); }
160 for (iter = theTIDdiscs.begin(); iter != theTIDdiscs.end(); ++iter )
161 { theModifier.addAlignmentPositionErrorLocal( *iter, TIDerrors.at(1),
162 TIDerrors.at(1), TIDerrors.at(1) ); }
164 for (iter = theTIDrings.begin(); iter != theTIDrings.end(); ++iter )
165 { theModifier.addAlignmentPositionErrorLocal( *iter, TIDerrors.at(2),
166 TIDerrors.at(2), TIDerrors.at(2) ); }
168 for (iter = theTIDgd.begin(); iter != theTIDgd.end(); ++iter )
169 { theModifier.addAlignmentPositionErrorLocal( *iter, TIDerrors.at(3),
170 TIDerrors.at(3), TIDerrors.at(3) ); }
174 for (iter = theTECs.begin(); iter != theTECs.end(); ++iter )
175 { theModifier.addAlignmentPositionErrorLocal( *iter, TECerrors.at(0),
176 TECerrors.at(0), TECerrors.at(0) ); }
178 for (iter = theTECdiscs.begin(); iter != theTECdiscs.end(); ++iter )
179 { theModifier.addAlignmentPositionErrorLocal( *iter, TECerrors.at(1),
180 TECerrors.at(1), TECerrors.at(1) ); }
182 for (iter = theTECpetals.begin(); iter != theTECpetals.end(); ++iter )
183 { theModifier.addAlignmentPositionErrorLocal( *iter, TECerrors.at(2),
184 TECerrors.at(2), TECerrors.at(2) ); }
186 for (iter = theTECgd.begin(); iter != theTECgd.end(); ++iter )
187 { theModifier.addAlignmentPositionErrorLocal( *iter, TECerrors.at(3),
188 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.