PaCalorimeter Class Reference

Calorimeter Detector geometry. More...

#include <PaCalorimeter.h>

List of all members.

Public Member Functions

const string & Name () const
 detector name
const TVector3 Position () const
 Position (in the main reference system).
const vector< PaCaloCellType > & vCaloCellType () const
 Vector of cell types.
const vector< PaCalorimCell > & vCalorimCell () const
 Vector of cells.
bool IsMyCluster (const PaCaloClus &cc) const
 Test if cluster "cc" belongs to "this" calorimeter using its Z position (by Vladimir.Kolosov@cern.ch).
int iCell (double x, double y, double &xc, double &yc, double margin=0) const
 Return corresponding cell number for X,Y (in MRS) on this calorimeter front surface.
Tolerance "margin" for the borders of cell could be specified (in [cm]).

Detailed Description

Calorimeter Detector geometry.

Object of this class contains static (event-independent) part of information about one calorimeter.


Member Function Documentation

int PaCalorimeter::iCell ( double  x,
double  y,
double &  xc,
double &  yc,
double  margin = 0 
) const

Return corresponding cell number for X,Y (in MRS) on this calorimeter front surface.
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)

fill if it's not yet done

References PaCalorimCell::iType(), PaCalorimCell::Position(), Position(), PaCaloCellType::Size(), vCaloCellType(), and vCalorimCell().


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

Generated by  doxygen 1.6.2