ATLAS Offline Software
TileClusterMonitorAlgorithm.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 TILEMONITORING_TILECLUSTERMONITORALGORITHM_H
6 #define TILEMONITORING_TILECLUSTERMONITORALGORITHM_H
7 
8 #include "TileMonitorAlgorithm.h"
10 
12 
15 
16 class TileID;
17 
23 
24  public:
25 
27  virtual ~TileClusterMonitorAlgorithm() = default;
28  virtual StatusCode initialize() override;
29  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
30 
31  private:
32 
33  Gaudi::Property<float> m_energyThreshold{this,
34  "EnergyThreshold", 500.0F, "Energy threshold in MeV"};
35 
36  Gaudi::Property<bool> m_fillTimingHistograms{this,
37  "fillTimingHistograms", false, "Fill timing histograms from cells associated with clusters"};
38 
39  Gaudi::Property<float> m_cellEnergyThresholdForTiming{this,
40  "CellEnergyThresholdForTiming", 1500.0F, "Energy threshold in MeV"};
41 
43  "CaloClusterContainer", "TileTopoCluster", "Calo cluster container name"};
44 
49  "TileCablingSvc", "TileCablingSvc", "Tile cabling service"};
50 
51  std::vector<int> m_clusterEtaPhiGroups;
52  std::vector<int> m_clusterEtGroups;
53  std::vector<int> m_clusterNCellsGroups;
54  std::vector<int> m_allClusterEnergyGroups;
55  std::vector<int> m_allClusterEtaPhiGroups;
56  std::vector<int> m_allClusterEneEtaPhiGroups;
57  std::vector<int> m_nClustersGroups;
58  std::vector<int> m_clusterSumPxGroups;
59  std::vector<int> m_clusterSumPyGroups;
60  std::vector<int> m_clusterSumEtGroups;
61  std::vector<int> m_clusterTimeDiffGroups;
62  std::vector<int> m_clusterEneDiffGroups;
63  std::vector<int> m_clusterEtaPhiDiffGroups;
64  std::vector<int> m_partitionTimeLBGroups;
65 
66  std::vector<std::vector<int>> m_clusterEnergyGroups;
67 
68  const TileCablingService* m_cabling{nullptr};
69  const TileID* m_tileID{nullptr};
70 };
71 
72 
73 #endif // TILEMONITORING_TILECLUSTERMONITORALGORITHM_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileCablingSvc.h
TileClusterMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileClusterMonitorAlgorithm.h:48
TileClusterMonitorAlgorithm::m_clusterEtaPhiGroups
std::vector< int > m_clusterEtaPhiGroups
Definition: TileClusterMonitorAlgorithm.h:51
TileClusterMonitorAlgorithm::m_clusterSumPxGroups
std::vector< int > m_clusterSumPxGroups
Definition: TileClusterMonitorAlgorithm.h:58
TileClusterMonitorAlgorithm::m_clusterEtaPhiDiffGroups
std::vector< int > m_clusterEtaPhiDiffGroups
Definition: TileClusterMonitorAlgorithm.h:63
TileClusterMonitorAlgorithm::m_clusterEneDiffGroups
std::vector< int > m_clusterEneDiffGroups
Definition: TileClusterMonitorAlgorithm.h:62
SG::ReadHandleKey< xAOD::CaloClusterContainer >
TileClusterMonitorAlgorithm::~TileClusterMonitorAlgorithm
virtual ~TileClusterMonitorAlgorithm()=default
TileClusterMonitorAlgorithm::m_clusterTimeDiffGroups
std::vector< int > m_clusterTimeDiffGroups
Definition: TileClusterMonitorAlgorithm.h:61
TileClusterMonitorAlgorithm::m_nClustersGroups
std::vector< int > m_nClustersGroups
Definition: TileClusterMonitorAlgorithm.h:57
TileClusterMonitorAlgorithm::m_cellEnergyThresholdForTiming
Gaudi::Property< float > m_cellEnergyThresholdForTiming
Definition: TileClusterMonitorAlgorithm.h:39
TileClusterMonitorAlgorithm::m_allClusterEneEtaPhiGroups
std::vector< int > m_allClusterEneEtaPhiGroups
Definition: TileClusterMonitorAlgorithm.h:56
TileMonitorAlgorithm::TileMonitorAlgorithm
TileMonitorAlgorithm(const std::string &name, ISvcLocator *svcLocator)
Definition: TileMonitorAlgorithm.h:21
TileClusterMonitorAlgorithm::m_energyThreshold
Gaudi::Property< float > m_energyThreshold
Definition: TileClusterMonitorAlgorithm.h:33
TileClusterMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
Definition: TileClusterMonitorAlgorithm.h:68
TileClusterMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TileClusterMonitorAlgorithm.cxx:57
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
TileClusterMonitorAlgorithm
Definition: TileClusterMonitorAlgorithm.py:1
TileClusterMonitorAlgorithm::m_allClusterEnergyGroups
std::vector< int > m_allClusterEnergyGroups
Definition: TileClusterMonitorAlgorithm.h:54
TileClusterMonitorAlgorithm::m_clusterEtGroups
std::vector< int > m_clusterEtGroups
Definition: TileClusterMonitorAlgorithm.h:52
TileCablingService
Definition: TileCablingService.h:23
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TileClusterMonitorAlgorithm::m_clusterSumPyGroups
std::vector< int > m_clusterSumPyGroups
Definition: TileClusterMonitorAlgorithm.h:59
TileClusterMonitorAlgorithm::m_fillTimingHistograms
Gaudi::Property< bool > m_fillTimingHistograms
Definition: TileClusterMonitorAlgorithm.h:36
TileMonitorAlgorithm.h
TileClusterMonitorAlgorithm::m_clusterNCellsGroups
std::vector< int > m_clusterNCellsGroups
Definition: TileClusterMonitorAlgorithm.h:53
TileClusterMonitorAlgorithm::m_tileID
const TileID * m_tileID
Definition: TileClusterMonitorAlgorithm.h:69
TileClusterMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TileClusterMonitorAlgorithm.cxx:16
TileClusterMonitorAlgorithm::m_caloClusterContainerKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterContainerKey
Definition: TileClusterMonitorAlgorithm.h:42
TileClusterMonitorAlgorithm::m_partitionTimeLBGroups
std::vector< int > m_partitionTimeLBGroups
Definition: TileClusterMonitorAlgorithm.h:64
CaloClusterContainer.h
TileClusterMonitorAlgorithm::m_clusterEnergyGroups
std::vector< std::vector< int > > m_clusterEnergyGroups
Definition: TileClusterMonitorAlgorithm.h:66
TileClusterMonitorAlgorithm::m_allClusterEtaPhiGroups
std::vector< int > m_allClusterEtaPhiGroups
Definition: TileClusterMonitorAlgorithm.h:55
TileClusterMonitorAlgorithm::m_clusterSumEtGroups
std::vector< int > m_clusterSumEtGroups
Definition: TileClusterMonitorAlgorithm.h:60
ServiceHandle< TileCablingSvc >
TileMonitorAlgorithm
Base class for Tile monitoring per L1 trigger type.
Definition: TileMonitorAlgorithm.h:17