#include <RawParticle.h>
Public Types | |
typedef ROOT::Math::Boost | Boost |
typedef ROOT::Math::AxisAngle | Rotation |
typedef ROOT::Math::Rotation3D | Rotation3D |
typedef ROOT::Math::RotationX | RotationX |
typedef ROOT::Math::RotationY | RotationY |
typedef ROOT::Math::RotationZ | RotationZ |
Public Member Functions | |
void | boost (double bx, double by, double bz) |
void | boost (const Boost &b) |
double | charge () const |
get the MEASURED charge | |
void | chargeConjugate () |
double | cos2Theta () const |
Cos**2(theta) is faster to determine than eta. | |
double | cos2ThetaV () const |
double | et () const |
get the transverse energy | |
double | eta () const |
int | isUsed () const |
double | mass () const |
get the MEASURED mass | |
const XYZTLorentzVector & | momentum () const |
the momentum fourvector | |
RawParticle & | operator= (const RawParticle &rhs) |
double | PDGcharge () const |
get the THEORETICAL charge | |
double | PDGcTau () const |
get the THEORETICAL lifetime | |
double | PDGmass () const |
get the THEORETICAL mass | |
std::string | PDGname () const |
get the PDG name | |
int | pid () const |
get the HEP particle ID number | |
void | print () const |
void | printName () const |
double | r () const |
vertex radius | |
double | R () const |
vertex radius | |
double | r2 () const |
vertex radius**2 | |
double | R2 () const |
vertex radius**2 | |
RawParticle (const RawParticle &p) | |
RawParticle () | |
RawParticle (const int id, const XYZTLorentzVector &p) | |
RawParticle (const std::string name, const XYZTLorentzVector &p) | |
RawParticle (const XYZTLorentzVector &p, const XYZTLorentzVector &xStart) | |
RawParticle (const XYZTLorentzVector &p) | |
RawParticle (double px, double py, double pz, double e) | |
void | reUse () |
void | rotate (const RotationY &r) |
void | rotate (const RotationZ &r) |
void | rotate (double rphi, const XYZVector &raxis) |
void | rotate (const Rotation &r) |
void | rotate (const Rotation3D &r) |
void | rotate (const RotationX &r) |
void | rotateX (double rphi) |
void | rotateY (double rphi) |
void | rotateZ (double rphi) |
void | setCharge (float q) |
set the MEASURED charge | |
void | setID (const std::string name) |
void | setID (const int id) |
void | setMass (float m) |
set the RECONSTRUCTED mass | |
void | setStatus (int istat) |
void | setT (const double t) |
set the time of creation | |
void | setVertex (const XYZTLorentzVector &vtx) |
set the vertex | |
void | setVertex (double xv, double yv, double zv, double tv) |
int | status () const |
get the particle status | |
double | t () const |
vertex time | |
double | T () const |
vertex time | |
void | translate (const XYZVector &t) |
void | use () |
const XYZTLorentzVector & | vertex () const |
the vertex fourvector | |
double | x () const |
x of vertex | |
double | X () const |
x of vertex | |
double | y () const |
y of vertex | |
double | Y () const |
y of vertex | |
double | z () const |
z of vertex | |
double | Z () const |
z of vertex | |
virtual | ~RawParticle () |
Protected Attributes | |
double | myCharge |
the MEASURED charge | |
int | myId |
the particle id number HEP-PID | |
const ParticleData * | myInfo |
The pointer to the PDG info. | |
double | myMass |
the RECONSTRUCTED mass | |
int | myStatus |
the status code according to PYTHIA | |
int | myUsed |
status of the locking | |
XYZTLorentzVector | myVertex |
the four vector of the vertex | |
Private Member Functions | |
void | init () |
Private Attributes | |
ParticleTable * | tab |
Definition at line 31 of file RawParticle.h.
typedef ROOT::Math::Boost RawParticle::Boost |
Definition at line 39 of file RawParticle.h.
typedef ROOT::Math::AxisAngle RawParticle::Rotation |
Definition at line 34 of file RawParticle.h.
typedef ROOT::Math::Rotation3D RawParticle::Rotation3D |
Definition at line 35 of file RawParticle.h.
typedef ROOT::Math::RotationX RawParticle::RotationX |
Definition at line 36 of file RawParticle.h.
typedef ROOT::Math::RotationY RawParticle::RotationY |
Definition at line 37 of file RawParticle.h.
typedef ROOT::Math::RotationZ RawParticle::RotationZ |
Definition at line 38 of file RawParticle.h.
RawParticle::RawParticle | ( | ) |
RawParticle::~RawParticle | ( | ) | [virtual] |
Definition at line 68 of file RawParticle.cc.
{
// nParticles--;
}
RawParticle::RawParticle | ( | const XYZTLorentzVector & | p | ) |
Construct from a fourvector. The fourvector is taken for the particle, the vertex is set to 0.
Definition at line 22 of file RawParticle.cc.
References init().
: XYZTLorentzVector(p) { init(); }
RawParticle::RawParticle | ( | const int | id, |
const XYZTLorentzVector & | p | ||
) |
Construct from a fourvector and a PID. The fourvector and PID are taken for the particle, the vertex is set to 0.
Definition at line 27 of file RawParticle.cc.
References init(), and setID().
: XYZTLorentzVector(p) { this->init(); this->setID(id); }
RawParticle::RawParticle | ( | const std::string | name, |
const XYZTLorentzVector & | p | ||
) |
Construct from a fourvector and a name. The fourvector and name are taken for the particle, the vertex is set to 0.
Definition at line 34 of file RawParticle.cc.
References init(), and setID().
: XYZTLorentzVector(p) { this->init(); this->setID(name); }
RawParticle::RawParticle | ( | const XYZTLorentzVector & | p, |
const XYZTLorentzVector & | xStart | ||
) |
Construct from 2 fourvectors. The first fourvector is taken for the particle, the second for its vertex.
Definition at line 41 of file RawParticle.cc.
References init(), and myVertex.
: XYZTLorentzVector(p) { init(); myVertex = xStart; }
RawParticle::RawParticle | ( | double | px, |
double | py, | ||
double | pz, | ||
double | e | ||
) |
Construct from fourmomentum components. Vertex is set to 0.
Definition at line 49 of file RawParticle.cc.
References init().
: XYZTLorentzVector(px,py,pz,e) { init(); }
RawParticle::RawParticle | ( | const RawParticle & | p | ) |
void RawParticle::boost | ( | double | bx, |
double | by, | ||
double | bz | ||
) |
Boost the particle. The arguments are the values of the boost in x, y and z direction.
Definition at line 182 of file RawParticle.cc.
References b, momentum(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by NuclearInteractionSimulator::compute().
void RawParticle::boost | ( | const Boost & | b | ) | [inline] |
Definition at line 310 of file RawParticle.h.
References b, momentum(), and AlCaHLTBitMon_ParallelJobs::p.
double RawParticle::charge | ( | void | ) | const [inline] |
get the MEASURED charge
Definition at line 281 of file RawParticle.h.
References myCharge.
Referenced by BaseParticlePropagator::backPropagate(), EnergyLossSimulator::compute(), MultipleScatteringSimulator::compute(), NuclearInteractionSimulator::distanceToPrimary(), ParticlePropagator::fieldMap(), BaseParticlePropagator::helixRadius(), MaterialEffects::interact(), KineParticleFilter::isOKForMe(), ConvBremSeedProducer::makeTrajectoryState(), TrajectoryManager::makeTrajectoryState(), print(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToBeamCylinder(), BaseParticlePropagator::propagateToClosestApproach(), BaseParticlePropagator::propagateToNominalVertex(), TrajectoryManager::updateWithDaughters(), and BaseParticlePropagator::xyImpactParameter().
{ return myCharge; }
void RawParticle::chargeConjugate | ( | ) |
Convert the particle to its charge conjugate state. This operation resets the particle ID to that of the charge conjugated particle (if one exists). Also the measured charge is multiplied by -1.
Definition at line 143 of file RawParticle.cc.
double RawParticle::cos2Theta | ( | ) | const [inline] |
Cos**2(theta) is faster to determine than eta.
Definition at line 267 of file RawParticle.h.
Referenced by KineParticleFilter::isOKForMe().
{ return Pz()*Pz()/Vect().Mag2(); }
double RawParticle::cos2ThetaV | ( | ) | const [inline] |
Definition at line 268 of file RawParticle.h.
Referenced by FBaseSimEvent::fill(), KineParticleFilter::isOKForMe(), BaseParticlePropagator::propagateToEcalEntrance(), BaseParticlePropagator::propagateToHcalEntrance(), and BaseParticlePropagator::propagateToVFcalEntrance().
double RawParticle::et | ( | ) | const |
get the transverse energy
Definition at line 306 of file RawParticle.cc.
References mag2(), momentum(), and mathSSE::sqrt().
double RawParticle::eta | ( | void | ) | const [inline] |
Get the pseudo rapidity of the particle.
Definition at line 266 of file RawParticle.h.
References funct::log(), funct::tan(), and theta().
Referenced by EcalHitMaker::preshowerCellLine().
void RawParticle::init | ( | void | ) | [private] |
Reimplemented in BaseParticlePropagator.
Definition at line 90 of file RawParticle.cc.
References instance, myCharge, myId, myInfo, myMass, myStatus, myUsed, and tab.
Referenced by RawParticle().
int RawParticle::isUsed | ( | ) | const [inline] |
double RawParticle::mass | ( | ) | const [inline] |
get the MEASURED mass
Definition at line 282 of file RawParticle.h.
References myMass.
Referenced by EnergyLossSimulator::compute(), NuclearInteractionSimulator::compute(), MultipleScatteringSimulator::compute(), Pythia6Decays::particleDaughters(), print(), and BaseParticlePropagator::propagate().
{ return myMass; }
const XYZTLorentzVector & RawParticle::momentum | ( | ) | const [inline] |
the momentum fourvector
Definition at line 285 of file RawParticle.h.
Referenced by PFTrackTransformer::addPointsAndBrems(), FBaseSimEvent::addSimTrack(), MuonSimHitProducer::applyMaterialEffects(), boost(), BremsstrahlungSimulator::compute(), MuonBremsstrahlungSimulator::compute(), et(), ConvBremSeedProducer::GoodCluster(), operator<<(), GoodSeedProducer::produce(), TrajectoryManager::propagateToCalorimeters(), BaseParticlePropagator::propagateToClosestApproach(), and TrajectoryManager::updateWithDaughters().
{ return *this; }
RawParticle & RawParticle::operator= | ( | const RawParticle & | rhs | ) |
Copy assignment operator
Definition at line 73 of file RawParticle.cc.
References myCharge, myId, myInfo, myMass, myStatus, myUsed, myVertex, and tab.
{ // cout << "Copy assignment " << endl; if (this != &right) { // don't copy into yourself this->SetXYZT(right.Px(),right.Py(),right.Pz(),right.E()); myId = right.myId; myStatus = right.myStatus; myUsed = right.myUsed; myCharge = right.myCharge; myMass = right.myMass; myVertex = right.myVertex; tab = right.tab; myInfo = right.myInfo; } return *this; }
double RawParticle::PDGcharge | ( | ) | const |
get the THEORETICAL charge
Definition at line 245 of file RawParticle.cc.
References myInfo, and lumiQueryAPI::q.
double RawParticle::PDGcTau | ( | ) | const |
get the THEORETICAL lifetime
Definition at line 263 of file RawParticle.cc.
References abs, myId, myInfo, and w().
Referenced by ParticlePropagator::initProperDecayTime().
{ double ct=1E99; if ( myInfo ) { // The lifetime is 0. in the Pythia Particle Data Table ! // ct=tab->theTable()->particle(ParticleID(myId))->lifetime().value(); // Get it from the width (apparently Gamma/c!) double w = myInfo->totalWidth().value(); if ( w != 0. && myId != 1000022 ) { ct = 6.582119e-25 / w / 10.; // ctau in cm } else { // Temporary fix of a bug in the particle data table unsigned amyId = abs(myId); if ( amyId != 22 && // photon amyId != 11 && // e+/- amyId != 10 && // nu_e amyId != 12 && // nu_mu amyId != 14 && // nu_tau amyId != 1000022 && // Neutralino amyId != 1000039 && // Gravitino amyId != 2112 && // neutron/anti-neutron amyId != 2212 && // proton/anti-proton amyId != 101 && // Deutreron etc.. amyId != 102 && // Deutreron etc.. amyId != 103 && // Deutreron etc.. amyId != 104 ) { // Deutreron etc.. ct = 0.; /* */ } } } /* std::cout << setw(20) << setprecision(18) << "myId/ctau/width = " << myId << " " << ct << " " << w << endl; */ return ct; }
double RawParticle::PDGmass | ( | ) | const |
get the THEORETICAL mass
Definition at line 254 of file RawParticle.cc.
Referenced by FBaseSimEvent::addSimTrack().
std::string RawParticle::PDGname | ( | ) | const |
int RawParticle::pid | ( | ) | const [inline] |
get the HEP particle ID number
Definition at line 264 of file RawParticle.h.
References myId.
Referenced by RawParticleTypeFilter::addAccept(), RawParticleTypeFilter::addReject(), NuclearInteractionSimulator::compute(), ParticlePropagator::initProperDecayTime(), MaterialEffects::interact(), KineParticleFilter::isOKForMe(), RawParticleTypeFilter::isOKForMe(), operator<<(), Pythia6Decays::particleDaughters(), and RawParticleTypeFilter::RawParticleTypeFilter().
{ return myId; }
void RawParticle::print | ( | void | ) | const |
Print the formated particle information. The format is: NAME______PX______PY______PZ______E_______Mtheo___Mrec____Qrec____X_______Y_______Z_______T_______
Definition at line 211 of file RawParticle.cc.
References charge(), gather_cfg::cout, mass(), printName(), status(), T(), X(), Y(), and Z().
{ printName(); std::cout << std::setw(3) << status(); std::cout.setf(std::ios::fixed, std::ios::floatfield); std::cout.setf(std::ios::right, std::ios::adjustfield); std::cout << std::setw(8) << std::setprecision(2) << Px(); std::cout << std::setw(8) << std::setprecision(2) << Py(); std::cout << std::setw(8) << std::setprecision(2) << Pz(); std::cout << std::setw(8) << std::setprecision(2) << E(); std::cout << std::setw(8) << std::setprecision(2) << M(); std::cout << std::setw(8) << std::setprecision(2) << mass(); std::cout << std::setw(8) << std::setprecision(2) << charge(); std::cout << std::setw(8) << std::setprecision(2) << X(); std::cout << std::setw(8) << std::setprecision(2) << Y(); std::cout << std::setw(8) << std::setprecision(2) << Z(); std::cout << std::setw(8) << std::setprecision(2) << T(); std::cout << std::setw(0) << std::endl; }
void RawParticle::printName | ( | ) | const |
Print the name of the particle. The name is deduced from the particle ID using a particle data table. It is printed with a length of 10 characters. If the id number cannot be found in the table "unknown" is printed as name.
Definition at line 199 of file RawParticle.cc.
References gather_cfg::cout, gen::k, and PDGname().
Referenced by print().
double RawParticle::r | ( | ) | const [inline] |
vertex radius
Definition at line 279 of file RawParticle.h.
References r2(), and mathSSE::sqrt().
Referenced by BaseParticlePropagator::propagateToBeamCylinder(), ParticlePropagator::propagateToBoundSurface(), rotate(), rotateX(), rotateY(), and rotateZ().
double RawParticle::R | ( | ) | const [inline] |
vertex radius
Definition at line 277 of file RawParticle.h.
References R2(), and mathSSE::sqrt().
Referenced by TrajectorySeedProducer::compatibleWithBeamAxis(), MaterialEffects::normalVector(), MaterialEffects::radLengths(), and BaseParticlePropagator::setPropagationConditions().
double RawParticle::r2 | ( | ) | const [inline] |
vertex radius**2
Definition at line 280 of file RawParticle.h.
References myVertex.
Referenced by BaseParticlePropagator::propagateToBeamCylinder(), and r().
{ return myVertex.Perp2(); }
double RawParticle::R2 | ( | ) | const [inline] |
vertex radius**2
Definition at line 278 of file RawParticle.h.
References myVertex.
Referenced by BaseParticlePropagator::inside(), KineParticleFilter::isOKForMe(), BaseParticlePropagator::onBarrel(), BaseParticlePropagator::onEndcap(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToPreshowerLayer1(), BaseParticlePropagator::propagateToPreshowerLayer2(), and R().
{ return myVertex.Perp2(); }
void RawParticle::reUse | ( | ) | [inline] |
Unlock the particle, see isUsed()
Definition at line 241 of file RawParticle.h.
References myUsed.
{ myUsed = 0;}
void RawParticle::rotate | ( | const RotationX & | r | ) | [inline] |
void RawParticle::rotate | ( | const RotationY & | r | ) | [inline] |
void RawParticle::rotate | ( | const RotationZ & | r | ) | [inline] |
void RawParticle::rotate | ( | double | rphi, |
const XYZVector & | raxis | ||
) |
Rotate the particle around an axis in space. The arguments give the amount to rotate rphi in radian and a vector raxis in 3D space around which the rotation is done. The vertex is rotated using the same transformation.
Definition at line 154 of file RawParticle.cc.
Referenced by NuclearInteractionSimulator::compute(), BremsstrahlungSimulator::compute(), MultipleScatteringSimulator::compute(), and MuonBremsstrahlungSimulator::compute().
void RawParticle::rotate | ( | const Rotation & | r | ) | [inline] |
void RawParticle::rotate | ( | const Rotation3D & | r | ) | [inline] |
void RawParticle::rotateX | ( | double | rphi | ) |
void RawParticle::rotateY | ( | double | rphi | ) |
void RawParticle::rotateZ | ( | double | rphi | ) |
void RawParticle::setCharge | ( | float | q | ) |
set the MEASURED charge
Definition at line 138 of file RawParticle.cc.
References myCharge, and lumiQueryAPI::q.
Referenced by PFTrackTransformer::addPoints(), PFTrackTransformer::addPointsAndBrems(), BaseParticlePropagator::backPropagate(), FBaseSimEvent::fill(), ParticlePropagator::ParticlePropagator(), GoodSeedProducer::produce(), TrajectorySeedProducer::produce(), ConvBremSeedProducer::produce(), and BaseParticlePropagator::propagateToBeamCylinder().
void RawParticle::setID | ( | const std::string | name | ) |
Set identifier for this particle. This should be a standard HEP-PID name. It will be used to deduce the particle properties from a particle data table.
Definition at line 114 of file RawParticle.cc.
References myCharge, myId, myInfo, myMass, tab, and ParticleTable::theTable().
void RawParticle::setID | ( | const int | id | ) |
Set identifier for this particle. This should be a standard HEP-PID number. It will be used to deduce the name and the properties of the particle from a particle data table.
Definition at line 101 of file RawParticle.cc.
References myCharge, myId, myInfo, myMass, RecoTau_DiTaus_pt_20-420_cfg::ParticleID, tab, and ParticleTable::theTable().
Referenced by MuonSimHitProducer::applyMaterialEffects(), NuclearInteractionSimulator::compute(), CalorimetryManager::MuonMipSimulation(), PileUpSimulator::produce(), and RawParticle().
void RawParticle::setMass | ( | float | m | ) |
void RawParticle::setStatus | ( | int | istat | ) |
Set the status of this particle. The coding follows PYTHIAs convention: 1 = stable
Definition at line 128 of file RawParticle.cc.
References myStatus.
{ myStatus = istat; }
void RawParticle::setT | ( | const double | t | ) |
void RawParticle::setVertex | ( | double | xv, |
double | yv, | ||
double | zv, | ||
double | tv | ||
) | [inline] |
void RawParticle::setVertex | ( | const XYZTLorentzVector & | vtx | ) | [inline] |
set the vertex
Definition at line 287 of file RawParticle.h.
References myVertex.
Referenced by MuonSimHitProducer::applyMaterialEffects(), CalorimetryManager::EMShowerSimulation(), ParticlePropagator::ParticlePropagator(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToClosestApproach(), and FastPixelHitMatcher::propagateToLayer().
{ myVertex = vtx; }
int RawParticle::status | ( | void | ) | const [inline] |
get the particle status
Definition at line 265 of file RawParticle.h.
References myStatus.
Referenced by RawStableParticleFilter::isOKForMe(), operator<<(), and print().
{ return myStatus; }
double RawParticle::t | ( | ) | const [inline] |
vertex time
Definition at line 272 of file RawParticle.h.
References myVertex.
Referenced by FBaseSimEvent::addSimTrack(), and BaseParticlePropagator::setProperDecayTime().
{ return myVertex.E(); }
double RawParticle::T | ( | ) | const [inline] |
vertex time
Definition at line 276 of file RawParticle.h.
References myVertex.
Referenced by Pythia6Decays::particleDaughters(), print(), BaseParticlePropagator::propagate(), and translate().
{ return myVertex.E(); }
void RawParticle::translate | ( | const XYZVector & | t | ) | [inline] |
void RawParticle::use | ( | ) | [inline] |
Lock the particle, see isUsed()
Definition at line 237 of file RawParticle.h.
References myUsed.
{ myUsed = 1;}
const XYZTLorentzVector & RawParticle::vertex | ( | ) | const [inline] |
the vertex fourvector
Definition at line 284 of file RawParticle.h.
References myVertex.
Referenced by PFTrackTransformer::addPointsAndBrems(), MuonSimHitProducer::applyMaterialEffects(), EcalHitMaker::cellLine(), CalorimetryManager::EMShowerSimulation(), FBaseSimEvent::fill(), ConvBremSeedProducer::GoodCluster(), EcalHitMaker::hcalCellLine(), CalorimetryManager::HDShowerSimulation(), MaterialEffects::interact(), KineParticleFilter::isOKForMe(), CalorimetryManager::MuonMipSimulation(), operator<<(), EcalHitMaker::preshowerCellLine(), GoodSeedProducer::produce(), TrajectoryManager::propagateToCalorimeters(), BaseParticlePropagator::propagateToClosestApproach(), FastPixelHitMatcher::propagateToLayer(), CalorimetryManager::reconstructECAL(), CalorimetryManager::reconstructHCAL(), and TrajectoryManager::updateWithDaughters().
{ return myVertex ; }
double RawParticle::x | ( | ) | const [inline] |
x of vertex
Definition at line 269 of file RawParticle.h.
References myVertex.
Referenced by PFSimParticleProducer::produce().
{ return myVertex.Px(); }
double RawParticle::X | ( | ) | const [inline] |
x of vertex
Definition at line 273 of file RawParticle.h.
References myVertex.
Referenced by MuonSimHitProducer::applyMaterialEffects(), BaseParticlePropagator::helixCentreX(), ConvBremSeedProducer::makeTrajectoryState(), TrajectoryManager::makeTrajectoryState(), MaterialEffects::normalVector(), Pythia6Decays::particleDaughters(), ParticlePropagator::ParticlePropagator(), print(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToBeamCylinder(), BaseParticlePropagator::propagateToClosestApproach(), BaseParticlePropagator::propagateToNominalVertex(), translate(), BaseParticlePropagator::xyImpactParameter(), and BaseParticlePropagator::zImpactParameter().
{ return myVertex.Px(); }
double RawParticle::y | ( | ) | const [inline] |
y of vertex
Definition at line 270 of file RawParticle.h.
References myVertex.
Referenced by PFSimParticleProducer::produce().
{ return myVertex.Py(); }
double RawParticle::Y | ( | ) | const [inline] |
y of vertex
Definition at line 274 of file RawParticle.h.
References myVertex.
Referenced by MuonSimHitProducer::applyMaterialEffects(), BaseParticlePropagator::helixCentreY(), ConvBremSeedProducer::makeTrajectoryState(), TrajectoryManager::makeTrajectoryState(), MaterialEffects::normalVector(), Pythia6Decays::particleDaughters(), ParticlePropagator::ParticlePropagator(), print(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToBeamCylinder(), BaseParticlePropagator::propagateToClosestApproach(), BaseParticlePropagator::propagateToNominalVertex(), translate(), BaseParticlePropagator::xyImpactParameter(), and BaseParticlePropagator::zImpactParameter().
{ return myVertex.Py(); }
double RawParticle::z | ( | ) | const [inline] |
z of vertex
Definition at line 271 of file RawParticle.h.
References myVertex.
Referenced by PFSimParticleProducer::produce(), ParticlePropagator::propagateToBoundSurface(), and BaseParticlePropagator::propagateToClosestApproach().
{ return myVertex.Pz(); }
double RawParticle::Z | ( | ) | const [inline] |
z of vertex
Definition at line 275 of file RawParticle.h.
References myVertex.
Referenced by PFTrackTransformer::addPointsAndBrems(), MuonSimHitProducer::applyMaterialEffects(), TrajectorySeedProducer::compatibleWithBeamAxis(), cos2ThetaV(), TrajectoryManager::createPSimHits(), BaseParticlePropagator::inside(), KineParticleFilter::isOKForMe(), TrajectoryManager::makeTrajectoryState(), ConvBremSeedProducer::makeTrajectoryState(), BaseParticlePropagator::onBarrel(), BaseParticlePropagator::onEndcap(), Pythia6Decays::particleDaughters(), ParticlePropagator::ParticlePropagator(), print(), ConvBremSeedProducer::produce(), BaseParticlePropagator::propagate(), BaseParticlePropagator::propagateToBeamCylinder(), BaseParticlePropagator::propagateToHOLayer(), MaterialEffects::radLengths(), BaseParticlePropagator::setPropagationConditions(), translate(), and BaseParticlePropagator::zImpactParameter().
{ return myVertex.Pz(); }
double RawParticle::myCharge [protected] |
the MEASURED charge
Definition at line 253 of file RawParticle.h.
Referenced by charge(), chargeConjugate(), init(), operator=(), RawParticle(), setCharge(), and setID().
int RawParticle::myId [protected] |
the particle id number HEP-PID
Definition at line 250 of file RawParticle.h.
Referenced by chargeConjugate(), init(), operator=(), PDGcTau(), pid(), RawParticle(), and setID().
const ParticleData* RawParticle::myInfo [protected] |
The pointer to the PDG info.
Definition at line 255 of file RawParticle.h.
Referenced by init(), operator=(), PDGcharge(), PDGcTau(), PDGmass(), PDGname(), RawParticle(), and setID().
double RawParticle::myMass [protected] |
the RECONSTRUCTED mass
Definition at line 254 of file RawParticle.h.
Referenced by init(), mass(), operator=(), RawParticle(), setID(), and setMass().
int RawParticle::myStatus [protected] |
the status code according to PYTHIA
Definition at line 251 of file RawParticle.h.
Referenced by init(), operator=(), RawParticle(), setStatus(), and status().
int RawParticle::myUsed [protected] |
status of the locking
Definition at line 252 of file RawParticle.h.
Referenced by init(), isUsed(), operator=(), RawParticle(), reUse(), and use().
XYZTLorentzVector RawParticle::myVertex [protected] |
the four vector of the vertex
Definition at line 249 of file RawParticle.h.
Referenced by cos2ThetaV(), operator=(), R2(), r2(), RawParticle(), setT(), setVertex(), T(), t(), translate(), vertex(), x(), X(), y(), Y(), z(), and Z().
ParticleTable* RawParticle::tab [private] |
Definition at line 258 of file RawParticle.h.
Referenced by init(), operator=(), PDGname(), RawParticle(), and setID().