ATLAS Offline Software
Loading...
Searching...
No Matches
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
10
12
15
16class TileID;
17
21
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;
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
69 const TileID* m_tileID{nullptr};
70};
71
72
73#endif // TILEMONITORING_TILECLUSTERMONITORALGORITHM_H
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
std::vector< std::vector< int > > m_clusterEnergyGroups
const TileCablingService * m_cabling
Gaudi::Property< float > m_energyThreshold
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClusterContainerKey
Gaudi::Property< float > m_cellEnergyThresholdForTiming
virtual ~TileClusterMonitorAlgorithm()=default
Gaudi::Property< bool > m_fillTimingHistograms
TileMonitorAlgorithm(const std::string &name, ISvcLocator *svcLocator)
Helper class for TileCal offline identifiers.
Definition TileID.h:67
TileMonitorAlgorithm(const std::string &name, ISvcLocator *svcLocator)
void initialize()