CMS 3D CMS Logo

SimTrack.cc
Go to the documentation of this file.
2 
3 SimTrack::SimTrack() : ivert(-1), igenpart(-1) {}
4 
5 SimTrack::SimTrack(int ipart, const math::XYZTLorentzVectorD& p) : Core(ipart, p), ivert(-1), igenpart(-1) {}
6 
7 SimTrack::SimTrack(int ipart, const math::XYZTLorentzVectorD& p, int iv, int ig)
8  : Core(ipart, p), ivert(iv), igenpart(ig) {}
9 
12  int iv,
13  int ig,
14  const math::XYZVectorD& tkp,
15  const math::XYZTLorentzVectorD& tkm)
16  : Core(ipart, p), ivert(iv), igenpart(ig), tkposition(tkp), tkmomentum(tkm) {}
17 
18 SimTrack::SimTrack(const CoreSimTrack& t, int iv, int ig) : Core(t), ivert(iv), igenpart(ig) {}
19 
20 std::ostream& operator<<(std::ostream& o, const SimTrack& t) {
21  return o << (SimTrack::Core)(t) << ", " << t.vertIndex() << ", " << t.genpartIndex();
22 }
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
operator<<
std::ostream & operator<<(std::ostream &o, const SimTrack &t)
Definition: SimTrack.cc:20
OrderedSet.t
t
Definition: OrderedSet.py:90
CoreSimTrack
Definition: CoreSimTrack.h:9
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition: Vector3D.h:8
SimTrack::SimTrack
SimTrack()
constructor
Definition: SimTrack.cc:3
SimTrack::Core
CoreSimTrack Core
Definition: SimTrack.h:8
SimTrack
Definition: SimTrack.h:6
SimTrack.h