| 
    LCFIVertex
    0.7.2
    
   | 
 
#include <vertex.h>
Public Member Functions | |
| Vertex () | |
| Default Constuctor.  | |
| Vertex (Event *Event, const std::vector< Track * > &Tracks, const Vector3 &Position, const SymMatrix3x3 &PosError, bool IsPrimary, double Chi2, double Probability, std::map< Track *, double > ChiTrack) | |
| Full Constructor.  More... | |
| Vertex (Event *Event, const std::vector< Track * > &Tracks, const Vector3 &Position, const SymMatrix3x3 &PosError, bool IsPrimary, double Chi2, double Probability) | |
| Almost Full Constructor.  More... | |
| Vertex (ZVTOP::CandidateVertex *CandidateVertex, Event *Event) | |
| Construct from Candidate Vertex.  More... | |
| Event * | event () const | 
| Event.  More... | |
| const std::vector< Track * > & | tracks () const | 
| Get Tracks.  More... | |
| bool | isPrimary () const | 
| Is this vertex primary.  More... | |
| bool & | isPrimary () | 
| Is this vertex primary.  More... | |
| void | addTrack (Track *AddTrack) | 
| Add Track.  More... | |
| bool | removeTrack (Track *RTrack) | 
| Remove Track.  More... | |
| bool | hasTrack (Track *HTrack) const | 
| Does vertex contain this Track?  More... | |
| double | charge () const | 
| Charge.  More... | |
| Vector3 | momentum () const | 
| Momentum.  More... | |
| const Vector3 & | position () const | 
| Position.  More... | |
| const SymMatrix3x3 & | positionError () const | 
| Position.  More... | |
| double | chi2 () const | 
| Chi Squared.  More... | |
| std::map< Track *, double > | chi2OfTracks () const | 
| Chi Squared Of Tracks.  More... | |
| double | probability () const | 
| Probability.  More... | |
| double | radius (Projection Proj) const | 
| Radius.  More... | |
| double | radiusError (Projection Proj) const | 
| Radius Error.  More... | |
| double | distanceToVertex (Vertex *FarVertex, Projection Proj) const | 
| Distance to another vertex.  More... | |
| double | distanceToVertexError (Vertex *FarVertex, Projection Proj) const | 
| Error of distance to another vertex.  More... | |
| Vertex () | |
| Default Constuctor.  | |
| Vertex (Event *Event, const std::vector< Track * > &Tracks, const Vector3 &Position, const SymMatrix3x3 &PosError, bool IsPrimary, double Chi2, double Probability, std::map< Track *, double > ChiTrack) | |
| Full Constructor.  More... | |
| Vertex (Event *Event, const std::vector< Track * > &Tracks, const Vector3 &Position, const SymMatrix3x3 &PosError, bool IsPrimary, double Chi2, double Probability) | |
| Almost Full Constructor.  More... | |
| Vertex (ZVTOP::CandidateVertex *CandidateVertex, Event *Event) | |
| Construct from Candidate Vertex.  More... | |
| Event * | event () const | 
| Event.  More... | |
| const std::vector< Track * > & | tracks () const | 
| Get Tracks.  More... | |
| bool | isPrimary () const | 
| Is this vertex primary.  More... | |
| bool & | isPrimary () | 
| Is this vertex primary.  More... | |
| void | addTrack (Track *AddTrack) | 
| Add Track.  More... | |
| bool | removeTrack (Track *RTrack) | 
| Remove Track.  More... | |
| bool | hasTrack (Track *HTrack) const | 
| Does vertex contain this Track?  More... | |
| double | charge () const | 
| Charge.  More... | |
| Vector3 | momentum () const | 
| Momentum.  More... | |
| const Vector3 & | position () const | 
| Position.  More... | |
| const SymMatrix3x3 & | positionError () const | 
| Position.  More... | |
| double | chi2 () const | 
| Chi Squared.  More... | |
| std::map< Track *, double > | chi2OfTracks () const | 
| Chi Squared Of Tracks.  More... | |
| double | probability () const | 
| Probability.  More... | |
| double | radius (Projection Proj) const | 
| Radius.  More... | |
| double | radiusError (Projection Proj) const | 
| Radius Error.  More... | |
| double | distanceToVertex (Vertex *FarVertex, Projection Proj) const | 
| Distance to another vertex.  More... | |
| double | distanceToVertexError (Vertex *FarVertex, Projection Proj) const | 
| Error of distance to another vertex.  More... | |
| vertex_lcfi::Vertex::Vertex | ( | Event * | Event, | 
| const std::vector< Track * > & | Tracks, | ||
| const Vector3 & | Position, | ||
| const SymMatrix3x3 & | PosError, | ||
| bool | IsPrimary, | ||
| double | Chi2, | ||
| double | Probability, | ||
| std::map< Track *, double > | ChiTrack | ||
| ) | 
Full Constructor.
| Event | Pointer to vertices Event | 
| Tracks | Vector of pointers to tracks that form the vertex | 
| Position | Vector3 of the vertices positon | 
| PosError | SymMatrix3x3 of the vertices error | 
| ChiTrack | map of doubles with Track* key holding the chi squared contribution of every track to the vertex | 
Definition at line 11 of file vertex.cpp.
| vertex_lcfi::Vertex::Vertex | ( | Event * | Event, | 
| const std::vector< Track * > & | Tracks, | ||
| const Vector3 & | Position, | ||
| const SymMatrix3x3 & | PosError, | ||
| bool | IsPrimary, | ||
| double | Chi2, | ||
| double | Probability | ||
| ) | 
Almost Full Constructor.
| Event | Pointer to vertices Event | 
| Tracks | Vector of pointers to tracks that form the vertex | 
| Position | Vector3 of the vertices positon | 
| PosError | SymMatrix3x3 of the vertices error | 
Definition at line 15 of file vertex.cpp.
| vertex_lcfi::Vertex::Vertex | ( | ZVTOP::CandidateVertex * | CandidateVertex, | 
| Event * | Event | ||
| ) | 
Construct from Candidate Vertex.
Definition at line 19 of file vertex.cpp.
References vertex_lcfi::ZVTOP::CandidateVertex::chiSquaredOfFit(), vertex_lcfi::ZVTOP::CandidateVertex::chiSquaredOfTrack(), vertex_lcfi::ZVTOP::CandidateVertex::interactionPoint(), and vertex_lcfi::ZVTOP::CandidateVertex::trackStateList().
| vertex_lcfi::Vertex::Vertex | ( | Event * | Event, | 
| const std::vector< Track * > & | Tracks, | ||
| const Vector3 & | Position, | ||
| const SymMatrix3x3 & | PosError, | ||
| bool | IsPrimary, | ||
| double | Chi2, | ||
| double | Probability, | ||
| std::map< Track *, double > | ChiTrack | ||
| ) | 
Full Constructor.
| vertex_lcfi::Vertex::Vertex | ( | Event * | Event, | 
| const std::vector< Track * > & | Tracks, | ||
| const Vector3 & | Position, | ||
| const SymMatrix3x3 & | PosError, | ||
| bool | IsPrimary, | ||
| double | Chi2, | ||
| double | Probability | ||
| ) | 
| vertex_lcfi::Vertex::Vertex | ( | ZVTOP::CandidateVertex * | CandidateVertex, | 
| Event * | Event | ||
| ) | 
      
  | 
  inline | 
