13#ifndef CALODETDESCR_CALODETECTORELEMENTS_H
14#define CALODETDESCR_CALODETECTORELEMENTS_H
16#include "CaloDetDescr/CaloDetDescrElement.h"
28#include "Identifier/Identifier.h"
82 virtual int getLayer()
const override;
146 virtual int getLayer()
const override;
219 virtual int getLayer()
const override;
291 virtual int getLayer()
const override;
375 m_r =
static_cast<float> (
r);
441 StatusCode
update (
const std::vector<const CaloDetDescrElement*>& fromelts);
463 updateBE (
const std::vector<const CaloDetDescrElement*>& fromelts);
472 updateFCAL (
const std::vector<const CaloDetDescrElement*>& fromelts);
GeoIntrusivePtr< const EMBCell > EMBCellConstLink
GeoIntrusivePtr< const HECCell > HECCellConstLink
@Class: HECCellConstLink
This class groups all DetDescr information related to a CaloCell.
float m_x
cartesian coordinates : X
float m_y
cartesian coordinates : Y
float r_raw() const
cell r_raw
float eta_raw() const
cell eta_raw
float dphi() const
cell dphi
CaloDetDescrElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor)
Constructor.
float eta() const
cell eta
float m_phi
cylindric coordinates : phi
float phi() const
cell phi
IdentifierHash onl2() const
cell online identifier 2
float m_eta
cylindric coordinates : eta
float m_sinPhi
cache to allow fast px py pz computation
float phi_raw() const
cell phi_raw
float deta() const
cell deta
float m_dz
cartesian coordinates : delta Z
float m_dr
cylindric coordinates : delta r
float m_cosPhi
cache to allow fast px py pz computation
float m_r
cylindric coordinates : r
float m_deta
cylindric coordinates : delta eta
float m_z
cartesian coordinates : Z
const CaloDetDescriptor * descriptor() const
cell descriptor
IdentifierHash onl1() const
cell online identifier 1
float m_dphi
cylindric coordinates : delta phi
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
CaloSuperCellDetectorElement(const IdentifierHash subcaloHash, const CaloDetDescriptor *descriptor)
Constructor, initializes base class constructor parameters with default values.
StatusCode updateSingle(const CaloDetDescrElement *fromelt)
Copy this element's geometry from the given offline element.
StatusCode updateBE(const std::vector< const CaloDetDescrElement * > &fromelts)
Update this element's geometry from a list of elements.
StatusCode updateFCAL(const std::vector< const CaloDetDescrElement * > &fromelts)
Update this element's geometry from a list of elements.
StatusCode updateNull()
Set this element's geometry to default values.
StatusCode update(const std::vector< const CaloDetDescrElement * > &fromelts)
Update this element's geometry from the given list of offline elements.
DummyDetDescrElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor)
Constructor, takes all necessary parameters for the base class constructor.
void set_cylindric_raw(double eta_raw, double phi_raw, double r_raw)
set raw cylindric coordinates
void set_cylindric(double eta, double phi, double r)
set cylindric coordinates
void set_cylindric_size(double deta, double dphi, double dr)
set cylindric size deta/dphi/dr
EMBDetectorElement & operator=(const EMBDetectorElement &right)=delete
copy constructor hidden
EMBCellConstLink getEMBCell() const
EMB Cell description from LArReadoutGeometry.
virtual int getLayer() const override
get layer
EMBDetectorElement()=delete
default constructor hidden
EMBCellConstLink m_cell
EMB Cell description from LArReadoutGeometry.
EMBDetectorElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor, EMBCellConstLink &embCell, const EMBDetectorRegion *embRegion, bool isTestBeam, const GeoAlignmentStore *geoAlignStore=nullptr, const CaloElementPositionShift *posShift=nullptr)
Constructor, takes all necessary parameters for the base class constructor plus some specific paramet...
const EMBDetectorRegion * m_region
EMB Region description from LArReadoutGeometry.
void init_description(const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
Smart Pointer to EMEC Cells.
void init_interpretation()
Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()
const EMECDetectorRegion * m_region
EMEC Region description from LArReadoutGeometry.
virtual int getLayer() const override
get layer
EMECDetectorElement & operator=(const EMECDetectorElement &right)=delete
copy constructor hidden
EMECCellConstLink getEMECCell() const
EMEC Cell description from LArReadoutGeometry.
EMECCellConstLink m_cell
EMEC Cell description from LArReadoutGeometry.
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
EMECDetectorElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor, EMECCellConstLink &emecCell, const EMECDetectorRegion *emecRegion, bool isTestBeam, const GeoAlignmentStore *geoAlignStore=nullptr, const CaloElementPositionShift *posShift=nullptr)
Constructor, takes all necessary parameters for the base class constructor plus some specific paramet...
EMECDetectorElement()=delete
default constructor hidden
virtual int getLayer() const override
get layer
FCALDetectorElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor, const FCALTile *fcalTile, const FCALModule *fcalModule, bool isTestBeam, const GeoAlignmentStore *geoAlignStore=nullptr, const CaloElementPositionShift *posShift=nullptr)
Constructor, takes all necessary parameters for the base class constructor plus some specific paramet...
const FCALTile * m_tile
FCAL Tile description from LArReadoutGeometry.
FCALDetectorElement & operator=(const FCALDetectorElement &right)=delete
copy constructor hidden
const FCALTile * getFCALTile() const
FCAL Tile description from LArReadoutGeometry.
FCALDetectorElement()=delete
default constructor hidden
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
const FCALModule * m_module
FCAL Module description from LArReadoutGeometry.
A tile of the forward calorimeter readout geometry.
Ensure that the extensions for the Vector3D are properly loaded.
HECCellConstLink m_cell
HEC Cell description from LArReadoutGeometry.
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
void init_interpretation()
Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()
HECDetectorElement & operator=(const HECDetectorElement &right)=delete
copy constructor hidden
const HECDetectorRegion * m_region
HEC Region description from LArReadoutGeometry.
HECDetectorElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor, HECCellConstLink &hecCell, const HECDetectorRegion *hecRegion, bool isTestBeam, const GeoAlignmentStore *geoAlignStore=nullptr, const CaloElementPositionShift *posShift=nullptr)
Constructor, takes all necessary parameters for the base class constructor plus some specific paramet...
virtual int getLayer() const override
get layer
HECCellConstLink getHECCell() const
HEC Cell description from LArReadoutGeometry.
HECDetectorElement()=delete
default constructor hidden
Description of a region of homogenous granularity in the hadronic endcap calorimeter.
This is a "hash" representation of an Identifier.
MbtsDetectorElement()
Constructor, initializes base class constructor parameters with default values.
void set_id(const Identifier &id)
void set_deta(double deta)
virtual Identifier customID() const
void set_dphi(double dphi)
void set_r(double r)
set r
void set_cylindric(double eta, double phi, double r)
set cylindric coordinates
TileDetectorElement(const IdentifierHash subcaloHash, const IdentifierHash onl1, const IdentifierHash onl2, const CaloDetDescriptor *descriptor)
Constructor, takes all necessary parameters for the base class constructor.
void set_dz(double dz)
set cartezian size dz
void set_z(double z)
set z
void set_dr(double dr)
set cylindric size dr
void set_dphi(double dphi)
set cylindric size dphi
void set_cylindric_raw(double eta_raw, double phi_raw, double r_raw)
set raw cylindric coordinates
void set_deta(double deta)
set cylindric size deta
dx,dy,dz displacement of the calorimeter cell caused by sagging