|
ATLAS Offline Software
|
Go to the documentation of this file.
9 ATH_MSG_WARNING(
"JetPFlowSelectionAlg encountered an invalid muon element link. Skipping. ");
32 double totalMuonCaloEnergy = 0.0;
33 for (
auto energy : clusterMuonEnergyFracs ) totalMuonCaloEnergy +=
energy;
36 newP4.SetPxPyPzE(theFE.
p4().Px(),theFE.
p4().Py(),theFE.
p4().Pz(),theFE.
e() - totalMuonCaloEnergy);
TLorentzVector adjustNeutralCaloEnergy(const std::vector< double > &clusterMuonEnergyFracs, const xAOD::FlowElement &theFE) const
ElementLink< xAOD::MuonContainer > MuonLink
bool isValid() const
Test to see if the link can be dereferenced.
ElementLink implementation for ROOT usage.
virtual double e() const override
The total energy of the particle.
virtual FourMom_t p4() const override
The full 4-momentum of the particle.
bool checkMuonLinks(const std::vector< ElementLink< xAOD::MuonContainer > > &FE_MuonLinks, const std::string &qualityString) const
Verify if at least one combined muon in a list passes the relevant quality criteria Details of muon w...
#define ATH_MSG_WARNING(x)
A detector object made of other lower level object(s)