|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef INDET_PIXELDEFECTSEMULATORCONDALG_H
8 #define INDET_PIXELDEFECTSEMULATORCONDALG_H
15 #include "GaudiKernel/ServiceHandle.h"
20 #include "GaudiKernel/ITHistSvc.h"
42 {
this,
"PixelDetEleCollKey",
"ITkPixelDetectorElementCollection",
"Key of SiDetectorElementCollection for Pixel"};
44 {
this,
"DefectProbability", 1
e-4};
46 {
this,
"CoreColumnDefectProbability", };
48 {
this,
"WriteKey",
"",
"Key of output PixelDefectsEmulator data"};
53 {
this,
"OddRowToggle",
false};
55 {
this,
"OddColToggle",
false};
57 {
this,
"CheckerBoardDefects",
false};
61 {
this,
"HistogramGroupName",
"",
"Histogram group name or empty to disable histogramming"};
67 TH2 *
findHist(
unsigned int n_rows,
unsigned int n_cols)
const;
PixelDefectsEmulatorCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_checkerBoardToggle
ServiceHandle< IAthRNGSvc > m_rndmSvc
ServiceHandle< ITHistSvc > m_histSvc
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
Gaudi::Property< float > m_pixelDefectProbability
Gaudi::Property< float > m_pixelColGroupdDefectProbability
bool const RAWDATA *ch2 const
bool m_histogrammingEnabled
const PixelID * m_idHelper
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_oddRowToggle
std::vector< unsigned int > m_dimPerHist ATLAS_THREAD_SAFE
virtual StatusCode finalize() override final
TH2 * findHist(unsigned int n_rows, unsigned int n_cols) const
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual ~PixelDefectsEmulatorCondAlg() override=default
Gaudi::Property< bool > m_oddColToggle
std::vector< TH2 * > m_hist ATLAS_THREAD_SAFE
virtual StatusCode initialize() override final
Gaudi::Property< std::string > m_histogramGroupName
manage multiple RandomEngines in thread-safe way.
Conditions algorithms for emulating ITK pixel defects.
SG::WriteCondHandleKey< InDet::PixelEmulatedDefects > m_writeKey
virtual StatusCode execute(const EventContext &ctx) const override final