PaParticle Class Reference

Reconstructed particle. More...

#include <PaParticle.h>

List of all members.

Public Member Functions

int iTrack () const
 PaTrack's index (-1 in not exists).
int PID () const
 particle ID (GEANT3 notation)
Byte_t BitFlags () const
 get bit flags
bool IsBeam () const
 is it beam?
int Q () const
 particle's charge (-777 if charge is not known)
float RMass () const
 Reconstructed mass of the particle.
bool IsMuPrim () const
 is it a scattered muon? (based on PaVertex::iMuPrim)
bool IsMuPrimFast () const
 is it a scattered muon? Fast version. (based on PaVertex::iMuPrim)
bool IsMuPrimCoral () const
 is it scattered muon? (based on CORAL)
bool Chi2CutFlag () const
 flag of chi2 geometrical compatibility cut between beam particle and BMS The compatibility is calculated based on backpropagation of the beam track to the BMS position. The chi2 between extrapolated track and BMS hits is calculated. The flag is set to 1 if probability P(Chi2) < 0.005. For impact on low Q^2 data see the studies by Yann Bedfer: http://ybedfer.web.cern.ch/ybedfer/2006/index.html#04W39
double BackPropLH () const
 returns likelihood of the association of a BMS track to a beamTelescope track, based on transport of the latter back to BMS through the optical system of the beam line (returns 0 if not set)
const PaTParParInVtx (int iv) const
 parameters of this particle at vertex with index iv
int NCalorim () const
 number of calorimeter cluster referencies
int iCalorim (int i) const
 calorimeter cluster index # i
int NVertex () const
 number of vertices this particle assosiated with.
int iVertex (int i) const
 provides access to vertex indexes (in PaEvent::vVertex()) this particle associated with. (0 <= i < NVertex())
int NOutVertex () const
 number of outgoing (daughter) vertices this particle produce
int iOutVertex (int i) const
 outgoing vertex indexes.
void SetPID (const Short_t &id)
 Set particle ID.

Detailed Description

Reconstructed particle.

Reconstructed particle (charged or neutral). Main input for anlysies.

PaPartice contains:

Here and in all other classes, reference, index of an object means its sequential number in corresponding vector of PaEvent class.
index == -1 means "information is missing"

Author:
Sergei.Gerassimov@cern.ch

Member Function Documentation

bool PaParticle::IsMuPrim (  )  const

is it a scattered muon? (based on PaVertex::iMuPrim)

Warning:
if the mu' identification was not executed it is checked if the particle is associated to the Best Primary Vertex. If so the PaVertex::iMuPrim with default options is executed for the Best PV. Then the result is returned. If a user is interested in particles that belong to NOT Best PV the PaVertex::iMuPrim has to be called explicitely.
Author:
Konrad.Klimaszewski@cern.ch

References PaEvent::iBestPrimaryVertex(), PaVertex::iMuPrim(), PaVertex::MuPrimCalled(), Phast::Ref(), and PaEvent::vVertex().

bool PaParticle::IsMuPrimFast (  )  const [inline]

is it a scattered muon? Fast version. (based on PaVertex::iMuPrim)

Warning:
to return a meaningful result the PaVertex::iMuPrim must have been called explicitely (can be checked with PaVertex::MuPrimCalled()). This is not checked by PaParticle::IsMuPrimFast() and no automatic execution of the Mu' ID is performed.
Author:
Konrad.Klimaszewski@cern.ch
int PaParticle::NVertex (  )  const [inline]

number of vertices this particle assosiated with.

Please note that this NVertex() is not equal to PaEvent::NVertex().

Referenced by iVertex(), and ParInVtx().

const PaTPar& PaParticle::ParInVtx ( int  iv  )  const [inline]

parameters of this particle at vertex with index iv

Function returns this particle parameters at vertex # iv (result of the vertex fit).

Warning:
Please note, that iv is a vertex index in the list of all event vertexes. So, not all iv are allowed as particle is associated with subset of event vertexes. If this particle is not associated with specified iv error message will be printed and job will be stopped. It is user's responsibility to check that this particle is really associated with vertex iv.

Features:

  • X,Y,Z of fitted PaTPar are taken from X,Y,Z of corresponding PaVertex.
  • X',Y',q/P are result of vertex Klman fit.
  • Not all covariances are filled ("-")
             X  Y  X' Y' q/P
        X    +  +  -  -  -
        Y    +  +  -  -  -
        X'   -  -  +  +  +
        Y'   -  -  +  +  +
        q/P  -  -  +  +  +
        
    Full covariance matrix of X,Y,Z could be taken from corresponding vertex.

References iVertex(), and NVertex().

int PaParticle::Q (  )  const [inline]

particle's charge (-777 if charge is not known)

Warning:
Q == -777 means that this particle has a link to reconstructed track with unknown curvature (e.g. it is a track piece reconstructed only in field free region)
float PaParticle::RMass (  )  const [inline]

Reconstructed mass of the particle.

Returns -1 if not defined.


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

Generated by  doxygen 1.6.2