ATLAS Offline Software
TileCalCellMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOMONITORING_TILECALMONALG_H
6 #define CALOMONITORING_TILECALMONALG_H
7 
8 #include "CaloMonAlgBase.h"
9 
14 
19 
20  public:
21 
23  virtual ~TileCalCellMonAlg() = default;
24  virtual StatusCode initialize() override;
25  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
26 
27  private:
28 
29  Gaudi::Property<std::string> m_monGroupName{this, "MonGroupName", "TileCalGroup"};
30  Gaudi::Property<bool> m_twoGaussianNoise{this, "TwoGaussianNoise", true, "Use 2-gaussian noise"};
31 
32  Gaudi::Property<float> m_energyThreshold{this,
33  "EnergyThreshold", 300.0F, "Energy threshold in MeV"};
34 
36  "CaloCellContainer", "AllCalo", "Calo cell container name"};
37 
43  "CaloNoise", "totalNoise", "Calo noise object name"};
44 
45  const TileID* m_tileID{nullptr};
46  static const int N_TILE_SAMPLES{4};
47 
48  std::vector<int> m_noiseEtaPhiGroups;
49  std::vector<int> m_energyModuleGroups;
50 };
51 
52 
53 #endif // CALOMONITORING_TILECALMONALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileCalCellMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TileCalCellMonAlg.cxx:29
TileCalCellMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: TileCalCellMonAlg.cxx:14
TileCalCellMonAlg::~TileCalCellMonAlg
virtual ~TileCalCellMonAlg()=default
SG::ReadHandleKey< CaloCellContainer >
TileCalCellMonAlg::m_tileID
const TileID * m_tileID
Definition: TileCalCellMonAlg.h:45
CaloMonAlgBase.h
TileCalCellMonAlg::m_energyThreshold
Gaudi::Property< float > m_energyThreshold
Definition: TileCalCellMonAlg.h:32
CaloMonAlgBase::CaloMonAlgBase
CaloMonAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CaloMonAlgBase.cxx:7
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileCalCellMonAlg
Definition: TileCalCellMonAlg.py:1
TileCalCellMonAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition: TileCalCellMonAlg.h:35
ReadCondHandleKey.h
TileCalCellMonAlg::m_twoGaussianNoise
Gaudi::Property< bool > m_twoGaussianNoise
Definition: TileCalCellMonAlg.h:30
TileCalCellMonAlg::m_noiseEtaPhiGroups
std::vector< int > m_noiseEtaPhiGroups
Definition: TileCalCellMonAlg.h:48
CaloNoise.h
TileCalCellMonAlg::m_caloNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_caloNoiseKey
Key of the CaloNoise Conditions data object.
Definition: TileCalCellMonAlg.h:42
CaloCellContainer.h
SG::ReadCondHandleKey< CaloNoise >
TileCalCellMonAlg::N_TILE_SAMPLES
static const int N_TILE_SAMPLES
Definition: TileCalCellMonAlg.h:46
TileCalCellMonAlg::m_energyModuleGroups
std::vector< int > m_energyModuleGroups
Definition: TileCalCellMonAlg.h:49
TileCalCellMonAlg::m_monGroupName
Gaudi::Property< std::string > m_monGroupName
Definition: TileCalCellMonAlg.h:29
CaloMonAlgBase
Definition: CaloMonAlgBase.py:1