|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGT1CALOMONITORING_GFEXSIMMONITORALGORITHM_H
5 #define TRIGT1CALOMONITORING_GFEXSIMMONITORALGORITHM_H
81 etas.clear();phis.clear();word0s.clear();
84 etas.reserve(tobs->size());
85 phis.reserve(tobs->size());
86 word0s.reserve(tobs->size());
87 std::vector<SortableTob> sortedTobs;
88 sortedTobs.reserve(tobs->size());
89 for(
auto tob : *tobs) {
90 sortedTobs.emplace_back(
SortableTob{tob->word(),tob->
eta(),tob->phi()});
92 std::sort(sortedTobs.begin(),sortedTobs.end(),[](
const SortableTob& lhs,
const SortableTob& rhs) { return lhs.eta<rhs.eta; });
93 for(
auto& tob : sortedTobs) {
94 etas.push_back(tob.eta);
95 phis.push_back(tob.phi);
96 word0s.push_back(tob.word0);
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_simu_gFexBlock
std::map< int, std::string > m_firstEvents ATLAS_THREAD_SAFE
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gMHTComponentsJwoj
virtual StatusCode initialize() override
initialize
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gScalarERms
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_data_gFexBlock
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gMETComponentsRms
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gScalarERms
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_simu_gFexRho
void fillVectors(const SG::ReadHandleKey< T > &key, const EventContext &ctx, std::vector< float > &etas, std::vector< float > &phis, std::vector< unsigned int > &word0s) const
Base class for Athena Monitoring Algorithms.
virtual ~GfexSimMonitorAlgorithm()=default
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gScalarENoiseCut
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
bool compareGlobalRoI(const std::string &label, const SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > &tobs1Key, const SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > &tobs2Key, const EventContext &ctx, uint32_t tobMask=0xffffffff) const
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gMSTComponentsJwoj
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gMETComponentsRms
Header file to be included by clients of the Monitored infrastructure.
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_data_gFexJet
GfexSimMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_data_gFexRho
bool compareJetRoI(const std::string &label, const SG::ReadHandleKey< xAOD::gFexJetRoIContainer > &tobs1Key, const SG::ReadHandleKey< xAOD::gFexJetRoIContainer > &tobs2Key, const EventContext &ctx, bool simReady=false) const
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gScalarENoiseCut
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gScalarEJwoj
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gMETComponentsNoiseCut
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gMETComponentsJwoj
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gMSTComponentsJwoj
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gMETComponentsJwoj
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_simu_gScalarEJwoj
SortableTob(unsigned int w, float e, float p)
SG::ReadHandleKey< xAOD::gFexJetRoIContainer > m_simu_gFexJet
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gMETComponentsNoiseCut
SG::ReadHandleKey< xAOD::gFexGlobalRoIContainer > m_data_gMHTComponentsJwoj
std::mutex m_firstEventsMutex