PaCaloClus Class Reference

Calorimeter cluster. More...

#include <PaCaloClus.h>

List of all members.

Public Member Functions

const string & CalorimName () const
 Calorimeter name.
const int & iCalorim () const
 Calorimeter number (index in PaSetup::vecCalorim).
const float & E () const
 Cluster's energy.
const float & Eerr () const
 Cluster's energy error.
const float & X () const
 X position of cluster's center.
const float & Y () const
 Y position of cluster's center.
const float & Z () const
 Z position of cluster ($\approx$ calorimeter Z position).
const float Xerr () const
 error of X position
const float Yerr () const
 error of Y position
const float Zerr () const
 error of Z position
const float * Cov () const
 Full covariance matrix of the cluster coordinates. Only lower triangle (6 elements).
const float & Chi2 () const
 Chi**2 of cluster fit.
const Int_t & Ndf () const
 NDF of cluster fit. When NDF==0, the fit has not been performed for this cluster.
int Size () const
 Cluster's size.
bool HasTime () const
 "true" if cluster has measured time
float Time () const
 cluster time [ns]
float SigmaT () const
 cluster time resolution [ns]. Returns -1 if not available..
int NParticles () const
 number of particles (PaParticle) with the reference to this cluster.
int iParticle (int i) const
 index of particle # i (i=0, NParticles())
const vector< Int_t > & vCellNumber () const
 Cell numbers in the cluster.
const vector< Float_t > & vCellEnergy () const
 Energy depositions per cell in the cluster.
const float & RWprob () const
 Probability to be charge particle cluster as it is given by RichWall code. -1 if not defined.
int iCell (double &xc, double &yc, double margin=0) const
 Return corresponding cell number for this cluster's X,Y
Tolerance "margin" for the borders of cell could be specified (in [cm]).
PaCaloClusoperator= (const PaCaloClus &c)
 "=" operator

Detailed Description

Calorimeter cluster.

Class to store result of cluster finding and fit in COMPASS calorimeters.

Author:
Sergei.Gerassimov@cern.ch

Member Function Documentation

int PaCaloClus::iCell ( double &  xc,
double &  yc,
double  margin = 0 
) const

Return corresponding cell number for this cluster's X,Y
Tolerance "margin" for the borders of cell could be specified (in [cm]).

If cell not found, function returns "-1"
If cell is found, function also returns cell center coordinates (xc,yc)

References PaSetup::Calorimeter(), iCalorim(), PaCalorimCell::iType(), PaCalorimCell::Position(), PaCalorimeter::Position(), PaSetup::Ref(), PaCaloCellType::Size(), PaCalorimeter::vCaloCellType(), PaCalorimeter::vCalorimCell(), vCellNumber(), X(), and Y().


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

Generated by  doxygen 1.6.2