ATLAS Offline Software
Loading...
Searching...
No Matches
CaloLayerCalculator.h File Reference

Calculate total energy, position, etc. for a given layer of a cluster. More...

#include "CaloDetDescr/CaloDetDescrManager.h"
#include "CaloGeoHelpers/CaloSampling.h"
#include "CaloGeoHelpers/CaloPhiRange.h"
#include "CaloEvent/CaloClusterCellLink.h"
#include "Navigation/NavigableIterator.h"
#include "GaudiKernel/StatusCode.h"
#include <string>
#include "xAODCaloEvent/CaloCluster.h"
#include "xAODCaloEvent/CaloClusterKineHelper.h"
Include dependency graph for CaloLayerCalculator.h:

Go to the source code of this file.

Classes

class  CaloLayerCalculator
struct  CaloLayerCalculator::Helper
 Helper class for layer variable calculation. More...

Detailed Description

Calculate total energy, position, etc. for a given layer of a cluster.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
March, 2006

This tool will calculate for a given layer of an EM cluster:

  • The total energy.
  • The mean \(\eta\) and \(\phi\) positions and widths.
  • The \(\eta\) and \(\phi\) position of the cell with the maximum energy, and the amount of energy in that cell.

The list of cells to be used for the calculation is specified by giving an iterator range; the cells within a rectangular region in a specified layer are chosen. If the list of cells is from a Navigable, then any weights set will be used in in the calculation. The input list of cells can also be specified by giving the name of a CaloCellContainer in storegate. Optionally, the selected cells can also be added to the cluster.

Derived from previous versions: AUTHORS: S. Rajagopalan CREATED: Nov 2000 Separated from LArComputerEMLayer PURPOSE: Calculation of sampling based quantities Atrecon Orig: emreco/qgcalo.age

Updated: Jan 5, 2001 (HM) QA.

Updated: April 11, 2002 (HMA) Moved to LArCalorimeter/LArRecUtils Dec. 15, 2002 (FD) Add initialisation in the constructor Add position of the hottest cell (m_imax)

Update : January 21, 2005 (MB) Move to Calorimeter/CaloClusterCorrection

Update : September 06, 2005 (DLelas) Two new methods (two fillCluster) added. These two methods, in addition to energy and position calculations, fill cells in rectangular (SW) cluster layers.

Update : January 16, 2006 (DLelas) fill method was changed to meet egamma calculation requirements. Two new booleans were added to steer calculation needed by egamma (flag_celllist) and to steer cluster cell weightings (flag_cellweight)

Definition in file CaloLayerCalculator.h.