ATLAS Offline Software
CaloDetDescriptor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef CALODETDESCR_CALODETDESCRIPTOR_H
14 #define CALODETDESCR_CALODETDESCRIPTOR_H
15 
19 
20 class Identifier;
21 class AtlasDetectorID;
22 
58 {
59  public:
67  CaloDetDescriptor(const Identifier& id,
68  const AtlasDetectorID* helper,
69  const CaloCell_Base_ID* calo_helper,
72 
75  virtual ~CaloDetDescriptor();
76 
79  virtual void print() const;
80 
83  void dump(std::ostream& os) const;
84 
89 
93  void set_depth_in(std::vector<double>& calo_depth);
94 
98  void set_depth_out(std::vector<double>& calo_depth);
99 
102  bool is_lar_em() const;
105  bool is_lar_em_barrel() const;
108  bool is_lar_em_endcap() const;
111  bool is_lar_em_endcap_inner() const;
114  bool is_lar_em_endcap_outer() const;
117  bool is_lar_hec() const;
120  bool is_lar_fcal() const;
123  bool is_tile() const;
124 
130 
135  { return m_calo_sampl ;
136  }
140 
143  Identifier identify() const override final;
146  IdentifierHash identifyHash() const override final;
153 
157 
160  int layer() const;
161 
165 
166 
169  int calo_sign() const;
170 
173  double calo_z_min() const;
176  double calo_z_max() const;
179  double calo_eta_min() const;
182  double calo_eta_max() const;
185  double calo_phi_min() const;
188  double calo_phi_max() const;
191  double calo_r_min() const;
194  double calo_r_max() const;
195 
198  int n_calo_depth() const;
202  void get_depth_in(std::vector<double>& calo_depth) const;
206  void get_depth_out(std::vector<double>& calo_depth) const;
207 
210  double deta() const;
213  double dphi() const;
216  int n_eta() const;
219  int n_phi() const;
220 
221  // ------- Return parameters needed for Trk::Surface --------
222 
226  bool get_cylinder_surface (Amg::Transform3D& htrans,
227  double& radius,
228  double& hphi,
229  double& hlength,
230  double& depth) const;
231 
234  bool get_disk_surface (Amg::Transform3D& htrans,
235  double& z,
236  double& rmin,
237  double& rmax,
238  double& hphisec,
239  double& depth) const;
240 
247  bool is_in (double eta_min,
248  double eta_max,
249  double phi_min,
250  double phi_max) const;
251 
254  int eta_channel(double eta) const;
257  int phi_channel(double phi) const;
258 
261  int eta_channel_raw(double eta) const;
264  int phi_channel_raw(double phi) const;
265 
266 
269  double reg_min() const;
272  double reg_max() const;
275  double lar_eta_min() const;
278  double lar_phi_min() const;
279 
282  void setCaloEtaMin(double eta_min);
285  void setCaloEtaMax(double eta_max);
288  void setCaloPhiMin(double phi_min);
291  void setCaloPhiMax(double phi_max);
294  void setCaloZMin(double z_min);
297  void setCaloZMax(double z_max);
300  void setCaloRMin(double r_min);
303  void setCaloRMax(double r_max);
304 
307  void setLArRegMin(double reg_min);
310  void setLArRegMax(double reg_max);
313  void setLArPhiMin(double phi_min);
316  void setLArEtaMin(double eta_min);
317 
320  void set_eta_phi_granularity(int neta,
321  double deta,
322  int nphi,
323  double dphi);
324 
328 
332 
333  private:
343 
346  bool m_is_lar_em;
367  bool m_is_tile;
368 
374  int m_layer;
375 
379 
383 
387 
390  double m_lar_deta;
393  double m_lar_dphi;
400 
401  protected:
402  // values to be defined in the derived classes
403 
404  // 'ideal' geometry
419  double m_calo_r_min;
422  double m_calo_r_max;
425  double m_calo_z_min;
428  double m_calo_z_max;
429 
435  std::vector <double> m_calo_depth_in;
438  std::vector <double> m_calo_depth_out;
439 
443 
459 };
460 
461 inline bool CaloDetDescriptor::is_lar_em() const
462 {
463  return m_is_lar_em;
464 }
465 
467 {
468  return m_is_lar_em_barrel;
469 }
470 
472 {
473  return m_is_lar_em_endcap;
474 }
475 
477 {
478  return m_is_lar_em_endcap_inner;
479 }
480 
482 {
483  return m_is_lar_em_endcap_outer;
484 }
485 
486 inline bool CaloDetDescriptor::is_lar_hec() const
487 {
488  return m_is_lar_hec;
489 }
490 
492 {
493  return m_is_lar_fcal;
494 }
495 
496 inline bool CaloDetDescriptor::is_tile() const
497 {
498  return m_is_tile;
499 }
500 
502 {
503  return m_id;
504 }
505 
507 {
508  int num;
510 }
511 
513 {
515 }
516 
518 {
519  int num;
521 }
522 
524 {
525  return m_calo_helper;
526 }
527 
528 inline int CaloDetDescriptor::layer() const
529 {
530  return m_layer;
531 }
532 
534 {
535  return m_calo_num;
536 }
537 
539 {
540  return m_calocell_min;
541 }
542 
544 {
545  return m_calo_sign;
546 }
547 
548 inline double CaloDetDescriptor::calo_z_min() const
549 {
550  return m_calo_z_min;
551 }
552 
553 inline double CaloDetDescriptor::calo_z_max() const
554 {
555  return m_calo_z_max;
556 }
557 
558 inline double CaloDetDescriptor::calo_eta_min() const
559 {
560  return m_calo_eta_min;
561 }
562 
563 inline double CaloDetDescriptor::calo_eta_max() const
564 {
565  return m_calo_eta_max;
566 }
567 
568 inline double CaloDetDescriptor::calo_phi_min() const
569 {
570  return m_calo_phi_min;
571 }
572 
573 inline double CaloDetDescriptor::calo_phi_max() const
574 {
575  return m_calo_phi_max;
576 }
577 
578 inline double CaloDetDescriptor::calo_r_min() const
579 {
580  return m_calo_r_min;
581 }
582 
583 inline double CaloDetDescriptor::calo_r_max() const
584 {
585  return m_calo_r_max;
586 }
587 
588 inline double CaloDetDescriptor::deta() const
589 {
590  return m_lar_deta;
591 }
592 
593 inline double CaloDetDescriptor::dphi() const
594 {
595  return m_lar_dphi;
596 }
597 
598 inline int CaloDetDescriptor::n_eta() const
599 {
600  return m_lar_n_eta;
601 }
602 
603 inline int CaloDetDescriptor::n_phi() const
604 {
605  return m_lar_n_phi;
606 }
607 
608 inline double CaloDetDescriptor::reg_min() const
609 {
610  return m_lar_reg_min;
611 }
612 
613 inline double CaloDetDescriptor::reg_max() const
614 {
615  return m_lar_reg_max;
616 }
617 
618 inline double CaloDetDescriptor::lar_eta_min() const
619 {
620  return m_lar_eta_min;
621 }
622 
623 inline double CaloDetDescriptor::lar_phi_min() const
624 {
625  return m_lar_phi_min;
626 }
627 
628 inline void CaloDetDescriptor::setCaloEtaMin(double eta_min)
629 {
630  m_calo_eta_min = eta_min;
631 }
632 
633 inline void CaloDetDescriptor::setCaloEtaMax(double eta_max)
634 {
635  m_calo_eta_max = eta_max;
636 }
637 
638 inline void CaloDetDescriptor::setCaloPhiMin(double phi_min)
639 {
640  m_calo_phi_min = phi_min;
641 }
642 
643 inline void CaloDetDescriptor::setCaloPhiMax(double phi_max)
644 {
645  m_calo_phi_max = phi_max;
646 }
647 
648 inline void CaloDetDescriptor::setCaloZMin(double z_min)
649 {
650  m_calo_z_min = z_min;
651 }
652 
653 inline void CaloDetDescriptor::setCaloZMax(double z_max)
654 {
655  m_calo_z_max = z_max;
656 }
657 
658 inline void CaloDetDescriptor::setCaloRMin(double r_min)
659 {
660  m_calo_r_min = r_min;
661 }
662 
663 inline void CaloDetDescriptor::setCaloRMax(double r_max)
664 {
665  m_calo_r_max = r_max;
666 }
667 
669 {
671 }
672 
674 {
676 }
677 
678 inline void CaloDetDescriptor::setLArPhiMin(double phi_min)
679 {
680  m_lar_phi_min = phi_min;
681 }
682 
683 inline void CaloDetDescriptor::setLArEtaMin(double eta_min)
684 {
685  m_lar_eta_min = eta_min;
686 }
687 
688 inline
690 {
691  return m_transform;
692 }
693 
694 
695 inline
697 {
699 }
700 
701 
702 #endif
CaloDetDescriptor::calo_eta_max
double calo_eta_max() const
'ideal' geometry: eta maximal
Definition: CaloDetDescriptor.h:563
CaloDetDescriptor::getSampling
CaloCell_ID::CaloSample getSampling() const
get sampling returns the cached CaloSample, if the descriptor contains more than one sampling,...
Definition: CaloDetDescriptor.h:134
CaloDetDescriptor::identifyHash
IdentifierHash identifyHash() const override final
get hash identifier for the region
Definition: CaloDetDescriptor.h:506
CaloDetDescriptor::m_lar_deta
double m_lar_deta
delta eta (LAr)
Definition: CaloDetDescriptor.h:390
CaloDetDescriptor::m_transform
Amg::Transform3D m_transform
misalignment transformation
Definition: CaloDetDescriptor.h:442
CaloDetDescriptor::m_calo_num
CaloCell_ID::SUBCALO m_calo_num
Subcalo.
Definition: CaloDetDescriptor.h:382
CaloDetDescriptor::dump
void dump(std::ostream &os) const
dump contents to a stream.
Definition: CaloDetDescriptor.cxx:116
GetLCDefs::Unknown
@ Unknown
Definition: GetLCDefs.h:21
CaloDetDescriptor::m_lar_reg_max
double m_lar_reg_max
maximal Abs Eta for LAr region
Definition: CaloDetDescriptor.h:449
CaloDetDescriptor::setLArRegMin
void setLArRegMin(double reg_min)
Set LAr Region Eta Min.
Definition: CaloDetDescriptor.h:668
CaloDetDescriptor::get_cylinder_surface
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
Definition: CaloDetDescriptor.cxx:199
CaloDetDescriptor::m_is_lar_em_endcap_inner
bool m_is_lar_em_endcap_inner
descriptor belongs to the inner wheel of EM end cap
Definition: CaloDetDescriptor.h:355
egammaParameters::depth
@ depth
pointing depth of the shower as calculated in egammaqgcld
Definition: egammaParamDefs.h:276
CaloDetDescriptor::m_lar_eta_min
double m_lar_eta_min
minimal Eta for LAr region
Definition: CaloDetDescriptor.h:455
CaloDetDescriptor::getSubCalo
CaloCell_ID::SUBCALO getSubCalo() const
get subcalo
Definition: CaloDetDescriptor.h:533
CaloDetDescriptor::is_lar_fcal
bool is_lar_fcal() const
descriptor belongs to FCAL
Definition: CaloDetDescriptor.h:491
CaloDetDescriptor::get_depth_out
void get_depth_out(std::vector< double > &calo_depth) const
get vector of out depths
Definition: CaloDetDescriptor.cxx:332
CaloDetDescriptor::m_calo_eta_min
double m_calo_eta_min
minimal Eta (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:407
CaloDetDescriptor::reg_min
double reg_min() const
eta min and max once misaligned
Definition: CaloDetDescriptor.h:608
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
CaloDetDescriptor::set_transform
void set_transform(const Amg::Transform3D &transform)
Set the transformation matrix.
Definition: CaloDetDescriptor.h:696
CaloDetDescriptor::phi_channel
int phi_channel(double phi) const
channel number for a given eta/phi (if outside returns -1) Should not be used for FCAL
Definition: CaloDetDescriptor.cxx:275
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
CaloDetDescriptor::m_is_lar_em_endcap
bool m_is_lar_em_endcap
descriptor belongs to EM end cap
Definition: CaloDetDescriptor.h:352
CaloDetDescriptor::setLArPhiMin
void setLArPhiMin(double phi_min)
Set LAr Region Phi Min.
Definition: CaloDetDescriptor.h:678
CaloDetDescriptor::m_etachan_min
int m_etachan_min
minimal Eta channel number
Definition: CaloDetDescriptor.h:458
CaloDetDescriptor::dphi
double dphi() const
delta phi
Definition: CaloDetDescriptor.h:593
CaloDetDescriptor::n_calo_depth
int n_calo_depth() const
number of calo depths
Definition: CaloDetDescriptor.cxx:322
CaloDetDescriptor::m_lar_reg_min
double m_lar_reg_min
minimal Abs Eta for LAr region
Definition: CaloDetDescriptor.h:446
CaloDetDescriptor::set_n_calo_depth
void set_n_calo_depth(int n_calo_depth)
set number of calo depths
Definition: CaloDetDescriptor.cxx:340
CaloDetDescriptor::is_lar_hec
bool is_lar_hec() const
descriptor belongs to HEC
Definition: CaloDetDescriptor.h:486
CaloDetDescriptor::setCaloEtaMin
void setCaloEtaMin(double eta_min)
Set Eta Min.
Definition: CaloDetDescriptor.h:628
CaloDetDescriptor::setLArRegMax
void setLArRegMax(double reg_max)
Set LAr Region Eta Max.
Definition: CaloDetDescriptor.h:673
CaloDetDescriptor::m_lar_n_eta
int m_lar_n_eta
eta granularity (LAr)
Definition: CaloDetDescriptor.h:396
CaloCell_Base_ID::subcalo_region_hash
IdentifierHash subcalo_region_hash(const Identifier regionId, int &subCalo) const
create hash id from 'global' region id
CaloDetDescriptor::m_n_calo_depth
int m_n_calo_depth
number of depths
Definition: CaloDetDescriptor.h:432
CaloDetDescriptor::is_in
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)
Definition: CaloDetDescriptor.cxx:250
CaloDetDescriptor::calo_phi_min
double calo_phi_min() const
'ideal' geometry: phi minimal
Definition: CaloDetDescriptor.h:568
CaloDetDescriptor::calo_phi_max
double calo_phi_max() const
'ideal' geometry: phi maximal
Definition: CaloDetDescriptor.h:573
Identifiable.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
CaloDetDescriptor::m_lar_dphi
double m_lar_dphi
delta phi (LAr)
Definition: CaloDetDescriptor.h:393
CaloDetDescriptor::get_disk_surface
bool get_disk_surface(Amg::Transform3D &htrans, double &z, double &rmin, double &rmax, double &hphisec, double &depth) const
(for Trk::Surface)
Definition: CaloDetDescriptor.cxx:226
CaloDetDescriptor::eta_channel_raw
int eta_channel_raw(double eta) const
channel number for a given eta/phi raw (if outside returns -1).
Definition: CaloDetDescriptor.cxx:290
CaloDetDescriptor::m_helper
const AtlasDetectorID * m_helper
Atlas Detector ID helper.
Definition: CaloDetDescriptor.h:336
protected
#define protected
Definition: DetDescrConditionsDict_dict_fixes.cxx:14
CaloDetDescriptor::is_lar_em_endcap_inner
bool is_lar_em_endcap_inner() const
descriptor belongs to the inner wheel of EM end cap
Definition: CaloDetDescriptor.h:476
CaloDetDescriptor::print
virtual void print() const
print the contents
Definition: CaloDetDescriptor.cxx:111
CaloCell_ID.h
CaloDetDescriptor::setCaloZMin
void setCaloZMin(double z_min)
Set Z Min.
Definition: CaloDetDescriptor.h:648
CaloDetDescriptor::calo_z_max
double calo_z_max() const
'ideal' geometry: z maximal
Definition: CaloDetDescriptor.h:553
runBeamSpotCalibration.helper
helper
Definition: runBeamSpotCalibration.py:112
CaloDetDescriptor::m_layer
int m_layer
layer
Definition: CaloDetDescriptor.h:374
CaloDetDescriptor::m_lar_phi_min
double m_lar_phi_min
minimal Phi for LAr region
Definition: CaloDetDescriptor.h:452
CaloDetDescriptor::caloCellMin
IdentifierHash caloCellMin() const
minimal hash identifier for calo cells in the region
Definition: CaloDetDescriptor.h:538
CaloCell_Base_ID::calo_region_hash
IdentifierHash calo_region_hash(const Identifier regionId) const
create hash id from 'global' region id
CaloDetDescriptor::m_calo_helper
const CaloCell_Base_ID * m_calo_helper
Calo Cell ID helper.
Definition: CaloDetDescriptor.h:339
GeoPrimitives.h
CaloDetDescriptor::get_calo_helper
const CaloCell_Base_ID * get_calo_helper() const
get Calo Cell ID helper
Definition: CaloDetDescriptor.h:523
CaloDetDescriptor::m_lar_n_phi
int m_lar_n_phi
phi granularity (LAr)
Definition: CaloDetDescriptor.h:399
CaloDetDescriptor::lar_phi_min
double lar_phi_min() const
minimal Phi for LAr region
Definition: CaloDetDescriptor.h:623
CaloDetDescriptor::setCaloEtaMax
void setCaloEtaMax(double eta_max)
Set Eta Max.
Definition: CaloDetDescriptor.h:633
CaloDetDescriptor::get_depth_in
void get_depth_in(std::vector< double > &calo_depth) const
get vector of in depths
Definition: CaloDetDescriptor.cxx:325
CaloDetDescriptor::is_lar_em_endcap_outer
bool is_lar_em_endcap_outer() const
descriptor belongs to the outer wheel of EM end cap
Definition: CaloDetDescriptor.h:481
CaloDetDescriptor::calo_sign
int calo_sign() const
'ideal' geometry: calo sign
Definition: CaloDetDescriptor.h:543
CaloDetDescriptor::calo_z_min
double calo_z_min() const
'ideal' geometry: z minimal
Definition: CaloDetDescriptor.h:548
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
CaloDetDescriptor::m_calo_depth_in
std::vector< double > m_calo_depth_in
in depths
Definition: CaloDetDescriptor.h:435
CaloDetDescriptor::n_phi
int n_phi() const
phi granularity
Definition: CaloDetDescriptor.h:603
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
z
#define z
vector
Definition: MultiHisto.h:13
CaloDetDescriptor::eta_channel
int eta_channel(double eta) const
channel number for a given eta/phi (if outside returns -1).
Definition: CaloDetDescriptor.cxx:260
CaloCell_Base_ID::SUBCALO
SUBCALO
enumeration of sub calorimeters
Definition: CaloCell_Base_ID.h:46
CaloDetDescriptor::~CaloDetDescriptor
virtual ~CaloDetDescriptor()
virtual detructor
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
CaloDetDescriptor::m_calo_z_max
double m_calo_z_max
maximal Z (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:428
CaloDetDescriptor::layer
int layer() const
get layer
Definition: CaloDetDescriptor.h:528
CaloDetDescriptor::setCaloZMax
void setCaloZMax(double z_max)
Set Z Max.
Definition: CaloDetDescriptor.h:653
CaloDetDescriptor::lar_eta_min
double lar_eta_min() const
minimal Eta for LAr region
Definition: CaloDetDescriptor.h:618
CaloDetDescriptor::is_lar_em
bool is_lar_em() const
descriptor belongs to EM calorimeter
Definition: CaloDetDescriptor.h:461
CaloDetDescriptor::m_calo_z_min
double m_calo_z_min
minimal Z (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:425
CaloDetDescriptor::is_lar_em_barrel
bool is_lar_em_barrel() const
descriptor belongs to EM barrel
Definition: CaloDetDescriptor.h:466
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloDetDescriptor::set_depth_in
void set_depth_in(std::vector< double > &calo_depth)
set vector of in depths
Definition: CaloDetDescriptor.cxx:347
CaloDetDescriptor::deta
double deta() const
delta eta
Definition: CaloDetDescriptor.h:588
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
CaloDetDescriptor::m_is_lar_em_endcap_outer
bool m_is_lar_em_endcap_outer
descriptor belongs to the outer wheel of EM end cap
Definition: CaloDetDescriptor.h:358
CaloDetDescriptor::m_calo_phi_max
double m_calo_phi_max
maximal Phi (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:416
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
CaloDetDescriptor::setLArEtaMin
void setLArEtaMin(double eta_min)
Set LAr Region Phi Max.
Definition: CaloDetDescriptor.h:683
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
CaloDetDescriptor::is_lar_em_endcap
bool is_lar_em_endcap() const
descriptor belongs to EM end cap
Definition: CaloDetDescriptor.h:471
CaloDetDescriptor::m_calo_depth_out
std::vector< double > m_calo_depth_out
out depths
Definition: CaloDetDescriptor.h:438
CaloDetDescriptor::m_calo_sampl
CaloCell_ID::CaloSample m_calo_sampl
Calo Sample.
Definition: CaloDetDescriptor.h:378
CaloDetDescriptor::reg_max
double reg_max() const
eta min and max once misaligned
Definition: CaloDetDescriptor.h:613
CaloDetDescriptor::m_is_lar_em_barrel
bool m_is_lar_em_barrel
descriptor belongs to EM barrel
Definition: CaloDetDescriptor.h:349
CaloDetDescriptor::setCaloPhiMin
void setCaloPhiMin(double phi_min)
Set Phi Min.
Definition: CaloDetDescriptor.h:638
CaloDetDescriptor::m_calo_eta_max
double m_calo_eta_max
maximal Eta (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:410
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
CaloDetDescriptor::set_depth_out
void set_depth_out(std::vector< double > &calo_depth)
set vector of out depths
Definition: CaloDetDescriptor.cxx:353
CaloDetDescriptor::transform
const Amg::Transform3D & transform() const
Get the current transformation matrix.
Definition: CaloDetDescriptor.h:689
CaloDetDescriptor::m_calo_r_max
double m_calo_r_max
maximal R (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:422
CaloDetDescriptor::m_id
Identifier m_id
Region identifier.
Definition: CaloDetDescriptor.h:342
CaloDetDescriptor::CaloDetDescriptor
CaloDetDescriptor(const Identifier &id, const AtlasDetectorID *helper, const CaloCell_Base_ID *calo_helper, CaloCell_ID::CaloSample sample=CaloCell_ID::Unknown, int layer=CaloCell_ID::NOT_VALID)
Constructor.
Definition: CaloDetDescriptor.cxx:12
CaloDetDescriptor::calo_eta_min
double calo_eta_min() const
'ideal' geometry: eta minimal
Definition: CaloDetDescriptor.h:558
CaloDetDescriptor::setCaloPhiMax
void setCaloPhiMax(double phi_max)
Set Phi Max.
Definition: CaloDetDescriptor.h:643
CaloDetDescriptor::m_calo_r_min
double m_calo_r_min
minimal R (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:419
CaloDetDescriptor
This is a base class for LAr and Tile Descriptors The primary goal is to speed up loops over all the ...
Definition: CaloDetDescriptor.h:58
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition: Identifiable.h:27
CaloDetDescriptor::set_eta_phi_granularity
void set_eta_phi_granularity(int neta, double deta, int nphi, double dphi)
Set Phi granularity.
Definition: CaloDetDescriptor.cxx:359
CaloDetDescriptor::m_is_lar_fcal
bool m_is_lar_fcal
descriptor belongs to FCAL
Definition: CaloDetDescriptor.h:364
CaloDetDescriptor::phi_channel_raw
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
Definition: CaloDetDescriptor.cxx:305
CaloDetDescriptor::n_eta
int n_eta() const
eta granularity
Definition: CaloDetDescriptor.h:598
CaloDetDescriptor::m_is_lar_hec
bool m_is_lar_hec
descriptor belongs to HEC
Definition: CaloDetDescriptor.h:361
CaloDetDescriptor::setCaloRMin
void setCaloRMin(double r_min)
Set R Min.
Definition: CaloDetDescriptor.h:658
CaloDetDescriptor::m_is_tile
bool m_is_tile
descriptor belongs to Tile
Definition: CaloDetDescriptor.h:367
CaloDetDescriptor::m_calo_phi_min
double m_calo_phi_min
minimal Phi (to be defined in the derived classes)
Definition: CaloDetDescriptor.h:413
CaloDetDescriptor::m_calo_sign
int m_calo_sign
calo sign
Definition: CaloDetDescriptor.h:371
CaloDetDescriptor::m_is_lar_em
bool m_is_lar_em
descriptor belongs to EM calorimeter
Definition: CaloDetDescriptor.h:346
CaloDetDescriptor::calo_hash
IdentifierHash calo_hash() const
get calo hash
Definition: CaloDetDescriptor.h:512
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
CaloDetDescriptor::setCaloRMax
void setCaloRMax(double r_max)
Set R Max.
Definition: CaloDetDescriptor.h:663
CaloDetDescriptor::calo_r_max
double calo_r_max() const
'ideal' geometry: r maximal
Definition: CaloDetDescriptor.h:583
CaloCell_Base_ID::NOT_VALID
@ NOT_VALID
Definition: CaloCell_Base_ID.h:46
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition: CaloCell_Base_ID.h:41
CaloDetDescriptor::identify
Identifier identify() const override final
get region identifier
Definition: CaloDetDescriptor.h:501
CaloDetDescriptor::is_tile
bool is_tile() const
descriptor belongs to Tile
Definition: CaloDetDescriptor.h:496
CaloDetDescriptor::subcalo_hash
IdentifierHash subcalo_hash() const
get subcalo hash
Definition: CaloDetDescriptor.h:517
CaloDetDescriptor::calo_r_min
double calo_r_min() const
'ideal' geometry: r minimal
Definition: CaloDetDescriptor.h:578
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
CaloDetDescriptor::m_calocell_min
IdentifierHash m_calocell_min
minimal hash id of region cells
Definition: CaloDetDescriptor.h:386
Identifier
Definition: IdentifierFieldParser.cxx:14