Vertex. More...
#include <PaVertex.h>
Public Member Functions | |
| float | X () const |
| Vertex X position. | |
| float | Y () const |
| Vertex Y position. | |
| float | Z () const |
| Vertex Z position. | |
| float | Pos (int i) const |
| Vertex position X,Y,Z (i=0,1,2). | |
| float | Cov (int i) const |
| Vertex position covariance matrix (3x3). | |
| float | Chi2 () const |
of vertex fit | |
| int | Ndf () const |
| Number of degrees of freedom in vertex fit. | |
| int | InParticle () const |
| index (in the PaEvent::vParticle()) of incomming particle | |
| int | NOutParticles () const |
| N outgoing particles. | |
| int | iOutParticle (int i) const |
| index (in the PaEvent::vParticle()) of outgoing particle # i (out of NOutParticles()) | |
| bool | IsPrimary () const |
| True if the vertex is primary. | |
| bool | IsBestPrimary () const |
| True if the vertex was tagged in CORAL as "best primary" (CsVertex::isBestVertex() function). | |
| int | iMuPrimCoral () const |
| index of mu' (in the PaEvent::vParticle()) or -1 if mu' is not found (based on CORAL). | |
| int | iOutMuPrimCoral () const |
| mu' position in outgoing particles list or -1 if mu' is not found (based on CORAL). For description see presentation ona Analysis Meeting by Yann Bedfer from May 2009. | |
| int | iMuPrim (bool checkYokeSM2=true, bool reject2MuEvents=true, bool checkCanBeMuon=true, bool checkHodos=true) const |
| index of mu' (in the PaEvent::vParticle()) or -1 if mu' is not found. | |
| int | iOutMuPrim (bool checkYokeSM2=true, bool reject2MuEvents=true, bool checkCanBeMuon=true, bool checkHodos=true) const |
| mu' position in outgoing particles list or -1 if mu' is not found. | |
| int | nMuPrim () const |
| number of identified mu' in the vertex | |
| bool | MuPrimCalled () const |
| has the mu' identification been executed? | |
Vertex.
Reconstructed vertex.
If the vertex contains beam particle (as incoming), such vertex is called primary (other vertexes are called secondary).
| float PaVertex::Cov | ( | int | i | ) | const [inline] |
Vertex position covariance matrix (3x3).
X Y Z
X 0 - -
Y 1 2 -
Z 3 4 5
| int PaVertex::iMuPrim | ( | bool | checkYokeSM2 = true, |
|
| bool | reject2MuEvents = true, |
|||
| bool | checkCanBeMuon = true, |
|||
| bool | checkHodos = true | |||
| ) | const |
index of mu' (in the PaEvent::vParticle()) or -1 if mu' is not found.
Mu' candidates are searched only in Primary Vertices. A mu' candidate is a track that:
For detailed description see presentation on Analysis Meeting by Konrad Klimaszewski from November 2009.
| checkYokeSM2 | should mu' candidates crossing SM2 yoke be rejected | |
| reject2MuEvents | should events with >=2 outgoing muon tracks | |
| checkCanBeMuon | should events with tracks pointing to the absorbers hole be rejected | |
| checkHodos | should mu' candidates be required to cross active area of trigger hodoscope pair corresponding to one of the fired triggers |
References PaTrack::CanBeMuon(), PaTrack::CrossYokeSM2(), PaSetup::Detector(), PaField::getMagInfo(), PaTrack::HasMom(), PaSetup::iDetFirst(), iOutParticle(), IsPrimary(), PaParticle::iTrack(), NOutParticles(), PaTrack::PointsHodoscopes(), PaTrack::Q(), PaTrack::qP(), Phast::Ref(), PaSetup::Ref(), PaEvent::RunNum(), PaEvent::vParticle(), PaEvent::vTrack(), PaTrack::XX0(), PaDetect::Z(), and PaTrack::ZLast().
Referenced by iOutMuPrim(), PaParticle::IsMuPrim(), and nMuPrim().
| int PaVertex::iMuPrimCoral | ( | ) | const [inline] |
index of mu' (in the PaEvent::vParticle()) or -1 if mu' is not found (based on CORAL).
For description see presentation ona Analysis Meeting by Yann Bedfer from May 2009.
| int PaVertex::iOutMuPrim | ( | bool | checkYokeSM2 = true, |
|
| bool | reject2MuEvents = true, |
|||
| bool | checkCanBeMuon = true, |
|||
| bool | checkHodos = true | |||
| ) | const |
mu' position in outgoing particles list or -1 if mu' is not found.
For description see presentation on Analysis Meeting by Konrad Klimaszewski from November 2009.
| checkYokeSM2 | should mu' candidates crossing SM2 yoke be rejected | |
| reject2MuEvents | should events with >=2 outgoing muon tracks | |
| checkCanBeMuon | should events with tracks pointing to the absorbers hole be rejected | |
| checkHodos | should mu' candidates be required to cross active area of trigger hodoscope pair corresponding to one of the fired triggers |
References iMuPrim().
| int PaVertex::iOutMuPrimCoral | ( | ) | const [inline] |
mu' position in outgoing particles list or -1 if mu' is not found (based on CORAL). For description see presentation ona Analysis Meeting by Yann Bedfer from May 2009.
| int PaVertex::nMuPrim | ( | ) | const [inline] |
number of identified mu' in the vertex
References iMuPrim(), and MuPrimCalled().
1.6.2