|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "CaloDetDescr/CaloDetDescrElement.h"
15 #include "CaloGeoHelpers/CaloSampling.h"
19 AthAlgorithm(
name,pSvcLocator),m_calo_id(nullptr),m_cellPos(nullptr),m_key(
"LArCellPositionShift")
28 ATH_MSG_DEBUG(
"CaloFillCellPositionShift destructor called" );
41 ATH_MSG_INFO (
" end of CaloFillCellPositionShift::initialize " );
42 return StatusCode::SUCCESS;
49 return StatusCode::SUCCESS;
59 int ncell=fcalmax-emmin;
60 ATH_MSG_INFO (
" Number of cells in LAr calo " << emmin <<
" " << fcalmax <<
" " <<
ncell );
77 float phi = calodde->
phi();
95 return StatusCode::SUCCESS;
100 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Scalar phi() const
phi method
void set_deltaZ(const size_type &hashID, float dz)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
virtual StatusCode execute() override
standard Athena-Algorithm method
int calo_sample(const Identifier id) const
returns an int taken from Sampling enum and describing the subCalo to which the Id belongs.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Container for a cell-level rescaling-factors, typically obtained by Z->ee intercalibration.
This class initializes the Calo (LAr and Tile) offline identifiers.
void calo_cell_hash_range(const Identifier id, IdentifierHash &caloCellMin, IdentifierHash &caloCellMax) const
to loop on 'global' cell hashes of one sub-calorimeter alone
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloCell_ID * m_calo_id
virtual StatusCode finalize() override
standard Athena-Algorithm method
CaloRec::CaloCellPositionShift * m_cellPos
StatusCode initialize(bool used=true)
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
This class provides the client interface for accessing the detector description information common to...
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
~CaloFillCellPositionShift()
Default Destructor.
void set_deltaY(const size_type &hashID, float dy)
virtual StatusCode initialize() override
standard Athena-Algorithm method
float phi() const
cell phi
virtual StatusCode stop() override
standard Athena-Algorithm method
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
CaloFillCellPositionShift(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
void set_deltaX(const size_type &hashID, float dx)
Container for a cell-level position corrections to account for distorsion of calo shape in reconstruc...