|
ATLAS Offline Software
|
LAr HEC Detector Element.
More...
#include <CaloDetectorElements.h>
|
| 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 parameters for this class. More...
|
|
HECCellConstLink | getHECCell () const |
| HEC Cell description from LArReadoutGeometry. More...
|
|
virtual int | getLayer () const override |
| get layer More...
|
|
float | eta () const |
| cell eta More...
|
|
float | eta () const |
| cell eta More...
|
|
float | phi () const |
| cell phi More...
|
|
float | phi () const |
| cell phi More...
|
|
float | r () const |
| cell r More...
|
|
float | r () const |
| cell r More...
|
|
float | eta_raw () const |
| cell eta_raw More...
|
|
float | eta_raw () const |
| cell eta_raw More...
|
|
float | phi_raw () const |
| cell phi_raw More...
|
|
float | phi_raw () const |
| cell phi_raw More...
|
|
float | r_raw () const |
| cell r_raw More...
|
|
float | r_raw () const |
| cell r_raw More...
|
|
float | dphi () const |
| cell dphi More...
|
|
float | dphi () const |
| cell dphi More...
|
|
float | deta () const |
| cell deta More...
|
|
float | deta () const |
| cell deta More...
|
|
float | dr () const |
| cell dr More...
|
|
float | dr () const |
| cell dr More...
|
|
float | x () const |
| cell x More...
|
|
float | x () const |
| cell x More...
|
|
float | y () const |
| cell y More...
|
|
float | y () const |
| cell y More...
|
|
float | z () const |
| cell z More...
|
|
float | z () const |
| cell z More...
|
|
float | x_raw () const |
| cell x_raw More...
|
|
float | x_raw () const |
| cell x_raw More...
|
|
float | y_raw () const |
| cell y_raw More...
|
|
float | y_raw () const |
| cell y_raw More...
|
|
float | z_raw () const |
| cell z_raw More...
|
|
float | z_raw () const |
| cell z_raw More...
|
|
float | dx () const |
| cell dx More...
|
|
float | dx () const |
| cell dx More...
|
|
float | dy () const |
| cell dy More...
|
|
float | dy () const |
| cell dy More...
|
|
float | dz () const |
| cell dz More...
|
|
float | dz () const |
| cell dz More...
|
|
float | volume () const |
| cell volume More...
|
|
float | sinTh () const |
| for algorithm working in transverse Energy More...
|
|
float | cosTh () const |
| for fast px py pz computation More...
|
|
float | cotTh () const |
| for fast px py pz computation More...
|
|
float | sinPhi () const |
| for fast px py pz computation More...
|
|
float | cosPhi () const |
| for fast px py pz computation More...
|
|
void | set_volume (double volume) |
| set cell volume More...
|
|
void | set_online (const IdentifierHash onl1, const IdentifierHash onl2) |
| set cell online identifiers (Tile) More...
|
|
Identifier | identify () const override final |
| cell identifier More...
|
|
Identifier | identify () const |
| cell identifier More...
|
|
IdentifierHash | onl1 () const |
| cell online identifier 1 More...
|
|
IdentifierHash | onl2 () const |
| cell online identifier 2 More...
|
|
IdentifierHash | calo_hash () const |
| cell calo hash More...
|
|
unsigned long long | calo_hash () const |
|
IdentifierHash | subcalo_hash () const |
| cell subcalo hash More...
|
|
IdentifierHash | identifyHash () const override final |
| cell subcalo hash same as subcalo_hash(), but kept for backward compatibility More...
|
|
const CaloDetDescriptor * | descriptor () const |
| cell descriptor More...
|
|
virtual void | print () const |
| print element contents More...
|
|
CaloCell_ID::CaloSample | getSampling () const |
| cell sampling More...
|
|
int | getSampling () const |
|
CaloCell_ID::SUBCALO | getSubCalo () const |
| cell subcalo More...
|
|
bool | is_lar_em () const |
| cell belongs to EM calorimeter More...
|
|
bool | is_lar_em_barrel () const |
| cell belongs to EM barrel More...
|
|
bool | is_lar_em_endcap () const |
| cell belongs to EM end cap More...
|
|
bool | is_lar_em_endcap_inner () const |
| cell belongs to the inner wheel of EM end cap More...
|
|
bool | is_lar_em_endcap_outer () const |
| cell belongs to the outer wheel of EM end cap More...
|
|
bool | is_lar_hec () const |
| cell belongs to HEC More...
|
|
bool | is_lar_fcal () const |
| cell belongs to FCAL More...
|
|
bool | is_tile () const |
| cell belongs to Tile More...
|
|
virtual const IdHelper * | getHelper () const |
|
LAr HEC Detector Element.
Definition at line 188 of file CaloDetectorElements.h.
◆ HECDetectorElement() [1/2]
Constructor, takes all necessary parameters for the base class constructor plus some specific parameters for this class.
- Parameters
-
subcaloHash | [IN] for the base class |
onl1 | [IN] for the base class |
onl2 | [IN] for the base class |
descriptor | [IN] for the base class |
hecCell | [IN] HEC Cell description from LArReadoutGeometry |
hecRegion | [IN] HEC Region description from LArReadoutGeometry |
Definition at line 277 of file CaloDetectorElements.cxx.
◆ HECDetectorElement() [2/2]
HECDetectorElement::HECDetectorElement |
( |
| ) |
|
|
privatedelete |
default constructor hidden
◆ calo_hash() [1/2]
unsigned long long CaloDetDescrElement::calo_hash |
( |
| ) |
const |
|
inherited |
◆ calo_hash() [2/2]
unsigned long long CaloDetDescrElement::calo_hash |
( |
| ) |
const |
|
inlineinherited |
◆ cosPhi()
float CaloDetDescrElement::cosPhi |
( |
| ) |
const |
|
inlineinherited |
◆ cosTh()
float CaloDetDescrElement::cosTh |
( |
| ) |
const |
|
inlineinherited |
◆ cotTh()
float CaloDetDescrElement::cotTh |
( |
| ) |
const |
|
inlineinherited |
◆ customID()
Identifier CaloDetDescrElement::customID |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ descriptor()
◆ deta() [1/2]
float CaloDetDescrElement::deta |
( |
| ) |
const |
|
inherited |
◆ deta() [2/2]
float CaloDetDescrElement::deta |
( |
| ) |
const |
|
inlineinherited |
◆ dphi() [1/2]
float CaloDetDescrElement::dphi |
( |
| ) |
const |
|
inherited |
◆ dphi() [2/2]
float CaloDetDescrElement::dphi |
( |
| ) |
const |
|
inlineinherited |
◆ dr() [1/2]
float CaloDetDescrElement::dr |
( |
| ) |
const |
|
inherited |
◆ dr() [2/2]
float CaloDetDescrElement::dr |
( |
| ) |
const |
|
inlineinherited |
◆ dx() [1/2]
float CaloDetDescrElement::dx |
( |
| ) |
const |
|
inherited |
◆ dx() [2/2]
float CaloDetDescrElement::dx |
( |
| ) |
const |
|
inlineinherited |
◆ dy() [1/2]
float CaloDetDescrElement::dy |
( |
| ) |
const |
|
inherited |
◆ dy() [2/2]
float CaloDetDescrElement::dy |
( |
| ) |
const |
|
inlineinherited |
◆ dz() [1/2]
float CaloDetDescrElement::dz |
( |
| ) |
const |
|
inherited |
◆ dz() [2/2]
float CaloDetDescrElement::dz |
( |
| ) |
const |
|
inlineinherited |
◆ eta() [1/2]
float CaloDetDescrElement::eta |
( |
| ) |
const |
|
inherited |
◆ eta() [2/2]
float CaloDetDescrElement::eta |
( |
| ) |
const |
|
inlineinherited |
◆ eta_raw() [1/2]
float CaloDetDescrElement::eta_raw |
( |
| ) |
const |
|
inherited |
◆ eta_raw() [2/2]
float CaloDetDescrElement::eta_raw |
( |
| ) |
const |
|
inlineinherited |
◆ getHECCell()
◆ getHelper()
◆ getLayer()
int HECDetectorElement::getLayer |
( |
| ) |
const |
|
overridevirtual |
◆ getSampling() [1/2]
int CaloDetDescrElement::getSampling |
( |
| ) |
const |
|
inherited |
◆ getSampling() [2/2]
int CaloDetDescrElement::getSampling |
( |
| ) |
const |
|
inlineinherited |
◆ getSubCalo()
◆ identify() [1/2]
Identifier CaloDetDescrElement::identify |
( |
| ) |
const |
|
virtualinherited |
◆ identify() [2/2]
Identifier CaloDetDescrElement::identify |
( |
| ) |
const |
|
inlinefinaloverridevirtualinherited |
◆ identifyHash()
|
inlinefinaloverridevirtualinherited |
◆ init_description()
initialize base description
Definition at line 297 of file CaloDetectorElements.cxx.
305 if(
m_cell->getEndcapIndex()==0)
308 double x_loc, y_loc, z_loc, r_loc;
317 if(
m_cell->getEndcapIndex()==0)
336 m_x_raw =
static_cast<float> (globalNomCoords.x());
337 m_y_raw =
static_cast<float> (globalNomCoords.y());
338 m_z_raw =
static_cast<float> (globalNomCoords.z());
340 m_x =
static_cast<float> (globalAbsCoords.x());
341 m_y =
static_cast<float> (globalAbsCoords.y());
342 m_z =
static_cast<float> (globalAbsCoords.z());
345 const double r_raw= std::sqrt(globalNomCoords.x()*globalNomCoords.x()+globalNomCoords.y()*globalNomCoords.y());
348 const double r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y());
349 m_r=
static_cast<float>(
r);
353 const double big_r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y()+globalAbsCoords.z()*globalAbsCoords.z());
354 const double inv_r = 1. /
r;
355 const double inv_big_r = 1. / big_r;
356 m_eta =
static_cast<float> (-
std::log((big_r-globalAbsCoords.z()) * inv_r));
357 m_sinTh =
static_cast<float> (
r * inv_big_r);
358 m_cosTh =
static_cast<float> (globalAbsCoords.z() * inv_big_r);
359 m_cosPhi=globalAbsCoords.x() * inv_r;
360 m_sinPhi=globalAbsCoords.y() * inv_r;
367 m_phi =
static_cast<float> (std::atan2(globalAbsCoords.y(),globalAbsCoords.x()));
369 m_deta =
static_cast<float> (
m_cell->getEtaMaxNominal() -
m_cell->getEtaMinNominal());
370 m_dphi =
static_cast<float> (std::abs(
m_cell->getPhiLocalUpper() -
m_cell->getPhiLocalLower()));
◆ init_interpretation()
void HECDetectorElement::init_interpretation |
( |
| ) |
|
|
private |
◆ is_lar_em()
bool CaloDetDescrElement::is_lar_em |
( |
| ) |
const |
|
inherited |
◆ is_lar_em_barrel()
bool CaloDetDescrElement::is_lar_em_barrel |
( |
| ) |
const |
|
inherited |
◆ is_lar_em_endcap()
bool CaloDetDescrElement::is_lar_em_endcap |
( |
| ) |
const |
|
inherited |
◆ is_lar_em_endcap_inner()
bool CaloDetDescrElement::is_lar_em_endcap_inner |
( |
| ) |
const |
|
inherited |
◆ is_lar_em_endcap_outer()
bool CaloDetDescrElement::is_lar_em_endcap_outer |
( |
| ) |
const |
|
inherited |
◆ is_lar_fcal()
bool CaloDetDescrElement::is_lar_fcal |
( |
| ) |
const |
|
inherited |
◆ is_lar_hec()
bool CaloDetDescrElement::is_lar_hec |
( |
| ) |
const |
|
inherited |
◆ is_tile()
bool CaloDetDescrElement::is_tile |
( |
| ) |
const |
|
inlineinherited |
◆ onl1()
◆ onl2()
◆ operator=()
◆ phi() [1/2]
float CaloDetDescrElement::phi |
( |
| ) |
const |
|
inherited |
◆ phi() [2/2]
float CaloDetDescrElement::phi |
( |
| ) |
const |
|
inlineinherited |
◆ phi_raw() [1/2]
float CaloDetDescrElement::phi_raw |
( |
| ) |
const |
|
inherited |
◆ phi_raw() [2/2]
float CaloDetDescrElement::phi_raw |
( |
| ) |
const |
|
inlineinherited |
◆ print()
void CaloDetDescrElement::print |
( |
| ) |
const |
|
virtualinherited |
print element contents
Definition at line 75 of file CaloDetDescrElement.cxx.
77 std::cout << std::endl <<
" CaloDetDescrElement print: "
78 << std::endl << std::endl;
80 std::cout <<
"Eta = " <<
m_eta << std::endl;
81 std::cout <<
"Phi = " <<
m_phi << std::endl;
82 std::cout <<
"r = " <<
m_r << std::endl;
◆ propagateRaw()
void CaloDetDescrElement::propagateRaw |
( |
| ) |
|
|
protectedinherited |
◆ r() [1/2]
float CaloDetDescrElement::r |
( |
| ) |
const |
|
inherited |
◆ r() [2/2]
float CaloDetDescrElement::r |
( |
| ) |
const |
|
inlineinherited |
◆ r_raw() [1/2]
float CaloDetDescrElement::r_raw |
( |
| ) |
const |
|
inherited |
◆ r_raw() [2/2]
float CaloDetDescrElement::r_raw |
( |
| ) |
const |
|
inlineinherited |
◆ set_online()
◆ set_volume()
void CaloDetDescrElement::set_volume |
( |
double |
volume | ) |
|
|
inlineinherited |
◆ sinPhi()
float CaloDetDescrElement::sinPhi |
( |
| ) |
const |
|
inlineinherited |
◆ sinTh()
float CaloDetDescrElement::sinTh |
( |
| ) |
const |
|
inlineinherited |
◆ subcalo_hash()
◆ volume()
float CaloDetDescrElement::volume |
( |
| ) |
const |
|
inlineinherited |
◆ x() [1/2]
float CaloDetDescrElement::x |
( |
| ) |
const |
|
inherited |
◆ x() [2/2]
float CaloDetDescrElement::x |
( |
| ) |
const |
|
inlineinherited |
◆ x_raw() [1/2]
float CaloDetDescrElement::x_raw |
( |
| ) |
const |
|
inherited |
◆ x_raw() [2/2]
float CaloDetDescrElement::x_raw |
( |
| ) |
const |
|
inlineinherited |
◆ y() [1/2]
float CaloDetDescrElement::y |
( |
| ) |
const |
|
inherited |
◆ y() [2/2]
float CaloDetDescrElement::y |
( |
| ) |
const |
|
inlineinherited |
◆ y_raw() [1/2]
float CaloDetDescrElement::y_raw |
( |
| ) |
const |
|
inherited |
◆ y_raw() [2/2]
float CaloDetDescrElement::y_raw |
( |
| ) |
const |
|
inlineinherited |
◆ z() [1/2]
float CaloDetDescrElement::z |
( |
| ) |
const |
|
inherited |
◆ z() [2/2]
float CaloDetDescrElement::z |
( |
| ) |
const |
|
inlineinherited |
◆ z_raw() [1/2]
float CaloDetDescrElement::z_raw |
( |
| ) |
const |
|
inherited |
◆ z_raw() [2/2]
float CaloDetDescrElement::z_raw |
( |
| ) |
const |
|
inlineinherited |
◆ m_caloHash
◆ m_calosample
int CaloDetDescrElement::m_calosample |
|
inherited |
◆ m_cell
◆ m_cosPhi
float CaloDetDescrElement::m_cosPhi |
|
protectedinherited |
◆ m_cosTh
float CaloDetDescrElement::m_cosTh |
|
protectedinherited |
◆ m_descriptor
◆ m_deta
float CaloDetDescrElement::m_deta |
|
protectedinherited |
◆ m_dphi
float CaloDetDescrElement::m_dphi |
|
protectedinherited |
◆ m_dr
float CaloDetDescrElement::m_dr |
|
protectedinherited |
◆ m_dx
float CaloDetDescrElement::m_dx |
|
protectedinherited |
◆ m_dy
float CaloDetDescrElement::m_dy |
|
protectedinherited |
◆ m_dz
float CaloDetDescrElement::m_dz |
|
protectedinherited |
◆ m_eta
float CaloDetDescrElement::m_eta |
|
protectedinherited |
◆ m_eta_raw
float CaloDetDescrElement::m_eta_raw |
|
protectedinherited |
◆ m_hash_id
long long CaloDetDescrElement::m_hash_id |
|
inherited |
◆ m_identify
long long CaloDetDescrElement::m_identify |
|
inherited |
◆ m_onl1
◆ m_onl2
◆ m_phi
float CaloDetDescrElement::m_phi |
|
protectedinherited |
◆ m_phi_raw
float CaloDetDescrElement::m_phi_raw |
|
protectedinherited |
◆ m_r
float CaloDetDescrElement::m_r |
|
protectedinherited |
◆ m_r_raw
float CaloDetDescrElement::m_r_raw |
|
protectedinherited |
◆ m_region
◆ m_sample
◆ m_sinPhi
float CaloDetDescrElement::m_sinPhi |
|
protectedinherited |
◆ m_sinTh
float CaloDetDescrElement::m_sinTh |
|
protectedinherited |
◆ m_volume
float CaloDetDescrElement::m_volume |
|
protectedinherited |
◆ m_x
float CaloDetDescrElement::m_x |
|
protectedinherited |
◆ m_x_raw
float CaloDetDescrElement::m_x_raw |
|
protectedinherited |
◆ m_y
float CaloDetDescrElement::m_y |
|
protectedinherited |
◆ m_y_raw
float CaloDetDescrElement::m_y_raw |
|
protectedinherited |
◆ m_z
float CaloDetDescrElement::m_z |
|
protectedinherited |
◆ m_z_raw
float CaloDetDescrElement::m_z_raw |
|
protectedinherited |
The documentation for this class was generated from the following files:
IdentifierHash onl2() const
cell online identifier 2
void propagateRaw()
In test beam configurations force XXX=XXX_RAW.
float m_cosTh
this one is cached for algorithm working in transverse Energy
CaloCell_ID::SUBCALO getSubCalo() const
get subcalo
float m_dphi
cylindric coordinates : delta phi
bool is_lar_fcal() const
descriptor belongs to FCAL
float m_z_raw
cartesian coordinates : Z raw
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
float m_eta_raw
cylindric coordinates : eta_raw
float m_volume
cell volume
float m_sinPhi
cache to allow fast px py pz computation
bool is_lar_hec() const
descriptor belongs to HEC
float m_phi_raw
cylindric coordinates : phi_raw
float m_phi
cylindric coordinates : phi
float m_dr
cylindric coordinates : delta r
float m_dz
cartesian coordinates : delta Z
bool is_lar_em_endcap_inner() const
descriptor belongs to the inner wheel of EM end cap
float m_z
cartesian coordinates : Z
IdentifierHash onl1() const
cell online identifier 1
IdentifierHash caloCellMin() const
minimal hash identifier for calo cells in the region
float m_dy
cartesian coordinates : delta Y
const CaloCell_Base_ID * get_calo_helper() const
get Calo Cell ID helper
double getProjectivityDisplacement() const
CaloCell_ID::CaloSample m_sample
@bried the sampling for this element
IdentifierHash calo_hash() const
cell calo hash
bool is_lar_em_endcap_outer() const
descriptor belongs to the outer wheel of EM end cap
const HECDetectorRegion * m_region
HEC Region description from LArReadoutGeometry.
float m_y_raw
cartesian coordinates : Y raw
float m_x_raw
cartesian coordinates : X raw
HECCellConstLink m_cell
HEC Cell description from LArReadoutGeometry.
const CaloDetDescriptor * m_descriptor
IdentifierHash m_onl1
Tiles need 2 online hashed id.
float m_r_raw
cylindric coordinates : r_raw
Eigen::Affine3d Transform3D
float m_dx
cartesian coordinates : delta X
float m_r
cylindric coordinates : r
IdentifierHash m_onl2
Tiles need 2 online hashed id.
bool is_lar_em() const
descriptor belongs to EM calorimeter
bool is_lar_em_barrel() const
descriptor belongs to EM barrel
const Amg::Transform3D & getAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
void init_interpretation()
Fill all missing fields of CaloDetDescrElement which have not been filled by init_description()
Definition of ATLAS Math & Geometry primitives (Amg)
float m_cosPhi
cache to allow fast px py pz computation
float volume() const
cell volume
bool is_lar_em_endcap() const
descriptor belongs to EM end cap
Eigen::Matrix< double, 3, 1 > Vector3D
float r_raw() const
cell r_raw
float m_x
cartesian coordinates : X
virtual Identifier customID() const
Eigen::Translation< double, 3 > Translation3D
const Amg::Transform3D & getDefAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
const CaloDetDescriptor * descriptor() const
cell descriptor
IdentifierHash m_caloHash
float m_y
cartesian coordinates : Y
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
float m_deta
cylindric coordinates : delta eta
float m_eta
cylindric coordinates : eta
bool is_tile() const
descriptor belongs to Tile
IdentifierHash subcalo_hash() const
cell subcalo hash
unsigned int getSamplingIndex() const
Returns the Sampling Layer Index (0-3)
CaloDetDescrElement()=delete
Constructor, hidden.
float m_sinTh
this one is cached for algorithm working in transverse Energy