 |
ATLAS Offline Software
|
Go to the documentation of this file.
30 if(
this == &
tp)
return *
this;
36 #endif // not XAOD_ANALYSIS
62 return genvecP4().Rapidity();
68 float thetaT =
theta();
70 float sinTheta=
sin(thetaT);
71 float px =
p*sinTheta*
cos(phiT);
72 float py =
p*sinTheta*
sin(phiT);
81 float thetaT =
theta();
83 float sinTheta=
sin(thetaT);
84 float px =
p*sinTheta*
cos(phiT);
85 float py =
p*sinTheta*
sin(phiT);
87 float e =
pow (
m(),2) +
105 DefiningParameters_t
tmp;
111 #ifndef XAOD_ANALYSIS
115 #endif // not XAOD_ANALYSIS
135 #ifndef XAOD_ANALYSIS
139 #endif // not XAOD_ANALYSIS
142 std::vector<float>&
v = acc(*
this);
144 for (
size_t irow = 0; irow<5; ++irow)
151 std::vector<float>
v = acc(*
this);
152 std::vector<float>::const_iterator
it =
v.begin();
153 xAOD::ParametersCovMatrix_t
cov;
155 for (
size_t irow = 0; irow<5; ++irow){
188 #ifndef XAOD_ANALYSIS
201 ParametersCovMatrix_t
cov;
203 auto it=
acc6(*this).begin();
204 for (
size_t irow = 0; irow<5; ++irow){
214 #endif // not XAOD_ANALYSIS
217 #ifndef XAOD_ANALYSIS
219 #endif // not XAOD_ANALYSIS
void setParametersOrigin(float x, float y, float z)
Set the origin for the parameters.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
const DefiningParameters_t definingParameters() const
Returns a SVector of the Perigee track parameters.
const ParametersCovMatrix_t definingParametersCovMatrix() const
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
const Trk::NeutralPerigee & perigeeParameters() const
Returns the Trk::NeutralPerigee track parameters.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
const std::vector< float > & definingParametersCovMatrixVec() const
Returns the vector of the covariance values - 15 elements.
NeutralParticle_v1()
Default constructor.
virtual double m() const
The invariant mass of the particle..
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
float z0() const
Returns the parameter.
virtual double pt() const
The transverse momentum ( ) of the particle.
bool const RAWDATA *ch2 const
virtual double eta() const
The pseudorapidity ( ) of the particle.
Class providing the definition of the 4-vector interface.
virtual double e() const
The total energy of the particle.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
float phi0() const
Returns the parameter, which has range to .
void setDefiningParametersCovMatrix(const ParametersCovMatrix_t &cov)
Set the defining parameters covariance matrix.
float d0() const
Returns the parameter.
void setDefiningParameters(float d0, float z0, float phi0, float theta, float qOverP)
Set the defining parameters.
~NeutralParticle_v1()
Destructor.
constexpr double chargedPionMassInMeV
the mass of the charged pion (in MeV)
void setDefiningParametersCovMatrixVec(const std::vector< float > &cov)
Set the defining parameters covariance matrix using a length 15 vector.
float vy() const
The y origin for the parameters.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(Muon_v1, uint8_t, Muon_v1::EnergyLossType, energyLossType) AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(Muon_v1
void resetCache()
Reset the internal cache of the object.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : GenVector form.
float theta() const
Returns the parameter, which has range 0 to .
float vz() const
The z origin for the parameters.
NeutralParticle_v1 NeutralParticle
Reference the current persistent version:
float oneOverP() const
Returns the parameter.
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzM4D< double > > GenVecFourMom_t
Base 4 Momentum type for TrackParticle.
void makePrivateStore()
Create a new (empty) private store for this object.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
Eigen::Matrix< double, 3, 1 > Vector3D
float vx() const
The x origin for the parameters.
bool hasStore() const
Return true if this object has an associated store.
NeutralParticle_v1 & operator=(const NeutralParticle_v1 &tp)
Assignment operator. This can involve creating and copying an Auxilary store, and so should be used s...
#define AUXSTORE_PRIMITIVE_GETTER(CL, TYPE, NAME)
Macro creating the reader function for a primitive auxiliary property.
CxxUtils::CachedValue< Trk::NeutralPerigee > m_perigeeParameters
Cached NeutralPerigee, built from this object.
Class describing a NeutralParticle.
ObjectType
Type of objects that have a representation in the xAOD EDM.
constexpr int pow(int base, int exp) noexcept
IParticle & operator=(const IParticle &)=default
virtual double phi() const
The azimuthal angle ( ) of the particle.