Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor documentation change to TrackingParticle #7316

Merged
merged 1 commit into from Jan 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions SimDataFormats/TrackingAnalysis/interface/TrackingParticle.h
Expand Up @@ -88,9 +88,9 @@ class TrackingParticle
tv_iterator decayVertices_end() const;


///< @brief Electric charge. Note this is taken from the first SimTrack only.
/// @brief Electric charge. Note this is taken from the first SimTrack only.
float charge() const { return g4Tracks_[0].charge(); }
///< Gives charge in unit of quark charge (should be 3 time the abaove)
/// Gives charge in unit of quark charge (should be 3 times "charge()")
int threeCharge() const { return lrintf(3.f*charge()); }

const LorentzVector& p4() const; ///< @brief Four-momentum Lorentz vector. Note this is taken from the first SimTrack only.
Expand All @@ -116,7 +116,7 @@ class TrackingParticle
double rapidity() const; ///< @brief Rapidity. Note this is taken from the first SimTrack only.
double y() const; ///< @brief Same as rapidity().

///< @brief Parent vertex position
/// @brief Parent vertex position
Point vertex() const {
const TrackingVertex::LorentzVector & p = (*parentVertex_).position();
return Point(p.x(),p.y(),p.z());
Expand All @@ -134,7 +134,7 @@ class TrackingParticle

static const unsigned int longLivedTag; ///< long lived flag

///< is long lived?
/// is long lived?
bool longLived() const { return status()&longLivedTag;}

/** @brief Gives the total number of hits, including muon hits. Hits on overlaps in the same layer count separately.
Expand Down