28 trk =
static_cast<const xAOD::Muon*
>(p)->trackParticle(xAOD::Muon::TrackParticleType::Primary);
56 trk =
static_cast<const xAOD::Muon*
>(p)->trackParticle(xAOD::Muon::TrackParticleType::Primary);
68 if (!tsos->measurementOnTrack()) {
72 parsFirst = tsos->trackParameters();
74 parsLast = tsos->trackParameters();
76 assert(parsFirst !=
nullptr);
77 assert(parsLast !=
nullptr);
110 trk =
static_cast<const xAOD::Muon*
>(p)->trackParticle(xAOD::Muon::TrackParticleType::Primary);
114 std::vector<float> dPhi{}, dTheta{}, sigPhi{}, sigTheta{};
121 dPhi.push_back(angles->deltaPhi());
122 dTheta.push_back(angles->deltaTheta());
123 sigPhi.push_back(angles->sigmaDeltaPhi());
124 sigTheta.push_back(angles->sigmaDeltaTheta());
#define ATH_MSG_WARNING(x)
void operator+=(const xAOD::IParticle *p) override
EnergylossBranch(IParticleFourMomBranch &parent)
void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
Helper class to easily to add xAOD::IParticles and associated decorator variables to the MuonTesterTr...
MuonTesterTree & parent()
std::string name() const override final
TTree * tree() override final
void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
std::shared_ptr< VectorBranch< std::uint8_t > > m_nScat
std::shared_ptr< Base_t > m_sigmaTheta
void operator+=(const xAOD::IParticle *p) override
ScatteringBranch(IParticleFourMomBranch &parent)
std::shared_ptr< Base_t > m_deltaTheta
std::shared_ptr< Base_t > m_sigmaPhi
MatrixBranch< float > Base_t
void operator+=(const xAOD::IParticle *p) override
std::shared_ptr< VectorBranch< unsigned int > > m_nDoF
void push_back(const xAOD::IParticle *p) override
Similar to the IAuxElementDecoration branch but only accepting IParticles.
TrackChi2Branch(IParticleFourMomBranch &parent)
VectorBranch(TTree *tree, const std::string &name)
const Amg::Vector3D & momentum() const
Access method for the momentum.
represents a deflection of the track caused through multiple scattering in material.
represents the track state (measurement, material, fit parameters and quality) at a surface.
Class providing the definition of the 4-vector interface.
float numberDoF() const
Returns the number of degrees of freedom of the overall track or vertex fit as float.
const Trk::Track * track() const
Returns a pointer (which can be NULL) to the Trk::Track which was used to make this TrackParticle.
float chiSquared() const
Returns the of the overall track fit.
Class to store array like branches into the n-tuples.
ParametersBase< TrackParametersDim, Charged > TrackParameters
@ TrackParticle
The object is a charged track particle.
@ Muon
The object is a muon.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version:
#define THROW_EXCEPTION(MESSAGE)