5#ifndef TILEMONITORING_TILEMONITORALGORITHM_H
6#define TILEMONITORING_TILEMONITORALGORITHM_H
9#include "Identifier/Identifier.h"
29 virtual StatusCode
fillHistograms(
const EventContext& ctx)
const override = 0;
101 "fillHistogramsForL1Triggers", {},
"Fill histograms per given L1 trigger types"};
106 "bit4_RPC",
"bit5_FTK",
"bti6_CTP",
"bit7_Calib",
"AnyPhysTrig"};
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Data object for each calorimeter readout cell.
This is a "hash" representation of an Identifier.
Helper class for TileCal offline identifiers.
std::vector< int > m_l1TriggerIndices
std::vector< L1TriggerTypeBit > m_l1Triggers
int getNumberOfL1Triggers(void) const
Return number of L1 triggers for which histograms should be filled.
AuxiliarySampling
Describes Tile auxiliary sampling.
virtual StatusCode fillHistograms(const EventContext &ctx) const override=0
adds event to the monitoring histograms
Partition
Describes Tile partitions (ROS - 1)
Gaudi::Property< std::vector< std::string > > m_fillHistogramsForL1Triggers
L1TriggerTypeBit getL1TriggerTypeBitFromName(const std::string &triggerBitName) const
virtual StatusCode initialize() override
initialize
virtual ~TileMonitorAlgorithm()=default
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::vector< int > getL1TriggerIndices(uint32_t lvl1TriggerType) const
Return indices of histograms to be filled according fired L1 trigger type.
L1TriggerTypeBit
Describes L1 trigger type bits.
TileMonitorAlgorithm(const std::string &name, ISvcLocator *svcLocator)
L1TriggerTypeBit getL1TriggerTypeBit(int lvl1TriggerIdx) const
Return Level1 Trigger type bit according trigger index.
bool isPhysicsEvent(uint32_t lvl1TriggerType) const
Return true if it is physics event or false for calibration event.
Partition getPartition(const CaloCell *cell, const TileID *tileID) const
Return Partition for Tile cell or MAX_PART otherwise.
std::vector< std::string > m_l1TriggerBitNames