ATLAS Offline Software
ITileCondToolTMDB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILECONDITIONS_ITILECONDTOOLTMDB_H
6 #define TILECONDITIONS_ITILECONDTOOLTMDB_H
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
10 #include <array>
11 
12 
13 namespace TMDB {
14  using Weights = std::array<float, 7>;
15 }
16 
17 
18 class ITileCondToolTMDB: virtual public IAlgTool {
19 
20  public:
21 
22  virtual ~ITileCondToolTMDB() {};
23 
24  static const InterfaceID& interfaceID() {
25  static const InterfaceID IID_TileCondToolTMDB("ITileCondToolTMDB", 1, 0);
26  return IID_TileCondToolTMDB;
27  };
28 
29  virtual float getThreshold(unsigned int drawerIdx, unsigned int threshold) const = 0;
30  virtual float getDelay(unsigned int drawerIdx, unsigned int channel) const = 0;
31 
32  virtual void getCalib(unsigned int drawerIdx, unsigned int channel, float& a, float& b) const = 0;
33  virtual unsigned int getWeights(unsigned int drawerIdx, unsigned int channel, TMDB::Weights& weights) const = 0;
34 
35  virtual float channelCalib(unsigned int drawerIdx, unsigned int channel, const std::vector<float>& samples) const = 0;
36  virtual float channelCalib(unsigned int drawerIdx, unsigned int channel, float amplitude) const = 0;
37 
38 };
39 
40 #endif
TMDB::Weights
std::array< float, 7 > Weights
Definition: ITileCondToolTMDB.h:14
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
ITileCondToolTMDB::getDelay
virtual float getDelay(unsigned int drawerIdx, unsigned int channel) const =0
ITileCondToolTMDB::interfaceID
static const InterfaceID & interfaceID()
Definition: ITileCondToolTMDB.h:24
TMDB
Definition: ITileCondToolTMDB.h:13
ITileCondToolTMDB::~ITileCondToolTMDB
virtual ~ITileCondToolTMDB()
Definition: ITileCondToolTMDB.h:22
ITileCondToolTMDB::channelCalib
virtual float channelCalib(unsigned int drawerIdx, unsigned int channel, const std::vector< float > &samples) const =0
ITileCondToolTMDB::getWeights
virtual unsigned int getWeights(unsigned int drawerIdx, unsigned int channel, TMDB::Weights &weights) const =0
ITileCondToolTMDB::channelCalib
virtual float channelCalib(unsigned int drawerIdx, unsigned int channel, float amplitude) const =0
ITileCondToolTMDB
Definition: ITileCondToolTMDB.h:18
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
threshold
Definition: chainparser.cxx:74
ITileCondToolTMDB::getCalib
virtual void getCalib(unsigned int drawerIdx, unsigned int channel, float &a, float &b) const =0
weights
Definition: herwig7_interface.h:44
a
TList * a
Definition: liststreamerinfos.cxx:10
ITileCondToolTMDB::getThreshold
virtual float getThreshold(unsigned int drawerIdx, unsigned int threshold) const =0