ATLAS Offline Software
Loading...
Searching...
No Matches
TileCalorimeter
TileConditions
TileConditions
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
;
17
}
TileOfcWeightsStruct
;
18
//--------------------------------------------------------------
19
20
21
class
ITileCondToolOfc
:
public
virtual
IAlgTool {
22
public
:
23
DeclareInterfaceID
(
ITileCondToolOfc
, 1, 0);
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
ITileCondToolOfc
Definition
ITileCondToolOfc.h:21
ITileCondToolOfc::~ITileCondToolOfc
virtual ~ITileCondToolOfc()
Definition
ITileCondToolOfc.h:25
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
ITileCondToolOfc::DeclareInterfaceID
DeclareInterfaceID(ITileCondToolOfc, 1, 0)
TileOfcWeightsStruct
Definition
ITileCondToolOfc.h:13
TileOfcWeightsStruct::n_samples
int n_samples
Definition
ITileCondToolOfc.h:15
TileOfcWeightsStruct::w_a
float w_a[99]
Definition
ITileCondToolOfc.h:14
TileOfcWeightsStruct::dg
float dg[99]
Definition
ITileCondToolOfc.h:14
TileOfcWeightsStruct::w_c
float w_c[99]
Definition
ITileCondToolOfc.h:14
TileOfcWeightsStruct::w_b
float w_b[99]
Definition
ITileCondToolOfc.h:14
TileOfcWeightsStruct::g
float g[99]
Definition
ITileCondToolOfc.h:14
TileOfcWeightsStruct::of2
bool of2
Definition
ITileCondToolOfc.h:16
weights
Definition
herwig7_interface.h:38
Generated on
for ATLAS Offline Software by
1.14.0