16#ifndef SCT_ReadoutTestAlg_H
17#define SCT_ReadoutTestAlg_H
26#include "GaudiKernel/ToolHandle.h"
44 virtual StatusCode
execute()
override;
45 virtual StatusCode
finalize()
override;
48 ToolHandle<ISCT_ReadoutTool>
m_readout{
this,
"SCT_ReadoutTool",
"SCT_ReadoutTool",
"Handle to the SCT_ReadoutTool"};
53 StringArrayProperty
m_chipConfigs{
this,
"ChipConfigurationList", {},
"The configuration of the chips in that module (from job options)"};
54 IntegerProperty
m_moduleId{
this,
"ModuleId", 168497152,
"The Module identifier (from job options)"};
55 BooleanProperty
m_link0ok{
this,
"Link0Status",
true,
"Status of link 0 (from job options)"};
56 BooleanProperty
m_link1ok{
this,
"Link1Status",
true,
"Status of link 1 (from job options)"};
Header file storing infomration on the SCT chips: id, config, mask.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Class which stores infomration on the SCT chips: id, config, mask.
BooleanProperty m_link1ok
SCT_Chip initialiseChip(short id, std::string configString)
Initialise a chip given its id and configuration string.
virtual StatusCode finalize() override
short bin2dec(const char *bin)
Function to convert the configuration string into an int.
virtual ~SCT_ReadoutTestAlg()=default
ToolHandle< ISCT_ReadoutTool > m_readout
List of chips for that module.
BooleanProperty m_link0ok
std::vector< SCT_Chip > m_chips
virtual StatusCode initialize() override
Usual framework methods for an Algorithm.
virtual StatusCode execute() override
SCT_ReadoutTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
IntegerProperty m_moduleId
StringArrayProperty m_chipConfigs