92 typedef std::vector<TrackD>::const_iterator
It;
99 It
begin()
const {
return fTrks.begin(); }
100 It
end()
const {
return fTrks.end(); }
105 for (
unsigned int i = 0; i < fTrks.size() ; ++i)
106 s += fTrks[i].
mag2();
115 for (
int i = 0; i <
n; ++i) {
145 for (
unsigned int i = 0; i <
fPos.size() ; ++i)
155 for (
int i = 0; i <
n; ++i) {
Scalar R() const
Polar R, converting if necessary from internal coordinate system.
Class describing a generic LorentzVector in the 4D space-time, using the specified coordinate system ...
const Vector4D & Vec() const
std::vector< Point3D > fPos
void Set(const Vector4D &q, const Point3D &p)
Class describing a generic position vector (point) in 3 dimensions.
std::vector< TrackD >::const_iterator It
const Point3D32 & Pos() const
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > Vector4D
TrackD32(const Vector4D32 &q, const Point3D32 &p)
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< Double32_t > > Vector4D32
void Set(const Vector4D &q, const Point3D &p)
std::vector< TrackD > fTrks
R__EXTERN TRandom * gRandom
void Set(const Vector4D32 &q, const Point3D32 &p)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< Double32_t > > Point3D32
void Set(const Vector4D &q, const Point3D &p)
const Vector4D32 & Vec() const
TrackD(const Vector4D &q, const Point3D &p)
virtual void Sphere(Double_t &x, Double_t &y, Double_t &z, Double_t r)
Generates random vectors, uniformly distributed over the surface of a sphere of given radius...
you should not use this method at all Int_t Int_t z
const Point3D & Pos() const
virtual Int_t Poisson(Double_t mean)
Generates a random integer N according to a Poisson law.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double > > Point3D