ATLAS Offline Software
Loading...
Searching...
No Matches
TileCondToolOfcCool.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_TILECONDTOOLOFCCOOL_H
6#define TILECONDITIONS_TILECONDTOOLOFCCOOL_H
7
8// Tile includes
11
12// Athena includes
15
16
17
18#include <vector>
19
20#define PHASE_STEP 0.1
21
27class TileCondToolOfcCool: public extends<AthAlgTool, ITileCondToolOfc>
28{
29 public:
30
31 TileCondToolOfcCool(const std::string& type, const std::string& name, const IInterface* parent);
32 virtual ~TileCondToolOfcCool();
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode finalize() override;
36
37 virtual StatusCode getOfcWeights(unsigned int drawerIdx,
38 unsigned int channel,
39 unsigned int adc,
40 float& phase,
41 bool of2,
43 const EventContext& ctx) const override;
44
45 int getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float& phase,
46 float *a, float *b, float *c, float *g, float *dg,
47 const EventContext& ctx);
48
49 void getOfcParams(unsigned int drawerIdx, int &NPhases, int &NFields, int &Phamin, int &Phamax, int &NSamples,
50 const EventContext& ctx);
51
52
53 private:
54
56 "TileOfc", "TileOfc", "Input Tile OFC constants"};
57};
58
59#endif
static Double_t a
virtual StatusCode initialize() override
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const override
SG::ReadCondHandleKey< TileCalibData< TileCalibDrawerOfc > > m_calibOfcKey
void getOfcParams(unsigned int drawerIdx, int &NPhases, int &NFields, int &Phamin, int &Phamax, int &NSamples, const EventContext &ctx)
TileCondToolOfcCool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode finalize() override