LCFIVertex
0.7.2
|
Decay Chain. More...
#include <decaychain.h>
Public Member Functions | |
DecayChain () | |
Default Constructor. | |
DecayChain (const DecayChain &OldDecayChain) | |
Copy Constructor. | |
DecayChain (Jet *MyJet, const std::vector< Track * > &Tracks, const std::vector< Vertex * > &Vertices) | |
Full Constructor. More... | |
Jet * | jet () const |
Owner Jet. More... | |
const std::vector< Track * > & | allTracks () const |
All tracks contained in DecayChain. More... | |
const std::vector< Track * > & | attachedTracks () const |
Attached tracks contained in DecayChain. More... | |
const std::vector< Vertex * > & | vertices () const |
Vertices contained in DecayChain. More... | |
double | charge () const |
Charge sum of all tracks in the DecayChain. More... | |
const util::Vector3 & | momentum () const |
Perigee momentum sum of all tracks in the DecayChain. More... | |
void | addTrack (Track *Track) |
Add Track. More... | |
bool | removeTrack (Track *Track) |
Remove Track. More... | |
bool | hasTrack (Track *Track) const |
Does the DecayChain have this Track? More... | |
void | addVertex (Vertex *Vertex) |
Add Vertex. More... | |
bool | removeVertex (Vertex *Vertex) |
Remove Vertex. More... | |
bool | hasVertex (Vertex *Vertex) const |
Does the DecayChain have this Vertex? More... | |
DecayChain () | |
Default Constructor. | |
DecayChain (const DecayChain &OldDecayChain) | |
Copy Constructor. | |
DecayChain (Jet *MyJet, const std::vector< Track * > &Tracks, const std::vector< Vertex * > &Vertices) | |
Full Constructor. More... | |
Jet * | jet () const |
Owner Jet. More... | |
const std::vector< Track * > & | allTracks () const |
All tracks contained in DecayChain. More... | |
const std::vector< Track * > & | attachedTracks () const |
Attached tracks contained in DecayChain. More... | |
const std::vector< Vertex * > & | vertices () const |
Vertices contained in DecayChain. More... | |
double | charge () const |
Charge sum of all tracks in the DecayChain. More... | |
const util::Vector3 & | momentum () const |
Perigee momentum sum of all tracks in the DecayChain. More... | |
void | addTrack (Track *Track) |
Add Track. More... | |
bool | removeTrack (Track *Track) |
Remove Track. More... | |
bool | hasTrack (Track *Track) const |
Does the DecayChain have this Track? More... | |
void | addVertex (Vertex *Vertex) |
Add Vertex. More... | |
bool | removeVertex (Vertex *Vertex) |
Remove Vertex. More... | |
bool | hasVertex (Vertex *Vertex) const |
Does the DecayChain have this Vertex? More... | |
vertex_lcfi::DecayChain::DecayChain | ( | Jet * | MyJet, |
const std::vector< Track * > & | Tracks, | ||
const std::vector< Vertex * > & | Vertices | ||
) |
Full Constructor.
Tracks | A vector of pointers to tracks that are attahced to the decay chain |
Vertices | A vector of pointers to vertices that are contained in the decay chain |
Definition at line 43 of file decaychain.cpp.
vertex_lcfi::DecayChain::DecayChain | ( | Jet * | MyJet, |
const std::vector< Track * > & | Tracks, | ||
const std::vector< Vertex * > & | Vertices | ||
) |
Full Constructor.
Tracks | A vector of pointers to tracks that are attahced to the decay chain |
Vertices | A vector of pointers to vertices that are contained in the decay chain |
void vertex_lcfi::DecayChain::addTrack | ( | Track * | Track | ) |
Add Track.
Add a track to the DecayChain as an attached track
Track | Pointer to the track to be added |
Definition at line 133 of file decaychain.cpp.
Referenced by vertex_lcfi::TrackAttach::calculateFor().
void vertex_lcfi::DecayChain::addTrack | ( | Track * | Track | ) |
Add Track.
Add a track to the DecayChain as an attached track
Track | Pointer to the track to be added |
void vertex_lcfi::DecayChain::addVertex | ( | Vertex * | Vertex | ) |
void vertex_lcfi::DecayChain::addVertex | ( | Vertex * | Vertex | ) |
const std::vector< Track * > & vertex_lcfi::DecayChain::allTracks | ( | ) | const |
All tracks contained in DecayChain.
Returns all tracks contained in both attached tracks and in vertices, in order of increasing d0
Definition at line 52 of file decaychain.cpp.
Referenced by vertex_lcfi::VertexCharge::calculateFor(), vertex_lcfi::VertexMomentum::calculateFor(), vertex_lcfi::SecVertexProb::calculateFor(), vertex_lcfi::VertexMass::calculateFor(), charge(), and momentum().
const std::vector<Track*>& vertex_lcfi::DecayChain::allTracks | ( | ) | const |
All tracks contained in DecayChain.
Returns all tracks contained in both attached tracks and in vertices, in order of increasing d0
const std::vector< Track * > & vertex_lcfi::DecayChain::attachedTracks | ( | ) | const |
Attached tracks contained in DecayChain.
Returns attached tracks, in order of increasing d0
Definition at line 75 of file decaychain.cpp.
const std::vector<Track*>& vertex_lcfi::DecayChain::attachedTracks | ( | ) | const |
Attached tracks contained in DecayChain.
Returns attached tracks, in order of increasing d0
double vertex_lcfi::DecayChain::charge | ( | ) | const |
Charge sum of all tracks in the DecayChain.
Sums charge of all tracks in vertices and attached
double vertex_lcfi::DecayChain::charge | ( | ) | const |
Charge sum of all tracks in the DecayChain.
Sums charge of all tracks in vertices and attached
Definition at line 85 of file decaychain.cpp.
References allTracks().
bool vertex_lcfi::DecayChain::hasTrack | ( | Track * | Track | ) | const |
Does the DecayChain have this Track?
Does this DecayChain have a perticular track?
Track | Pointer to track to be checked |
Definition at line 164 of file decaychain.cpp.
Referenced by vertex_lcfi::TrackAttach::calculateFor().
bool vertex_lcfi::DecayChain::hasTrack | ( | Track * | Track | ) | const |
Does the DecayChain have this Track?
Does this DecayChain have a perticular track?
Track | Pointer to track to be checked |
bool vertex_lcfi::DecayChain::hasVertex | ( | Vertex * | Vertex | ) | const |
Does the DecayChain have this Vertex?
Does this DecayChain have a perticular Vertex?
Definition at line 201 of file decaychain.cpp.
bool vertex_lcfi::DecayChain::hasVertex | ( | Vertex * | Vertex | ) | const |
Does the DecayChain have this Vertex?
Does this DecayChain have a perticular Vertex?
|
inline |
Owner Jet.
Returns a pointer to the Jet that contains this decay chain
Definition at line 43 of file vertex_lcfi/inc/decaychain.h.
|
inline |
Owner Jet.
Returns a pointer to the Jet that contains this decay chain
Definition at line 43 of file include/vertex_lcfi/inc/decaychain.h.
Referenced by vertex_lcfi::VertexDecaySignificance::calculateFor(), and vertex_lcfi::TrackAttach::calculateFor().
const util::Vector3& vertex_lcfi::DecayChain::momentum | ( | ) | const |
Perigee momentum sum of all tracks in the DecayChain.
Sums momentum of all tracks in vertices and attached tracks
const Vector3 & vertex_lcfi::DecayChain::momentum | ( | ) | const |
Perigee momentum sum of all tracks in the DecayChain.
Sums momentum of all tracks in vertices and attached tracks
Definition at line 109 of file decaychain.cpp.
References allTracks().
bool vertex_lcfi::DecayChain::removeTrack | ( | Track * | Track | ) |
Remove Track.
Remove a track from the DecayChain, track will be removed from both attached tracks and vertices
Track | Pointer to track to be removed |
bool vertex_lcfi::DecayChain::removeTrack | ( | Track * | Track | ) |
Remove Track.
Remove a track from the DecayChain, track will be removed from both attached tracks and vertices
Track | Pointer to track to be removed |
Definition at line 140 of file decaychain.cpp.
Referenced by vertex_lcfi::TrackAttach::calculateFor().
bool vertex_lcfi::DecayChain::removeVertex | ( | Vertex * | Vertex | ) |
bool vertex_lcfi::DecayChain::removeVertex | ( | Vertex * | Vertex | ) |
Remove Vertex.
Remove a Vertex from the DecayChain
Definition at line 187 of file decaychain.cpp.
const std::vector< Vertex * > & vertex_lcfi::DecayChain::vertices | ( | ) | const |
Vertices contained in DecayChain.
Returns vertices, in order of increasing rphi radius from the origin
Definition at line 80 of file decaychain.cpp.
Referenced by vertex_lcfi::VertexMultiplicity::calculateFor(), vertex_lcfi::VertexDecaySignificance::calculateFor(), vertex_lcfi::TrackAttach::calculateFor(), and vertex_lcfi::VertexMass::calculateFor().
const std::vector<Vertex*>& vertex_lcfi::DecayChain::vertices | ( | ) | const |
Vertices contained in DecayChain.
Returns vertices, in order of increasing rphi radius from the origin