19 const IInterface*
p ) :
22 declareInterface<DerivationFramework::IAugmentationTool>(
this);
35 ATH_CHECK(m_collNameIsCombKey.initialize());
36 return StatusCode::SUCCESS;
41 return StatusCode::SUCCESS;
51 ATH_MSG_ERROR(
"Couldn't retrieve muon container with key: " << m_collNameKey);
52 return StatusCode::FAILURE;
70 if (*muIt && (*muIt)->primaryTrackParticle())
d0 = (*muIt)->primaryTrackParticle()->d0();
75 bool isGoodCombined =
false;
79 if (!(*muIt)->parameter(
chi2, xAOD::Muon::msInnerMatchChi2))
ATH_MSG_WARNING(
"Problem accessing muon chisq!");
81 if (!(*muIt)->parameter(dof,xAOD::Muon::msInnerMatchDOF))
ATH_MSG_WARNING(
"Problem accessing muon DoF!");
82 if (dof == 0) dof = 1;
83 if (
chi2/
float(dof) < 5.) isGoodCombined =
true;
86 isCombinedVec->push_back(1);
88 isCombinedVec->push_back(0);
92 return StatusCode::SUCCESS;