ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecUtils
LArRecUtils
LArShapePeakRecoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARCALIBUTILS_LARSHAPEPEAKRECOTOOL_H
6
#define LARCALIBUTILS_LARSHAPEPEAKRECOTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
static
const
InterfaceID
IID_LArShapePeakRecoTool
(
"LArShapePeakRecoTool"
, 1 , 0);
11
12
class
LArShapePeakRecoTool
:
public
AthAlgTool
13
14
{
15
public
:
16
17
// constructor
18
LArShapePeakRecoTool
(
const
std::string&
type
,
19
const
std::string& name,
20
const
IInterface* parent);
21
22
// destructor
23
virtual
~LArShapePeakRecoTool
() {};
24
25
// Retrieve interface ID
26
static
const
InterfaceID&
interfaceID
() {
return
IID_LArShapePeakRecoTool
; }
27
28
29
std::vector<float>
peak
(
const
std::vector<float>& samples,
const
std::vector<double>& wave )
const
;
30
void
GetShapeParMax
(
float
&
xmax
,
float
&
ymax
,
float
x1,
float
y1,
float
x2,
float
y2,
float
x3,
float
y3)
const
;
31
void
GetShapeSampleLimits
(
int
&s1,
int
&s2,
float
sample_max,
float
delay_max,
int
nbin,
int
nsample)
const
;
32
33
// initialize and finalize methods
34
virtual
StatusCode
initialize
();
35
virtual
StatusCode
finalize
();
36
37
float
ParabolaRawToTrueTime
(
float
& QT_fittime,
int
& layer)
const
;
38
float
ParabolaRawToTrueADC
(
float
& QT_true_time,
float
& ADCref,
float
& PEDref,
int
& layer)
const
;
39
};
40
41
42
#endif
AthAlgTool.h
IID_LArShapePeakRecoTool
static const InterfaceID IID_LArShapePeakRecoTool("LArShapePeakRecoTool", 1, 0)
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
LArShapePeakRecoTool::LArShapePeakRecoTool
LArShapePeakRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
LArShapePeakRecoTool.cxx:18
LArShapePeakRecoTool::finalize
virtual StatusCode finalize()
Definition
LArShapePeakRecoTool.cxx:28
LArShapePeakRecoTool::GetShapeSampleLimits
void GetShapeSampleLimits(int &s1, int &s2, float sample_max, float delay_max, int nbin, int nsample) const
Definition
LArShapePeakRecoTool.cxx:172
LArShapePeakRecoTool::ParabolaRawToTrueTime
float ParabolaRawToTrueTime(float &QT_fittime, int &layer) const
LArShapePeakRecoTool::interfaceID
static const InterfaceID & interfaceID()
Definition
LArShapePeakRecoTool.h:26
LArShapePeakRecoTool::initialize
virtual StatusCode initialize()
Definition
LArShapePeakRecoTool.cxx:23
LArShapePeakRecoTool::~LArShapePeakRecoTool
virtual ~LArShapePeakRecoTool()
Definition
LArShapePeakRecoTool.h:23
LArShapePeakRecoTool::GetShapeParMax
void GetShapeParMax(float &xmax, float &ymax, float x1, float y1, float x2, float y2, float x3, float y3) const
Definition
LArShapePeakRecoTool.cxx:147
LArShapePeakRecoTool::ParabolaRawToTrueADC
float ParabolaRawToTrueADC(float &QT_true_time, float &ADCref, float &PEDref, int &layer) const
LArShapePeakRecoTool::peak
std::vector< float > peak(const std::vector< float > &samples, const std::vector< double > &wave) const
Definition
LArShapePeakRecoTool.cxx:32
xmax
double xmax
Definition
listroot.cxx:61
ymax
double ymax
Definition
listroot.cxx:64
type
Generated on
for ATLAS Offline Software by
1.17.0