4#ifndef TRIGT1CALOMONITORING_PPRMONITORALGORITHM_H
5#define TRIGT1CALOMONITORING_PPRMONITORALGORITHM_H
16 virtual StatusCode
fillHistograms(
const EventContext& ctx )
const override;
29 StringProperty
m_packageName{
this,
"PackageName",
"PprMonitor",
"group name for histogramming"};
36 Gaudi::Property<double>
m_phiScaleTT{
this,
"phiScaleTT", 32./
M_PI,
"Scale factor to convert trigger tower phi to integer binning"};
38 Gaudi::Property<int>
m_SliceNo{
this,
"SliceNo", 15,
"Number of possible time slices in the readout"};
39 Gaudi::Property<int>
m_EMFADCCut{
this,
"EMFADCCut", 40,
"EM FADC cut for signal"};
41 Gaudi::Property<std::vector<int>>
m_TT_HitMap_ThreshVec{
this,
"LUTHitMap_ThreshVec", {0, 1, 3, 5, 10, 20, 30, 50},
"Thresholds for LUT hitmaps"};
55 std::vector<MonitorTT> &vecMonTT)
const;
57 double recTime(
const std::vector<short unsigned int> &vFADC,
int cut)
const;
62 const std::string& groupName,
63 const std::string& weightName,
64 double weight=1.)
const;
67 const std::string& groupName)
const;
Scalar eta() const
pseudorapidity method
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
static const std::string xAODTriggerTowerLocation
Gaudi::Property< std::vector< int > > m_TT_HitMap_ThreshVec
std::map< uint32_t, int > m_errorLB_tt_counter ATLAS_THREAD_SAFE
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
virtual ~PprMonitorAlgorithm()=default
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_xAODTriggerTowerContainerName
container keys including steering parameter and description
std::vector< int > ErrorVector
StatusCode fillPPMPhi(MonitorTT &monTT, const std::string &groupName) const
std::map< std::string, int > m_groupTimeslice_HAD
Gaudi::Property< int > m_EMFADCCut
StatusCode makePPMTower(const xAOD::TriggerTower_v2 *tt, std::vector< MonitorTT > &vecMonTT) const
Helper functions.
double recTime(const std::vector< short unsigned int > &vFADC, int cut) const
std::map< std::string, int > m_groupTimeslice_EM
Groups for GenericMonitoringArrays.
StringProperty m_packageName
Gaudi::Property< int > m_SliceNo
Gaudi::Property< int > m_TT_ADC_Pedestal
SG::WriteHandleKey< std::vector< int > > m_errorLocation
StatusCode fillPPMEtaPhi(MonitorTT &monTT, const std::string &groupName, const std::string &weightName, double weight=1.) const
Gaudi::Property< int > m_TT_ADC_HitMap_Thresh
Gaudi::Property< double > m_phiScaleTT
Properties.
std::string getPartition(int layer, double eta) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Description of TriggerTower_v2.
Struct to contain PPM trigger tower info.
double maxADC
phi for 2d maps with integer bins (taking into account granularity in eta)
int jepET
max ADC timeslice
const xAOD::TriggerTower_v2 * tower