|
ATLAS Offline Software
|
Go to the documentation of this file.
33 for (it3 =
m_B_corr.begin(); it3 !=
m_B_corr.end(); ++it3)
delete it3->second;
44 return StatusCode::SUCCESS;
49 std::map<MuonCalib::NtupleStationId, MuonCalib::MdtStationT0Container *>::const_iterator
it;
54 std::lock_guard<std::mutex> guard(warn_mutex);
55 if (m_t0_warned.find(
chamber_id) == m_t0_warned.end()) {
67 std::map<MuonCalib::NtupleStationId, MuonCalib::IRtRelation *>::const_iterator
it;
72 std::lock_guard<std::mutex> guard(warn_mutex);
73 if (m_rt_warned.find(
chamber_id) == m_rt_warned.end()) {
92 std::map<MuonCalib::NtupleStationId, MuonCalib::IRtResolution *>::const_iterator
it;
97 if (m_rt_warned.find(
chamber_id) == m_rt_warned.end()) {
111 return StatusCode::SUCCESS;
115 std::map<MuonCalib::NtupleStationId, MuonCalib::IRtRelation *>::const_iterator
it(
m_rt_relation.find(
id));
117 ATH_MSG_INFO(
"Initiailizing B-Field correction for " <<
id.regionId());
120 std::vector<double> corr_params(2);
121 corr_params[0] = 3080.0;
122 corr_params[1] = 0.11;
129 std::list<const MuonCalib::IRtRelation *> matching_relations;
130 std::list<MuonCalib::NtupleStationId> matching_ids;
132 for (std::map<MuonCalib::NtupleStationId, MuonCalib::IRtRelation *>::const_iterator
it =
m_rt_relation.begin();
136 if (
it->first.GetMl() == 0) {
138 for (
int i = 1;
i <= 2;
i++) {
139 id.setStationName(
it->first.GetStation());
140 id.setStationEta(
it->first.GetEta());
141 id.setStationPhi(
it->first.GetPhi());
142 id.setMdtMultilayer(
i);
144 matching_relations.push_back(
it->second);
145 matching_ids.push_back(
it->first);
150 id.setStationName(
it->first.GetStation());
151 id.setStationEta(
it->first.GetEta());
152 id.setStationPhi(
it->first.GetPhi());
153 id.setMdtMultilayer(
it->first.GetMl());
155 matching_relations.push_back(
it->second);
156 matching_ids.push_back(
it->first);
161 ATH_MSG_INFO(
"Found " << matching_relations.size() <<
" rt-relations for calibration region");
162 if (matching_relations.empty())
return;
164 if (matching_relations.size() > 1) {
ATH_MSG_WARNING(
"More than one rt relation for this region loaded! Taking first!"); }
171 std::map<MuonCalib::NtupleStationId, MuonCalib::BFieldCorFunc *>::const_iterator
it(
m_B_corr.find(
id));
JetConstituentVector::iterator iterator
std::vector< HWIdentifier >::iterator it1
::StatusCode StatusCode
StatusCode definition for legacy code.
generic interface for a resolution function
#define ATH_MSG_WARNING(x)
generic interface for a rt-relation