|
ATLAS Offline Software
|
LAr FCAL Detector Element.
More...
#include <CaloDetectorElements.h>
|
| 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 parameters for this class. More...
|
|
const FCALTile * | getFCALTile () const |
| FCAL Tile 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 FCAL Detector Element.
Definition at line 260 of file CaloDetectorElements.h.
◆ FCALDetectorElement() [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 |
fcalTile | [IN] FCAL Tile description from LArReadoutGeometry |
fcalModule | [IN] FCAL Module description from LArReadoutGeometry |
Definition at line 411 of file CaloDetectorElements.cxx.
◆ FCALDetectorElement() [2/2]
FCALDetectorElement::FCALDetectorElement |
( |
| ) |
|
|
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 |
◆ getFCALTile()
◆ getHelper()
◆ getLayer()
int FCALDetectorElement::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 428 of file CaloDetectorElements.cxx.
451 std::cout<<
"Wrong FCAL module for TB, using FCAL1 !!!"<<std::endl;
463 m_x_raw =
static_cast<float> (globalDefCoords.x());
464 m_y_raw =
static_cast<float> (globalDefCoords.y());
465 m_z_raw =
static_cast<float> (globalDefCoords.z());
467 m_x =
static_cast<float> (globalAbsCoords.x());
468 m_y =
static_cast<float> (globalAbsCoords.y());
469 m_z =
static_cast<float> (globalAbsCoords.z());
480 const double r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y());
481 m_r=
static_cast<float>(
r);
485 const double big_r = std::sqrt(globalAbsCoords.x()*globalAbsCoords.x()+globalAbsCoords.y()*globalAbsCoords.y()+globalAbsCoords.z()*globalAbsCoords.z());
486 const double inv_big_r = 1. / big_r;
487 const double inv_r = 1. /
r;
488 m_eta =
static_cast<float> (-
log((big_r-globalAbsCoords.z()) * inv_r));
489 m_sinTh =
static_cast<float> (
r * inv_big_r);
490 m_cosTh =
static_cast<float> (globalAbsCoords.z() * inv_big_r);
491 m_cosPhi=globalAbsCoords.x() * inv_r;
492 m_sinPhi=globalAbsCoords.y() * inv_r;
499 m_phi_raw =
static_cast<float> (std::atan2(globalDefCoords.y(),globalDefCoords.x()));
500 m_phi =
static_cast<float> (std::atan2(globalAbsCoords.y(),globalAbsCoords.x()));
503 const double r_raw= sqrt(globalDefCoords.x()*globalDefCoords.x()+globalDefCoords.y()*globalDefCoords.y());
508 const double big_r_raw = std::sqrt(globalDefCoords.x()*globalDefCoords.x()+globalDefCoords.y()*globalDefCoords.y()+globalDefCoords.z()*globalDefCoords.z());
518 m_phi =
static_cast<float> (std::atan2(globalAbsCoords.y(),globalAbsCoords.x()));
519 m_phi_raw=
static_cast<float> (std::atan2(globalDefCoords.y(),globalDefCoords.x()));
◆ 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_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_module
◆ 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_sample
◆ m_sinPhi
float CaloDetDescrElement::m_sinPhi |
|
protectedinherited |
◆ m_sinTh
float CaloDetDescrElement::m_sinTh |
|
protectedinherited |
◆ m_tile
◆ 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
double getY() const
Gets the Y position of the Tile.
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
const Amg::Transform3D & getAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
float m_eta_raw
cylindric coordinates : eta_raw
float m_volume
cell volume
const FCALModule * m_module
FCAL Module description from LArReadoutGeometry.
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
double getX() const
Gets the X Position of the Tile.
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
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
float m_y_raw
cartesian coordinates : Y raw
float m_x_raw
cartesian coordinates : X raw
const CaloDetDescriptor * m_descriptor
double getFullDepthZ(const FCALTile &) const
Gets Tile (full) Depth.
IdentifierHash m_onl1
Tiles need 2 online hashed id.
const Amg::Transform3D & getDefAbsoluteTransform(const GeoAlignmentStore *alignStore=nullptr) const
Returns the absolute transform of this element.
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
double getFullWidthX(const FCALTile &tile) const
Gets Tile Full Width in X.
bool is_lar_em_barrel() const
descriptor belongs to EM barrel
const FCALTile * m_tile
FCAL Tile description from LArReadoutGeometry.
FCALModule::Module getModuleIndex() const
Returns the Module (1,2, or 3)
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
double getProjectivityDisplacement() const
Eigen::Matrix< double, 3, 1 > Vector3D
FCALModule::Endcap getEndcapIndex() const
Returns the side (O=Negative, 1=Positive)
float r_raw() const
cell r_raw
float m_x
cartesian coordinates : X
double getFullWidthY(const FCALTile &tile) const
Gets Tile Full Width in Y.
virtual Identifier customID() const
Eigen::Translation< double, 3 > Translation3D
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
void init_description(bool isTestBeam, const GeoAlignmentStore *geoAlignStore, const CaloElementPositionShift *posShift)
initialize base description
bool is_tile() const
descriptor belongs to Tile
IdentifierHash subcalo_hash() const
cell subcalo hash
CaloDetDescrElement()=delete
Constructor, hidden.
float m_sinTh
this one is cached for algorithm working in transverse Energy