Add Track.
Add a track to the vertex. Does not affect fit. Will not be added if duplicate
| AddTrack | Pointer to track to add to vertex | 
Definition at line 89 of file include/vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Add Track.
Add a track to the vertex. Does not affect fit. Will not be added if duplicate
| AddTrack | Pointer to track to add to vertex | 
Definition at line 89 of file vertex_lcfi/inc/vertex.h.
| double vertex_lcfi::Vertex::charge | ( | ) | const | 
Charge.
Sum charge of tracks in the vertex
Definition at line 70 of file vertex.cpp.
| double vertex_lcfi::Vertex::charge | ( | ) | const | 
      
  | 
  inline | 
Chi Squared.
Definition at line 138 of file include/vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Chi Squared.
Definition at line 138 of file vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Chi Squared Of Tracks.
Definition at line 144 of file include/vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Chi Squared Of Tracks.
Definition at line 144 of file vertex_lcfi/inc/vertex.h.
| double vertex_lcfi::Vertex::distanceToVertex | ( | Vertex * | FarVertex, | 
| Projection | Proj | ||
| ) | const | 
Distance to another vertex.
Distance from the vertex postion to the other vertices position
| FarVertex | Pointer to the other vertex | 
| Proj | Specifies projection of the distance to be taken | 
Definition at line 90 of file vertex.cpp.
References position().
Referenced by vertex_lcfi::VertexDecaySignificance::calculateFor().
| double vertex_lcfi::Vertex::distanceToVertex | ( | Vertex * | FarVertex, | 
| Projection | Proj | ||
| ) | const | 
Distance to another vertex.
Distance from the vertex postion to the other vertices position
| FarVertex | Pointer to the other vertex | 
| Proj | Specifies projection of the distance to be taken | 
| double vertex_lcfi::Vertex::distanceToVertexError | ( | Vertex * | FarVertex, | 
| Projection | Proj | ||
| ) | const | 
Error of distance to another vertex.
Error of the distance from the vertex postion to the other vertices position, taking into account the uncertainty in both vertices
| FarVertex | Pointer to the other Vertex | 
| Proj | Specifies projection of radius to be taken | 
Definition at line 95 of file vertex.cpp.
References position(), and positionError().
| double vertex_lcfi::Vertex::distanceToVertexError | ( | Vertex * | FarVertex, | 
| Projection | Proj | ||
| ) | const | 
Error of distance to another vertex.
Error of the distance from the vertex postion to the other vertices position, taking into account the uncertainty in both vertices
| FarVertex | Pointer to the other Vertex | 
| Proj | Specifies projection of radius to be taken | 
      
  | 
  inline | 
