ATLAS Offline Software
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 //--------------------------------------------------------------
13 typedef struct { // OFC weights
14  float w_a[99], w_b[99], w_c[99], g[99], dg[99]; // <--- only for one gain
15  int n_samples;
16  bool of2;
18 //--------------------------------------------------------------
19 
20 
21 class ITileCondToolOfc : public virtual IAlgTool {
22 public:
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,
32  TileOfcWeightsStruct& weights,
33  const EventContext& ctx) const = 0;
34 };
35 
36 #endif
ReadOfcFromCool.phase
phase
Definition: ReadOfcFromCool.py:127
checkCoolLatestUpdate.dg
dg
Definition: checkCoolLatestUpdate.py:9
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:28
ITileCondToolOfc::DeclareInterfaceID
DeclareInterfaceID(ITileCondToolOfc, 1, 0)
TileOfcWeightsStruct::of2
bool of2
Definition: ITileCondToolOfc.h:16
TileOfcWeightsStruct::n_samples
int n_samples
Definition: ITileCondToolOfc.h:15
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileOfcWeightsStruct
Definition: ITileCondToolOfc.h:13
ITileCondToolOfc::~ITileCondToolOfc
virtual ~ITileCondToolOfc()
Definition: ITileCondToolOfc.h:25
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
ITileCondToolOfc::getOfcWeights
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const =0
LB_AnalMapSplitter.of2
of2
Definition: LB_AnalMapSplitter.py:50
ITileCondToolOfc
Definition: ITileCondToolOfc.h:21