|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGT1CALOMONITORING_EFEXSIMMONITORALGORITHM_H
5 #define TRIGT1CALOMONITORING_EFEXSIMMONITORALGORITHM_H
30 StringProperty
m_packageName{
this,
"PackageName",
"EfexSimMonitor",
"group name for histograming"};
56 etas.clear();phis.clear();word0s.clear();
59 etas.reserve(tobs->size());
60 phis.reserve(tobs->size());
61 word0s.reserve(tobs->size());
62 std::vector<SortableTob> sortedTobs;
63 sortedTobs.reserve(tobs->size());
64 for(
auto tob : *tobs) {
67 std::sort(sortedTobs.begin(),sortedTobs.end(),[](
const SortableTob& lhs,
const SortableTob& rhs) { return lhs.word0<rhs.word0; });
68 for(
auto& tob : sortedTobs) {
69 etas.push_back(tob.eta);
70 phis.push_back(tob.phi);
71 word0s.push_back(tob.word0);
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEmContainerKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
std::map< int, std::string > m_firstEvents_EmulatedTowers ATLAS_THREAD_SAFE
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFexTauContainerKey
EfexSimMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
StringProperty m_packageName
SortableTob(unsigned int w, float e, float p)
Base class for Athena Monitoring Algorithms.
SG::ReadHandleKey< xAOD::eFexEMRoIContainer > m_eFexEmSimContainerKey
SG::ReadHandleKey< xAOD::eFexTowerContainer > m_eFexTowerContainerKey
SG::ReadHandleKey< xAOD::eFexTauRoIContainer > m_eFexTauSimContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~EfexSimMonitorAlgorithm()=default
virtual StatusCode initialize() override
initialize
Header file to be included by clients of the Monitored infrastructure.
std::mutex m_firstEventsMutex
std::map< int, std::string > m_firstEvents_DataTowers ATLAS_THREAD_SAFE
unsigned int fillHistos(const SG::ReadHandleKey< T > &key1, const SG::ReadHandleKey< T > &key2, const EventContext &ctx, const std::string &signa="") const
void fillVectors(const SG::ReadHandleKey< T > &key, const EventContext &ctx, std::vector< float > &etas, std::vector< float > &phis, std::vector< unsigned int > &word0s) const