Definition at line 65 of file include/vertex_lcfi/inc/vertex.h.
Referenced by radius().
      
  | 
  inline | 
| bool vertex_lcfi::Vertex::hasTrack | ( | Track * | HTrack | ) | const | 
| bool vertex_lcfi::Vertex::hasTrack | ( | Track * | HTrack | ) | const | 
Does vertex contain this Track?
| HTrack | Pointer to track to check vertex for | 
Definition at line 49 of file vertex.cpp.
      
  | 
  inline | 
      
  | 
  inline | 
Is this vertex primary.
Definition at line 77 of file include/vertex_lcfi/inc/vertex.h.
Referenced by vertex_lcfi::PerEventIPFitter::calculateFor().
      
  | 
  inline | 
Is this vertex primary.
Definition at line 82 of file include/vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
| Vector3 vertex_lcfi::Vertex::momentum | ( | ) | const | 
Momentum.
Average perigee momentum of the tracks in the vertex
Definition at line 59 of file vertex.cpp.
| Vector3 vertex_lcfi::Vertex::momentum | ( | ) | const | 
Momentum.
Average perigee momentum of the tracks in the vertex
      
  | 
  inline | 
Position.
Definition at line 124 of file include/vertex_lcfi/inc/vertex.h.
Referenced by distanceToVertex(), distanceToVertexError(), vertex_lcfi::Event::interactionPoint(), vertex_lcfi::VertexMass::Ptcalc(), radius(), and removeTrack().
      
  | 
  inline | 
Position.
Definition at line 124 of file vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Position.
Definition at line 131 of file vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Position.
Definition at line 131 of file include/vertex_lcfi/inc/vertex.h.
Referenced by distanceToVertexError(), vertex_lcfi::Event::interactionPointError(), and vertex_lcfi::VertexMass::Ptcalc().
      
  | 
  inline | 
Probability.
Definition at line 150 of file vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Probability.
Definition at line 150 of file include/vertex_lcfi/inc/vertex.h.
| double vertex_lcfi::Vertex::radius | ( | Projection | Proj | ) | const | 
Radius.
Distance from the vertex postion to the event's interaction point
| Proj | Specifies projection of radius to be taken | 
| double vertex_lcfi::Vertex::radius | ( | Projection | Proj | ) | const | 
Radius.
Distance from the vertex postion to the event's interaction point
| Proj | Specifies projection of radius to be taken | 
Definition at line 80 of file vertex.cpp.
References event(), and position().
| double vertex_lcfi::Vertex::radiusError | ( | Projection | Proj | ) | const | 
Radius Error.
Error of the distance from the vertex postion to the event's interaction point, taking into account the uncertainty in both the vertex and interaction point
| Proj | Specifies projection of radius to be taken | 
| double vertex_lcfi::Vertex::radiusError | ( | Projection | Proj | ) | const | 
Radius Error.
Error of the distance from the vertex postion to the event's interaction point, taking into account the uncertainty in both the vertex and interaction point
| Proj | Specifies projection of radius to be taken | 
| bool vertex_lcfi::Vertex::removeTrack | ( | Track * | RTrack | ) | 
| bool vertex_lcfi::Vertex::removeTrack | ( | Track * | RTrack | ) | 
Remove Track.
Remove a track from the vertex. Does not affect fit. Does nothing if track is not in vertex
| RTrack | Pointer to track to remove from vertex | 
Definition at line 37 of file vertex.cpp.
References position().
Referenced by vertex_lcfi::ZVKIN::calculateFor().
      
  | 
  inline | 
Get Tracks.
Definition at line 71 of file include/vertex_lcfi/inc/vertex.h.
      
  | 
  inline | 
Get Tracks.
Definition at line 71 of file vertex_lcfi/inc/vertex.h.
 1.8.6