PaVertex Class Reference

Vertex. More...

#include <PaVertex.h>

List of all members.

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
 $ \chi^2 $ 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?

Detailed Description

Vertex.

Reconstructed vertex.

If the vertex contains beam particle (as incoming), such vertex is called primary (other vertexes are called secondary).

Warning:
  • event may contain no primary vertex or more then 1 primary vertex.
  • there was no cuts applied on "primary"--"secondary" space separation. I.e. position of secondary vertex may coincide with primary of even be more upstream.
  • there was no cuts applied on number of shared particles. E.g. all particles of secondary vertex may also belongs to primary vertex.
  • only 2-particle secondary vertexes are reconstructed.
Author:
Sergei.Gerassimov@cern.ch

Member Function Documentation

float PaVertex::Cov ( int  i  )  const [inline]

Vertex position covariance matrix (3x3).

  • i=0,1,..,5 (elements of lower triangle of the matrix):
            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:

  • Has passed >30XX0
  • Has Zlast after the Muon Filter 1
  • Has the same sign as the beam particle (checked based on SM2 polarisation)
  • Belongs to a PV that does not contain other outgoing muon tracks (mu track passes 3 previous requirements)
  • It's extrapolation goes through the active area of a pair of hodoscopes that gave the trigger
  • It does not cross the yoke of SM2
  • It belongs to an event that does not contain a track that goes through the hole in the absorber system Part of the checks can be turned off via options.

For detailed description see presentation on Analysis Meeting by Konrad Klimaszewski from November 2009.

Parameters:
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
Warning:
In the case of few mu' in the vertex (if reject2MuEvents==false), it returns index of muon with bigger momentum.
Author:
Konrad.Klimaszewski@cern.ch

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.

Warning:
In the case of few mu' in the vertex, it returns index of muon with bigger momentum.
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.

Parameters:
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
Warning:
In the case of few mu' in the vertex (if reject2MuEvents==false), it returns index of muon with bigger momentum.
Author:
Konrad.Klimaszewski@cern.ch

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.

Warning:
In the case of few mu' in the vertex, it returns position of muon with bigger momentum.
int PaVertex::nMuPrim (  )  const [inline]

number of identified mu' in the vertex

Warning:
if mu' identification was not executed the PaVertex::iMuPrim() method will be called with default options.

References iMuPrim(), and MuPrimCalled().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2