ATLAS Offline Software
Loading...
Searching...
No Matches
FPGAOutputValidationAlg.h
Go to the documentation of this file.
1
2/*
3 * Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4 */
5
6#ifndef EFTRACKING_ATHENA_VS_FPGA_CLUSTER_HIST_MAKER_H
7#define EFTRACKING_ATHENA_VS_FPGA_CLUSTER_HIST_MAKER_H
8
9#include "GaudiKernel/LockedHandle.h"
10
23
25{
26 Gaudi::Property<std::string> m_outputRootFilePath{
27 this,
28 "outputRootFilePath",
29 "fpgaOutputValidation.root",
30 "Path to output root file containing histograms."
31 };
32
33 Gaudi::Property<bool> m_doDiffHistograms{
34 this,
35 "doDiffHistograms",
36 false,
37 "Create extra histograms for cluster parameter diffs between matched clusters."
38 };
39 Gaudi::Property<bool> m_matchByID{this, "matchByID", false, "Use hash to match clusters. If false, use only the rdo list."};
40 Gaudi::Property<size_t> m_allowedRdoMisses {this, "allowedRdoMisses", 0, "Allowed number of RDOs that don't have to match between clusters. Setting this to a very large number means essentially that 1 common RDO is enough to match clusters."};
41 Gaudi::Property<bool> m_checkClusterRdos {this, "checkClusterRdos", false, "If true, check if FPGA clusters share any RDOs"};
42
45
46 ToolHandle<GenericMonitoringTool> m_monitoringTool{this, "monitoringTool", "", "Monitoring tool"};
47
48 // chrono service
49 ServiceHandle<IChronoStatSvc> m_chrono{this,"ChronoStatSvc","ChronoStatSvc"};
50
51 const PixelID* m_pixelid {nullptr};
52 const SCT_ID* m_stripid {nullptr};
55 public:
56 FPGAOutputValidationAlg(const std::string& name, ISvcLocator* pSvcLocator);
57 virtual StatusCode initialize() override final;
58 virtual StatusCode execute(const EventContext& ctx) const override final;
59};
60
61#endif
62
Header file to be included by clients of the Monitored infrastructure.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKeyArray< xAOD::PixelClusterContainer > m_pixelKeys
Gaudi::Property< size_t > m_allowedRdoMisses
const InDetDD::SiDetectorManager * m_SCT_mgr
Gaudi::Property< bool > m_checkClusterRdos
SG::ReadHandleKeyArray< xAOD::StripClusterContainer > m_stripKeys
const InDetDD::SiDetectorManager * m_PIX_mgr
Gaudi::Property< bool > m_doDiffHistograms
ToolHandle< GenericMonitoringTool > m_monitoringTool
Gaudi::Property< std::string > m_outputRootFilePath
FPGAOutputValidationAlg(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< IChronoStatSvc > m_chrono
virtual StatusCode execute(const EventContext &ctx) const override final
Gaudi::Property< bool > m_matchByID
virtual StatusCode initialize() override final
Base class for Pixel and SCT Detector managers.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray