|
ATLAS Offline Software
|
Go to the documentation of this file.
29 if(
this == &
tp)
return *
this;
35 #endif // not XAOD_ANALYSIS
61 return genvecP4().Rapidity();
67 float thetaT =
theta();
69 float sinTheta=
sin(thetaT);
70 float px =
p*sinTheta*
cos(phiT);
71 float py =
p*sinTheta*
sin(phiT);
80 float thetaT =
theta();
82 float sinTheta=
sin(thetaT);
83 float px =
p*sinTheta*
cos(phiT);
84 float py =
p*sinTheta*
sin(phiT);
86 float e =
pow (
m(),2) +
104 DefiningParameters_t
tmp;
110 #ifndef XAOD_ANALYSIS
114 #endif // not XAOD_ANALYSIS
134 #ifndef XAOD_ANALYSIS
138 #endif // not XAOD_ANALYSIS
141 std::vector<float>&
v = acc(*
this);
143 for (
size_t irow = 0; irow<5; ++irow)
150 std::vector<float>
v = acc(*
this);
151 std::vector<float>::const_iterator
it =
v.begin();
152 xAOD::ParametersCovMatrix_t
cov;
154 for (
size_t irow = 0; irow<5; ++irow){
187 #ifndef XAOD_ANALYSIS
200 ParametersCovMatrix_t
cov;
202 auto it=
acc6(*this).begin();
203 for (
size_t irow = 0; irow<5; ++irow){
213 #endif // not XAOD_ANALYSIS
216 #ifndef XAOD_ANALYSIS
218 #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.
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.