![]() |
ATLAS Offline Software
|
#include <CaloDescriptors.h>
Public Member Functions | |
| HECDescriptor (const Identifier &id, const AtlasDetectorID *helper, const CaloCell_ID *calo_helper, const HECDetectorRegion *hecRegion, const GeoAlignmentStore *alignStore=nullptr) | |
| Constructor. | |
| virtual | ~HECDescriptor () |
| Destructor. | |
| virtual void | print () const |
| print the contents | |
| void | dump (std::ostream &os) const |
| dump contents to a stream. | |
| void | set_n_calo_depth (int n_calo_depth) |
| set number of calo depths | |
| void | set_depth_in (std::vector< double > &calo_depth) |
| set vector of in depths | |
| void | set_depth_out (std::vector< double > &calo_depth) |
| set vector of out depths | |
| bool | is_lar_em () const |
| descriptor belongs to EM calorimeter | |
| bool | is_lar_em_barrel () const |
| descriptor belongs to EM barrel | |
| bool | is_lar_em_endcap () const |
| descriptor belongs to EM end cap | |
| bool | is_lar_em_endcap_inner () const |
| descriptor belongs to the inner wheel of EM end cap | |
| bool | is_lar_em_endcap_outer () const |
| descriptor belongs to the outer wheel of EM end cap | |
| bool | is_lar_hec () const |
| descriptor belongs to HEC | |
| bool | is_lar_fcal () const |
| descriptor belongs to FCAL | |
| bool | is_tile () const |
| descriptor belongs to Tile | |
| CaloCell_ID::CaloSample | getSampling (IdentifierHash onecalo_hash) const |
| get sampling | |
| CaloCell_ID::CaloSample | getSampling () const |
| get sampling returns the cached CaloSample, if the descriptor contains more than one sampling, it only returns the first sampling. | |
| CaloCell_ID::SUBCALO | getSubCalo () const |
| get subcalo | |
| Identifier | identify () const override final |
| get region identifier | |
| IdentifierHash | identifyHash () const override final |
| get hash identifier for the region | |
| IdentifierHash | calo_hash () const |
| get calo hash | |
| IdentifierHash | subcalo_hash () const |
| get subcalo hash | |
| const CaloCell_Base_ID * | get_calo_helper () const |
| get Calo Cell ID helper | |
| int | layer () const |
| get layer | |
| IdentifierHash | caloCellMin () const |
| minimal hash identifier for calo cells in the region | |
| int | calo_sign () const |
| 'ideal' geometry: calo sign | |
| double | calo_z_min () const |
| 'ideal' geometry: z minimal | |
| double | calo_z_max () const |
| 'ideal' geometry: z maximal | |
| double | calo_eta_min () const |
| 'ideal' geometry: eta minimal | |
| double | calo_eta_max () const |
| 'ideal' geometry: eta maximal | |
| double | calo_phi_min () const |
| 'ideal' geometry: phi minimal | |
| double | calo_phi_max () const |
| 'ideal' geometry: phi maximal | |
| double | calo_r_min () const |
| 'ideal' geometry: r minimal | |
| double | calo_r_max () const |
| 'ideal' geometry: r maximal | |
| int | n_calo_depth () const |
| number of calo depths | |
| void | get_depth_in (std::vector< double > &calo_depth) const |
| get vector of in depths | |
| void | get_depth_out (std::vector< double > &calo_depth) const |
| get vector of out depths | |
| double | deta () const |
| delta eta | |
| double | dphi () const |
| delta phi | |
| int | n_eta () const |
| eta granularity | |
| int | n_phi () const |
| phi granularity | |
| bool | get_cylinder_surface (Amg::Transform3D &htrans, double &radius, double &hphi, double &hlength, double &depth) const |
| this will be the closest radius of this region | |
| bool | get_disk_surface (Amg::Transform3D &htrans, double &z, double &rmin, double &rmax, double &hphisec, double &depth) const |
| (for Trk::Surface) | |
| bool | is_in (double eta_min, double eta_max, double phi_min, double phi_max) const |
| check overlap with a given zone in eta and phi (for LAr only) | |
| int | eta_channel (double eta) const |
| channel number for a given eta/phi (if outside returns -1). | |
| int | phi_channel (double phi) const |
| channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL | |
| int | eta_channel_raw (double eta) const |
| channel number for a given eta/phi raw (if outside returns -1). | |
| int | phi_channel_raw (double phi) const |
| channel number for a given eta/phi raw (if outside returns -1) Should not be used for FCAL | |
| double | reg_min () const |
| eta min and max once misaligned | |
| double | reg_max () const |
| eta min and max once misaligned | |
| double | lar_eta_min () const |
| minimal Eta for LAr region | |
| double | lar_phi_min () const |
| minimal Phi for LAr region | |
| void | setCaloEtaMin (double eta_min) |
| Set Eta Min. | |
| void | setCaloEtaMax (double eta_max) |
| Set Eta Max. | |
| void | setCaloPhiMin (double phi_min) |
| Set Phi Min. | |
| void | setCaloPhiMax (double phi_max) |
| Set Phi Max. | |
| void | setCaloZMin (double z_min) |
| Set Z Min. | |
| void | setCaloZMax (double z_max) |
| Set Z Max. | |
| void | setCaloRMin (double r_min) |
| Set R Min. | |
| void | setCaloRMax (double r_max) |
| Set R Max. | |
| void | setLArRegMin (double reg_min) |
| Set LAr Region Eta Min. | |
| void | setLArRegMax (double reg_max) |
| Set LAr Region Eta Max. | |
| void | setLArPhiMin (double phi_min) |
| Set LAr Region Phi Min. | |
| void | setLArEtaMin (double eta_min) |
| Set LAr Region Phi Max. | |
| void | set_eta_phi_granularity (int neta, double deta, int nphi, double dphi) |
| Set Phi granularity. | |
| const Amg::Transform3D & | transform () const |
| Get the current transformation matrix. | |
| void | set_transform (const Amg::Transform3D &transform) |
| Set the transformation matrix. | |
| virtual const IdHelper * | getHelper () const |
Protected Attributes | |
| double | m_calo_eta_min |
| minimal Eta (to be defined in the derived classes) | |
| double | m_calo_eta_max |
| maximal Eta (to be defined in the derived classes) | |
| double | m_calo_phi_min |
| minimal Phi (to be defined in the derived classes) | |
| double | m_calo_phi_max |
| maximal Phi (to be defined in the derived classes) | |
| double | m_calo_r_min |
| minimal R (to be defined in the derived classes) | |
| double | m_calo_r_max |
| maximal R (to be defined in the derived classes) | |
| double | m_calo_z_min |
| minimal Z (to be defined in the derived classes) | |
| double | m_calo_z_max |
| maximal Z (to be defined in the derived classes) | |
| int | m_n_calo_depth |
| number of depths | |
| std::vector< double > | m_calo_depth_in |
| in depths | |
| std::vector< double > | m_calo_depth_out |
| out depths | |
| Amg::Transform3D | m_transform |
| misalignment transformation | |
| double | m_lar_reg_min |
| minimal Abs Eta for LAr region | |
| double | m_lar_reg_max |
| maximal Abs Eta for LAr region | |
| double | m_lar_phi_min |
| minimal Phi for LAr region | |
| double | m_lar_eta_min |
| minimal Eta for LAr region | |
| int | m_etachan_min |
| minimal Eta channel number | |
Private Member Functions | |
| HECDescriptor ()=delete | |
| default constructor hidden | |
| HECDescriptor & | operator= (const HECDescriptor &right)=delete |
| copy constructor hidden | |
Private Attributes | |
| const AtlasDetectorID * | m_helper |
| Atlas Detector ID helper. | |
| const CaloCell_Base_ID * | m_calo_helper |
| Calo Cell ID helper. | |
| Identifier | m_id |
| Region identifier. | |
| bool | m_is_lar_em |
| descriptor belongs to EM calorimeter | |
| bool | m_is_lar_em_barrel |
| descriptor belongs to EM barrel | |
| bool | m_is_lar_em_endcap |
| descriptor belongs to EM end cap | |
| bool | m_is_lar_em_endcap_inner |
| descriptor belongs to the inner wheel of EM end cap | |
| bool | m_is_lar_em_endcap_outer |
| descriptor belongs to the outer wheel of EM end cap | |
| bool | m_is_lar_hec |
| descriptor belongs to HEC | |
| bool | m_is_lar_fcal |
| descriptor belongs to FCAL | |
| bool | m_is_tile |
| descriptor belongs to Tile | |
| int | m_calo_sign |
| calo sign | |
| int | m_layer |
| layer | |
| CaloCell_ID::CaloSample | m_calo_sampl |
| Calo Sample. | |
| CaloCell_ID::SUBCALO | m_calo_num |
| Subcalo. | |
| IdentifierHash | m_calocell_min |
| minimal hash id of region cells | |
| double | m_lar_deta |
| delta eta (LAr) | |
| double | m_lar_dphi |
| delta phi (LAr) | |
| int | m_lar_n_eta |
| eta granularity (LAr) | |
| int | m_lar_n_phi |
| phi granularity (LAr) | |
LAr HEC Descriptor.
Definition at line 109 of file CaloDescriptors.h.
| HECDescriptor::HECDescriptor | ( | const Identifier & | id, |
| const AtlasDetectorID * | helper, | ||
| const CaloCell_ID * | calo_helper, | ||
| const HECDetectorRegion * | hecRegion, | ||
| const GeoAlignmentStore * | alignStore = nullptr ) |
Constructor.
| id | [IN] region identifier (for base class constructor) |
| helper | [IN] ID helper (for base class constructor) |
| calo_helper | [IN] ID helper (for base class constructor) |
| hecRegion | [IN] HEC Region Descriptor from LArReadoutGeometry |
Definition at line 62 of file CaloDescriptors.cxx.
|
virtualdefault |
Destructor.
|
privatedelete |
default constructor hidden
|
inlineinherited |
'ideal' geometry: eta maximal
Definition at line 563 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: eta minimal
Definition at line 558 of file CaloDetDescriptor.h.
|
inlineinherited |
get calo hash
Definition at line 512 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: phi maximal
Definition at line 573 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: phi minimal
Definition at line 568 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: r maximal
Definition at line 583 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: r minimal
Definition at line 578 of file CaloDetDescriptor.h.
|
inlineinherited |
|
inlineinherited |
'ideal' geometry: z maximal
Definition at line 553 of file CaloDetDescriptor.h.
|
inlineinherited |
'ideal' geometry: z minimal
Definition at line 548 of file CaloDetDescriptor.h.
|
inlineinherited |
minimal hash identifier for calo cells in the region
Definition at line 538 of file CaloDetDescriptor.h.
|
inlineinherited |
|
inlineinherited |
|
inherited |
dump contents to a stream.
Definition at line 116 of file CaloDetDescriptor.cxx.
|
inherited |
channel number for a given eta/phi (if outside returns -1).
Should not be used for FCAL
Definition at line 260 of file CaloDetDescriptor.cxx.
|
inherited |
channel number for a given eta/phi raw (if outside returns -1).
Should not be used for FCAL
Definition at line 290 of file CaloDetDescriptor.cxx.
|
inlineinherited |
Definition at line 523 of file CaloDetDescriptor.h.
|
inherited |
this will be the closest radius of this region
this will be the closest radius of this region (for Trk::Surface)
Definition at line 199 of file CaloDetDescriptor.cxx.
|
inherited |
get vector of in depths
| calo_depth | [OUT] vector of in depths |
Definition at line 325 of file CaloDetDescriptor.cxx.
|
inherited |
get vector of out depths
| calo_depth | [OUT] vector of out depths |
Definition at line 332 of file CaloDetDescriptor.cxx.
|
inherited |
(for Trk::Surface)
Definition at line 226 of file CaloDetDescriptor.cxx.
|
virtualinherited |
Definition at line 18 of file Identifiable.cxx.
|
inlineinherited |
get sampling returns the cached CaloSample, if the descriptor contains more than one sampling, it only returns the first sampling.
Definition at line 134 of file CaloDetDescriptor.h.
|
inherited |
get sampling
| onecalo_hash | [IN] hash identifier if the descriptor contains more than one sampling, add offset calculated from hash id. |
Definition at line 185 of file CaloDetDescriptor.cxx.
|
inlineinherited |
|
inlinefinaloverridevirtualinherited |
|
inlinefinaloverridevirtualinherited |
get hash identifier for the region
Reimplemented from Identifiable.
Definition at line 506 of file CaloDetDescriptor.h.
|
inherited |
check overlap with a given zone in eta and phi (for LAr only)
| eta_min | [IN] lower eta boundary of the zone |
| eta_max | [IN] higher eta boundary of the zone |
| phi_min | [IN] lower phi boundary of the zone |
| phi_max | [IN] higher phi boundary of the zone |
Definition at line 250 of file CaloDetDescriptor.cxx.
|
inlineinherited |
descriptor belongs to EM calorimeter
Definition at line 461 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to EM barrel
Definition at line 466 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to EM end cap
Definition at line 471 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to the inner wheel of EM end cap
Definition at line 476 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to the outer wheel of EM end cap
Definition at line 481 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to FCAL
Definition at line 491 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to HEC
Definition at line 486 of file CaloDetDescriptor.h.
|
inlineinherited |
descriptor belongs to Tile
Definition at line 496 of file CaloDetDescriptor.h.
|
inlineinherited |
minimal Eta for LAr region
Definition at line 618 of file CaloDetDescriptor.h.
|
inlineinherited |
minimal Phi for LAr region
Definition at line 623 of file CaloDetDescriptor.h.
|
inlineinherited |
|
inherited |
|
inlineinherited |
eta granularity
Definition at line 598 of file CaloDetDescriptor.h.
|
inlineinherited |
phi granularity
Definition at line 603 of file CaloDetDescriptor.h.
|
privatedelete |
copy constructor hidden
|
inherited |
channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL
Definition at line 275 of file CaloDetDescriptor.cxx.
|
inherited |
channel number for a given eta/phi raw (if outside returns -1) Should not be used for FCAL
Definition at line 305 of file CaloDetDescriptor.cxx.
|
virtualinherited |
print the contents
Definition at line 111 of file CaloDetDescriptor.cxx.
|
inlineinherited |
eta min and max once misaligned
Definition at line 613 of file CaloDetDescriptor.h.
|
inlineinherited |
eta min and max once misaligned
Definition at line 608 of file CaloDetDescriptor.h.
|
inherited |
set vector of in depths
| calo_depth | [IN] vector of in depths |
Definition at line 347 of file CaloDetDescriptor.cxx.
|
inherited |
set vector of out depths
| calo_depth | [IN] vector of out depths |
Definition at line 353 of file CaloDetDescriptor.cxx.
|
inherited |
Set Phi granularity.
Definition at line 359 of file CaloDetDescriptor.cxx.
|
inherited |
set number of calo depths
| n_calo_depth | [IN} number of depths |
Definition at line 340 of file CaloDetDescriptor.cxx.
|
inlineinherited |
Set the transformation matrix.
Definition at line 696 of file CaloDetDescriptor.h.
|
inlineinherited |
Set Eta Max.
Definition at line 633 of file CaloDetDescriptor.h.
|
inlineinherited |
Set Eta Min.
Definition at line 628 of file CaloDetDescriptor.h.
|
inlineinherited |
Set Phi Max.
Definition at line 643 of file CaloDetDescriptor.h.
|
inlineinherited |
Set Phi Min.
Definition at line 638 of file CaloDetDescriptor.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 683 of file CaloDetDescriptor.h.
|
inlineinherited |
Definition at line 678 of file CaloDetDescriptor.h.
|
inlineinherited |
Definition at line 673 of file CaloDetDescriptor.h.
|
inlineinherited |
Definition at line 668 of file CaloDetDescriptor.h.
|
inlineinherited |
get subcalo hash
Definition at line 517 of file CaloDetDescriptor.h.
|
inlineinherited |
Get the current transformation matrix.
Definition at line 689 of file CaloDetDescriptor.h.
|
protectedinherited |
in depths
Definition at line 435 of file CaloDetDescriptor.h.
|
protectedinherited |
out depths
Definition at line 438 of file CaloDetDescriptor.h.
|
protectedinherited |
maximal Eta (to be defined in the derived classes)
Definition at line 410 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Eta (to be defined in the derived classes)
Definition at line 407 of file CaloDetDescriptor.h.
|
privateinherited |
Definition at line 339 of file CaloDetDescriptor.h.
|
privateinherited |
Subcalo.
Definition at line 382 of file CaloDetDescriptor.h.
|
protectedinherited |
maximal Phi (to be defined in the derived classes)
Definition at line 416 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Phi (to be defined in the derived classes)
Definition at line 413 of file CaloDetDescriptor.h.
|
protectedinherited |
maximal R (to be defined in the derived classes)
Definition at line 422 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal R (to be defined in the derived classes)
Definition at line 419 of file CaloDetDescriptor.h.
|
privateinherited |
Calo Sample.
Definition at line 378 of file CaloDetDescriptor.h.
|
privateinherited |
calo sign
Definition at line 371 of file CaloDetDescriptor.h.
|
protectedinherited |
maximal Z (to be defined in the derived classes)
Definition at line 428 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Z (to be defined in the derived classes)
Definition at line 425 of file CaloDetDescriptor.h.
|
privateinherited |
minimal hash id of region cells
Definition at line 386 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Eta channel number
Definition at line 458 of file CaloDetDescriptor.h.
|
privateinherited |
Definition at line 336 of file CaloDetDescriptor.h.
|
privateinherited |
Region identifier.
Definition at line 342 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to EM calorimeter
Definition at line 346 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to EM barrel
Definition at line 349 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to EM end cap
Definition at line 352 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to the inner wheel of EM end cap
Definition at line 355 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to the outer wheel of EM end cap
Definition at line 358 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to FCAL
Definition at line 364 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to HEC
Definition at line 361 of file CaloDetDescriptor.h.
|
privateinherited |
descriptor belongs to Tile
Definition at line 367 of file CaloDetDescriptor.h.
|
privateinherited |
delta eta (LAr)
Definition at line 390 of file CaloDetDescriptor.h.
|
privateinherited |
delta phi (LAr)
Definition at line 393 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Eta for LAr region
Definition at line 455 of file CaloDetDescriptor.h.
|
privateinherited |
eta granularity (LAr)
Definition at line 396 of file CaloDetDescriptor.h.
|
privateinherited |
phi granularity (LAr)
Definition at line 399 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Phi for LAr region
Definition at line 452 of file CaloDetDescriptor.h.
|
protectedinherited |
maximal Abs Eta for LAr region
Definition at line 449 of file CaloDetDescriptor.h.
|
protectedinherited |
minimal Abs Eta for LAr region
Definition at line 446 of file CaloDetDescriptor.h.
|
privateinherited |
layer
Definition at line 374 of file CaloDetDescriptor.h.
|
protectedinherited |
number of depths
Definition at line 432 of file CaloDetDescriptor.h.
|
protectedinherited |
misalignment transformation
Definition at line 442 of file CaloDetDescriptor.h.