4#ifndef CALODETDESC_CALOTOWERGEOMETRYCONDALG_H
5#define CALODETDESC_CALOTOWERGEOMETRYCONDALG_H
16 using AthCondAlgorithm::AthCondAlgorithm;
21 StatusCode
finalize() override final {
return StatusCode::SUCCESS;}
32 Gaudi::Property<unsigned>
m_towerEtaBins{
this,
"TowerEtaBins",100,
"Number of pseudorapidity bins in tower grid"};
33 Gaudi::Property<double>
m_towerEtaMin{
this,
"TowerEtaMin",-5.0,
"Lower boundary of pseudorapidity range"};
34 Gaudi::Property<double>
m_towerEtaMax {
this,
"TowerEtaMax", 5.0,
"Upper boundary of pseudorapidity range"};
35 Gaudi::Property<bool>
m_adjustEta {
this,
"AdjustFCalToTowerEtaBounds",
true,
"Adjust FCal cells to eta boundaries"};
37 Gaudi::Property<unsigned>
m_towerPhiBins {
this,
"TowerPhiBins",64,
"Number of azimuthal bins in tower grid"};
38 Gaudi::Property<double>
m_towerPhiMin {
this,
"TowerPhiMin", -
M_PI,
"Lower boundary of azimuthal range"};
39 Gaudi::Property<double>
m_towerPhiMax {
this,
"TowerPhiMax",
M_PI,
"Upper boundary of azimuthal range"};
42 Gaudi::Property<double>
m_fcal1Xslice {
this,
"FCal1NSlicesX",8.0,
"Number of X slices for FCal1 cells"};
43 Gaudi::Property<double>
m_fcal1Yslice {
this,
"FCal1NSlicesY",8.0,
"Number of Y slices for FCal1 cells"};
45 Gaudi::Property<double>
m_fcal2Xslice {
this,
"FCal2NSlicesX",8.0,
"Number of X slices for FCal2 cells"};
46 Gaudi::Property<double>
m_fcal2Yslice {
this,
"FCal2NSlicesY",12.0,
"Number of Y slices for FCal2 cells"};
48 Gaudi::Property<double>
m_fcal3Xslice {
this,
"FCal3NSlicesX",12.0,
"Number of X slices for FCal3 cells"};
49 Gaudi::Property<double>
m_fcal3Yslice {
this,
"FCal3NSlicesY",12.0,
"Number of Y slices for FCal3 cells"};
51 Gaudi::Property<std::string>
m_towerGridFile{
this,
"TowerGridFile",
"",
"Text file to dump tower-grid"};
53 Gaudi::Property<std::string>
m_towerMapFile{
this,
"TowerMapFile",
"",
"Text file to dump cell->tower mapping"};
Base class for conditions algorithms.
Definition of CaloDetDescrManager.
Base class for conditions algorithms.
StatusCode execute(const EventContext &ctx) const override final
Gaudi::Property< double > m_fcal3Yslice
StatusCode finalize() override final
Gaudi::Property< std::string > m_towerGridFile
Gaudi::Property< unsigned > m_towerEtaBins
Gaudi::Property< double > m_fcal2Xslice
Gaudi::Property< double > m_towerEtaMax
Gaudi::Property< bool > m_adjustEta
StatusCode initialize() override final
SG::WriteCondHandleKey< CaloTowerGeometry > m_outputKey
Gaudi::Property< double > m_fcal2Yslice
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< std::string > m_towerMapFile
Gaudi::Property< double > m_towerPhiMax
Gaudi::Property< double > m_fcal3Xslice
Gaudi::Property< double > m_towerEtaMin
Gaudi::Property< double > m_towerPhiMin
Gaudi::Property< double > m_fcal1Yslice
Gaudi::Property< double > m_fcal1Xslice
virtual ~CaloTowerGeometryCondAlg()=default
Gaudi::Property< unsigned > m_towerPhiBins
Retrieve the list of towers associated with a calorimeter cell referenced by its hash identifier.