ATLAS Offline Software
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 
27 class 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
ReadOfcFromCool.phase
phase
Definition: ReadOfcFromCool.py:127
checkCoolLatestUpdate.dg
dg
Definition: checkCoolLatestUpdate.py:9
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
TileCalibData.h
TileCondToolOfcCool::m_calibOfcKey
SG::ReadCondHandleKey< TileCalibData< TileCalibDrawerOfc > > m_calibOfcKey
Definition: TileCondToolOfcCool.h:55
StateLessPT_NewConfig.NSamples
int NSamples
Definition: StateLessPT_NewConfig.py:94
TileCondToolOfcCool::initialize
virtual StatusCode initialize() override
Definition: TileCondToolOfcCool.cxx:29
ITileCondToolOfc.h
TileCondToolOfcCool::finalize
virtual StatusCode finalize() override
Definition: TileCondToolOfcCool.cxx:39
TileCondToolOfcCool::TileCondToolOfcCool
TileCondToolOfcCool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileCondToolOfcCool.cxx:15
TileCondToolOfcCool::getOfcParams
void getOfcParams(unsigned int drawerIdx, int &NPhases, int &NFields, int &Phamin, int &Phamax, int &NSamples, const EventContext &ctx)
Definition: TileCondToolOfcCool.cxx:90
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
AthAlgTool.h
TileOfcWeightsStruct
Definition: ITileCondToolOfc.h:13
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ReadCondHandleKey.h
TileCondToolOfcCool::~TileCondToolOfcCool
virtual ~TileCondToolOfcCool()
Definition: TileCondToolOfcCool.cxx:23
TileCondToolOfcCool
extracts OFCs from database
Definition: TileCondToolOfcCool.h:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
weights
Definition: herwig7_interface.h:44
TileCondToolOfcCool::getOfcWeights
virtual StatusCode getOfcWeights(unsigned int drawerIdx, unsigned int channel, unsigned int adc, float &phase, bool of2, TileOfcWeightsStruct &weights, const EventContext &ctx) const override
Definition: TileCondToolOfcCool.cxx:48
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
a
TList * a
Definition: liststreamerinfos.cxx:10
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LB_AnalMapSplitter.of2
of2
Definition: LB_AnalMapSplitter.py:50
python.compressB64.c
def c
Definition: compressB64.py:93