ATLAS Offline Software
ISCT_SensorsTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef ISCT_SensorsTool_h
12 #define ISCT_SensorsTool_h
13 
14 //STL includes
15 #include <list>
16 #include <string>
17 #include <vector>
18 
19 //Gaudi Includes
20 #include "GaudiKernel/EventContext.h"
21 #include "GaudiKernel/IAlgTool.h"
22 
23 //fwd declarations
24 
25 class SCT_SensorCondData;
26 
31 class ISCT_SensorsTool: virtual public IAlgTool {
32  public:
33  virtual ~ISCT_SensorsTool() = default;
34 
37 
39  virtual void getSensorsData(std::vector<std::string>& userVector, const EventContext& ctx) const =0;
40  virtual void getSensorsData(std::vector<std::string>& userVector) const =0;
41  virtual const SCT_SensorCondData* getSensorsData(const unsigned int truncatedSerialNumber, const EventContext& ctx) const =0;
42  virtual const SCT_SensorCondData* getSensorsData(const unsigned int truncatedSerialNumber) const =0;
43  virtual std::string getManufacturer(unsigned int truncatedSerialNumber, const EventContext& ctx) const =0;
44  virtual std::string getManufacturer(unsigned int truncatedSerialNumber) const =0;
45  virtual void printManufacturers(const EventContext& ctx) const =0;
46  virtual void printManufacturers() const =0;
47 };
48 
49 #endif // ISCT_SensorsTool_h
ISCT_SensorsTool::printManufacturers
virtual void printManufacturers(const EventContext &ctx) const =0
ISCT_SensorsTool::getManufacturer
virtual std::string getManufacturer(unsigned int truncatedSerialNumber) const =0
ISCT_SensorsTool::printManufacturers
virtual void printManufacturers() const =0
ISCT_SensorsTool::~ISCT_SensorsTool
virtual ~ISCT_SensorsTool()=default
ISCT_SensorsTool::DeclareInterfaceID
DeclareInterfaceID(ISCT_SensorsTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISCT_SensorsTool
Definition: ISCT_SensorsTool.h:31
ISCT_SensorsTool::getSensorsData
virtual const SCT_SensorCondData * getSensorsData(const unsigned int truncatedSerialNumber, const EventContext &ctx) const =0
ISCT_SensorsTool::getSensorsData
virtual void getSensorsData(std::vector< std::string > &userVector, const EventContext &ctx) const =0
Fill vector with sensors info.
ISCT_SensorsTool::getManufacturer
virtual std::string getManufacturer(unsigned int truncatedSerialNumber, const EventContext &ctx) const =0
ISCT_SensorsTool::getSensorsData
virtual void getSensorsData(std::vector< std::string > &userVector) const =0
SCT_SensorCondData
Class for data object used in SCT_SensorsCondAlg and SCT_SensorsTool.
Definition: SCT_SensorCondData.h:25
ISCT_SensorsTool::getSensorsData
virtual const SCT_SensorCondData * getSensorsData(const unsigned int truncatedSerialNumber) const =0