ATLAS Offline Software
Loading...
Searching...
No Matches
TileCalorimeter
TileConditions
TileConditions
TileCondToolOfc.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_TILECONDTOOLOFC_H
6
#define TILECONDITIONS_TILECONDTOOLOFC_H
7
8
// Gaudi includes
9
#include "GaudiKernel/ToolHandle.h"
10
11
// Athena includes
12
#include "
AthenaBaseComps/AthAlgTool.h
"
13
14
// Tile includes
15
#include "
TileConditions/ITileCondToolOfc.h
"
16
#include "
TileConditions/TileInfo.h
"
17
#include "
TileConditions/TileCondToolAutoCr.h
"
18
#include "
TileConditions/TileCondToolPulseShape.h
"
19
20
#include "CLHEP/Matrix/Matrix.h"
21
#include <CLHEP/Matrix/Vector.h>
22
#include <map>
23
#include <vector>
24
#include <string>
25
#include <TMatrixD.h>
26
#include <iostream>
27
#include <iomanip>
28
#include <memory>
29
30
class
IdContext
;
31
40
class
TileCondToolOfc
:
public
extends<AthAlgTool, ITileCondToolOfc> {
41
42
public
:
43
44
TileCondToolOfc
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
45
virtual
~TileCondToolOfc
();
46
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
finalize
()
override
;
49
50
//===============================================================
51
//=== ITileCondTollOfc methods
52
//===============================================================
53
54
virtual
StatusCode
getOfcWeights
(
unsigned
int
drawerIdx,
55
unsigned
int
channel,
56
unsigned
int
adc,
57
float
& phase,
58
bool
of2,
59
TileOfcWeightsStruct
&
weights
,
60
const
EventContext& ctx)
const override
;
61
62
private
:
63
ToolHandle<TileCondToolPulseShape>
m_tileToolPulseShape
{
this
,
64
"TileCondToolPulseShape"
,
"TileCondToolPulseShape"
,
"Tile pulse shape tool"
};
65
66
ToolHandle<TileCondToolAutoCr>
m_tileToolAutoCr
{
this
,
67
"TileCondToolAutoCr"
,
"TileCondToolAutoCr"
,
"Tile auto correlation matrix tool"
};
68
69
const
TileInfo
*
m_tileInfo
;
70
71
//=== properties
72
int
m_nSamples
;
73
int
m_t0Sample
;
74
bool
m_deltaCorrelation
;
75
};
76
77
#endif
AthAlgTool.h
ITileCondToolOfc.h
TileCondToolAutoCr.h
TileCondToolPulseShape.h
TileInfo.h
IdContext
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
Definition
IdContext.h:26
TileCondToolOfc::initialize
virtual StatusCode initialize() override
Definition
TileCondToolOfc.cxx:36
TileCondToolOfc::~TileCondToolOfc
virtual ~TileCondToolOfc()
Definition
TileCondToolOfc.cxx:30
TileCondToolOfc::TileCondToolOfc
TileCondToolOfc(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TileCondToolOfc.cxx:16
TileCondToolOfc::m_deltaCorrelation
bool m_deltaCorrelation
Definition
TileCondToolOfc.h:74
TileCondToolOfc::m_nSamples
int m_nSamples
Definition
TileCondToolOfc.h:72
TileCondToolOfc::finalize
virtual StatusCode finalize() override
Definition
TileCondToolOfc.cxx:90
TileCondToolOfc::m_tileToolAutoCr
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
Definition
TileCondToolOfc.h:66
TileCondToolOfc::m_t0Sample
int m_t0Sample
Definition
TileCondToolOfc.h:73
TileCondToolOfc::m_tileToolPulseShape
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
Definition
TileCondToolOfc.h:63
TileCondToolOfc::m_tileInfo
const TileInfo * m_tileInfo
Definition
TileCondToolOfc.h:69
TileCondToolOfc::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
TileCondToolOfc.cxx:100
TileInfo
Definition
TileInfo.h:49
type
TileOfcWeightsStruct
Definition
ITileCondToolOfc.h:13
weights
Definition
herwig7_interface.h:38
Generated on
for ATLAS Offline Software by
1.14.0