|
ATLAS Offline Software
|
◆ comparePt()
◆ getCalEnergyLogRatio()
double MSVtxValidationAlgUtils::getCalEnergyLogRatio |
( |
double |
EMF | ) |
|
◆ getChildren()
◆ getCTau()
◆ getGenStableChildren()
Definition at line 54 of file MuonSpectrometer/MuonValidation/MuonVertexValidation/src/Utils.cxx.
57 std::vector<const xAOD::TruthParticle*> genStableChildren{};
60 genStableChildren.push_back(
particle);
61 return genStableChildren;
67 if (!child || child ==
particle)
continue;
68 if (child->hasDecayVtx() && child->decayVtx()->v4() ==
particle->decayVtx()->v4())
continue;
71 genStableChildren.insert(genStableChildren.end(), grandChildren.begin(), grandChildren.end());
74 return genStableChildren;
◆ getIso()
Definition at line 92 of file MuonSpectrometer/MuonValidation/MuonVertexValidation/src/Utils.cxx.
104 double hardTrack_mindR{99.};
108 if(
Track->pt() >= trackIso_pT && dR < hardTrack_mindR) hardTrack_mindR = dR;
113 iso.track_mindR = hardTrack_mindR != 99. ? hardTrack_mindR : -1.;
114 iso.track_pTsum = softTrack_pTsum.mag() != 0. ? softTrack_pTsum.perp()/
Gaudi::Units::GeV : -1.;
117 double jet_mindR{99.};
119 if(
Jet->
pt() < jetIso_pT)
continue;
122 if(logratio >= jetIso_LogRatio)
continue;
129 iso.jet_mindR = jet_mindR != 99. ? jet_mindR : -1.;
◆ getMotherLLP()
◆ isFromParticle()
const TruthParticle_v1 * parent(size_t i=0) const
Retrieve the i-th mother (TruthParticle) of this TruthParticle.
std::vector< const xAOD::TrackParticle * > Tracks
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
virtual double eta() const
pseudo rapidity
std::vector< const xAOD::TruthParticle * > getGenStableChildren(const xAOD::TruthParticle *particle)
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
const Amg::Vector3D & position() const
Returns the 3-pos.
double getCalEnergyLogRatio(double EMF)
bool isFromParticle(const xAOD::TruthParticle *ptcl, int pdgId)
bool greater(double a, double b)
Compare two FP numbers, working around x87 precision issues.
FourVec_t v4() const
The full 4-vector of the vertex.
double deltaR(double rapidity1, double phi1, double rapidity2, double phi2)
from bare bare rapidity,phi
Class describing a truth particle in the MC record.
virtual double phi() const
phi in [-pi,pi[
bool greater_equal(double a, double b)
Compare two FP numbers, working around x87 precision issues.
size_t nChildren() const
Number of children of this particle.
Eigen::Matrix< double, 3, 1 > Vector3D
const xAOD::TruthParticle * getMotherLLP(const xAOD::TruthParticle *ptcl, int pdgId_llp)
const TruthParticle_v1 * child(size_t i=0) const
Retrieve the i-th mother (TruthParticle) of this TruthParticle.
virtual double pt() const
transverse momentum
Class describing a TrackParticle.
GenVecFourVec_t genvecV4() const
The full 4-vector of the particle : GenVector form.
int pdgId() const
PDG ID code.
void zero(TH2 *h)
zero the contents of a 2d histogram
std::vector< const xAOD::TruthParticle * > getChildren(const xAOD::TruthParticle *mother)