ATLAS Offline Software
Loading...
Searching...
No Matches
ITileCondToolOfc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TILECONDITIONS_ITILECONDTOOLOFC_H
6#define TILECONDITIONS_ITILECONDTOOLOFC_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include "GaudiKernel/EventContext.h"
10
11
12//--------------------------------------------------------------
13typedef struct { // OFC weights
14 float w_a[99], w_b[99], w_c[99], g[99], dg[99]; // <--- only for one gain
16 bool of2;
18//--------------------------------------------------------------
19
20
21class ITileCondToolOfc : public virtual IAlgTool {
22public:
24
25 virtual ~ITileCondToolOfc() {}
26
27 virtual StatusCode getOfcWeights(unsigned int drawerIdx,
28 unsigned int channel,
29 unsigned int adc,
30 float& phase,
31 bool of2,
33 const EventContext& ctx) const = 0;
34};
35
36#endif
virtual ~ITileCondToolOfc()
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const =0
DeclareInterfaceID(ITileCondToolOfc, 1, 0)