5#ifndef TILEMONITORING_TILEJETMONITORALGORITHM
6#define TILEMONITORING_TILEJETMONITORALGORITHM
40 virtual StatusCode
fillHistograms(
const EventContext& ctx )
const override;
45 unsigned int findIndex(
const int gain,
const float energy)
const;
50 std::string
sampleName(
const int ros,
const int sample,
const int tower)
const;
51 std::string
cellName(
const int ros,
const int sample,
const int tower,
const int module)
const;
52 bool matchesEnergyRange(
const int sample,
const int tower,
const float energy,
const int gain)
const;
54 Gaudi::Property<float>
m_jetPtMin{
this,
"JetPtMin", 20000.,
"Threshold in MeV"};
55 Gaudi::Property<float>
m_jetPtMax{
this,
"JetPtMax", 120000,
""};
56 Gaudi::Property<float>
m_jetEtaMax{
this,
"JetEtaMax", 1.6,
""};
59 Gaudi::Property<float>
m_gain{
this,
"Gain", 1,
""};
62 Gaudi::Property<float>
m_gainE1{
this,
"GainE1", -1,
""};
65 Gaudi::Property<float>
m_gainE2{
this,
"GainE2", -1,
""};
68 Gaudi::Property<float>
m_gainE3{
this,
"GainE3", -1,
""};
71 Gaudi::Property<float>
m_gainE4{
this,
"GainE4", -1,
""};
84 "CellEnergyUpperLimitsHG", {},
"Energy upper limits of the HG cell-time histograms"};
86 "CellEnergyUpperLimitsLG", {},
"Energy upper limits of the LG cell-time histograms"};
89 "TileBadChanTool",
"TileBadChanTool",
"Tile bad channel tool"};
92 ToolHandle<IJetUpdateJvt>
m_jvt{
this,
"JVT",
"",
""};
100 "JetContainer",
"AntiKt4EMTopoJets",
"Jet container for monitoring"};
103 "CaloCellContainer",
"AllCalo",
"Calo cell container name"};
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.
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for TileCal online (hardware) identifiers.
Helper class for TileCal offline identifiers.
Gaudi::Property< bool > m_do1DHistograms
StatusCode fillTimeHistograms(const xAOD::Jet &jet, uint32_t lumiBlock, std::set< Identifier > &usedCells) const
Gaudi::Property< float > m_gainE2
std::string cellName(const int ros, const int sample, const int tower, const int module) const
Gaudi::Property< float > m_gainE4
ToolHandle< ITileBadChanTool > m_tileBadChanTool
const TileCablingService * m_cabling
TileCabling instance.
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Gaudi::Property< float > m_energyDiffThreshold
Gaudi::Property< bool > m_doCellHistograms
Gaudi::Property< bool > m_doJetCleaning
Gaudi::Property< float > m_gainE1
Gaudi::Property< float > m_energyE3Min
Gaudi::Property< float > m_jetEtaMax
Gaudi::Property< bool > m_doEnergyProfiles
Gaudi::Property< bool > m_doEnergyDiffHistograms
Gaudi::Property< float > m_energyE2Min
SG::ReadHandleKey< CaloCellContainer > m_caloCellContainerKey
Gaudi::Property< float > m_energyE4Max
Gaudi::Property< bool > m_doEventCleaning
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsLG
Gaudi::Property< float > m_energyE1Min
bool matchesEnergyRange(const int sample, const int tower, const float energy, const int gain) const
Gaudi::Property< float > m_jetPtMin
ToolHandle< IJetSelector > m_jetCleaningTool
Gaudi::Property< std::vector< float > > m_cellEnergyUpperLimitsHG
Gaudi::Property< bool > m_do2DHistograms
bool isGoodChannel(int part, int module, int channel, uint32_t bad, unsigned int qbit, Identifier id) const
ToolHandle< IJetUpdateJvt > m_jvt
Gaudi::Property< float > m_energyE2Max
const TileHWID * m_tileHWID
Gaudi::Property< float > m_gainE3
bool isGoodJet(const xAOD::Jet &jet) const
Gaudi::Property< float > m_energyChanMax
std::string sampleName(const int ros, const int sample, const int tower) const
Gaudi::Property< float > m_jetTrackingEtaLimit
Gaudi::Property< float > m_energyE3Max
Gaudi::Property< float > m_gain
Gaudi::Property< float > m_energyE1Max
ToolHandle< ECUtils::IEventCleaningTool > m_eventCleaningTool
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< float > m_energyChanMin
unsigned int findIndex(const int gain, const float energy) const
bool isGoodEvent(const EventContext &ctx) const
Gaudi::Property< float > m_jetPtMax
Gaudi::Property< float > m_energyE4Min
Gaudi::Property< float > m_jvtThreshold
bool passesJvt(const xAOD::Jet &jet) const
Jet_v1 Jet
Definition of the current "jet version".