ATLAS Offline Software
TileDQstatusTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4 */
5 /*
6  */
15 #ifndef TILERECUTILS_TILEDQSTATUSTOOL_H
16 #define TILERECUTILS_TILEDQSTATUSTOOL_H
17 
18 
23 #include "GaudiKernel/ServiceHandle.h"
25 class TileHWID;
26 
27 
29 : public extends<AthAlgTool, ITileDQstatusTool>
30 {
31 public:
38  TileDQstatusTool (const std::string& type,
39  const std::string& name,
40  const IInterface* parent);
41 
42 
46  virtual StatusCode initialize() override;
47 
48 
57  virtual
59  makeStatus (const EventContext& ctx,
62  const TileBeamElemContainer* tileBeamElemContainer,
63  TileDQstatus& dqstatus) const override;
64 
65 private:
71  StatusCode doBeamElem (const TileBeamElemContainer* tileBeamElemContainer,
72  TileDQstatus& dqstatus) const;
73 
74 
75  Gaudi::Property<bool> m_simulateTrips
76  {this, "SimulateTrips", false, "Simulate drawer trips (default=false)"};
77 
79  {this, "AthRNGSvc", "AthRNGSvc", "Random number service"};
80 
85  "TileBadChannels", "TileBadChannels", "Input Tile bad channel status"};
86 
88  const TileHWID* m_tileHWID = nullptr;
89 };
90 
91 
92 #endif // not TILERECUTILS_TILEDQSTATUSTOOL_H
TileRawChannelContainer
Definition: TileRawChannelContainer.h:13
TileDQstatusTool::initialize
virtual StatusCode initialize() override
Gaudi initialize method.
Definition: TileDQstatusTool.cxx:45
TileDQstatusTool
Definition: TileDQstatusTool.h:30
TileDQstatusTool::doBeamElem
StatusCode doBeamElem(const TileBeamElemContainer *tileBeamElemContainer, TileDQstatus &dqstatus) const
Process BeamElemContainer.
Definition: TileDQstatusTool.cxx:217
TileDigitsContainer
Definition: TileDigitsContainer.h:13
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileDQstatus
Class that holds Data Quality fragment information and provides functions to extract the data quality...
Definition: TileDQstatus.h:49
TileDQstatusTool::m_badChannelsKey
SG::ReadCondHandleKey< TileBadChannels > m_badChannelsKey
Name of TileBadChannels in condition store.
Definition: TileDQstatusTool.h:84
ITileDQstatusTool.h
Interface for building TileDQstatus object.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloJiveXML_DataTypes.tileDigitsContainer
string tileDigitsContainer
Definition: CaloJiveXML_DataTypes.py:11
TileBeamElemContainer
Definition: TileBeamElemContainer.h:13
ReadCondHandleKey.h
TileDQstatusTool::m_athRNGSvc
ServiceHandle< IAthRNGSvc > m_athRNGSvc
Definition: TileDQstatusTool.h:79
TileDQstatusTool::m_simulateTrips
Gaudi::Property< bool > m_simulateTrips
Definition: TileDQstatusTool.h:76
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileDQstatusTool::m_tileHWID
const TileHWID * m_tileHWID
Tile ID helper.
Definition: TileDQstatusTool.h:88
SG::ReadCondHandleKey< TileBadChannels >
TileDQstatusTool::makeStatus
virtual StatusCode makeStatus(const EventContext &ctx, const TileRawChannelContainer *rawChannelContainer, const TileDigitsContainer *tileDigitsContainer, const TileBeamElemContainer *tileBeamElemContainer, TileDQstatus &dqstatus) const override
Make a new TileDQstatus object.
Definition: TileDQstatusTool.cxx:68
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileBadChannels.h
TileAANtupleConfig.rawChannelContainer
rawChannelContainer
Definition: TileAANtupleConfig.py:120
TileDQstatusTool::TileDQstatusTool
TileDQstatusTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: TileDQstatusTool.cxx:34
IAthRNGSvc.h
ServiceHandle< IAthRNGSvc >