Calorimeter cluster. More...
#include <PaCaloClus.h>
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 ( 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]). | |
| PaCaloClus & | operator= (const PaCaloClus &c) |
| "=" operator | |
Calorimeter cluster.
Class to store result of cluster finding and fit in COMPASS calorimeters.
| 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().
1.6.2