ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
LArWaveDerivedQuantitiesComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArWaveDerivedQuantitiesComplete.h
"
6
7
LArWaveDerivedQuantitiesComplete::LArWaveDerivedQuantitiesComplete
() {}
8
LArWaveDerivedQuantitiesComplete::~LArWaveDerivedQuantitiesComplete
() {}
9
10
/*
11
* Fill transient object in ATHENA
12
*/
13
14
void
LArWaveDerivedQuantitiesComplete::set
(
const
HWIdentifier
& CellID,
int
gain,
15
float
baseline
,
float
maxAmp,
16
float
tmaxAmp,
float
width
,
17
float
rT0
,
float
posLobe,
18
float
jitter,
unsigned
flag)
19
{
20
21
LArWaveDerivedQuantitiesP
t ;
22
23
t.m_baseline =
baseline
;
24
t.m_maxAmp = maxAmp;
25
t.m_tmaxAmp = tmaxAmp;
26
t.m_width =
width
;
27
t.m_rT0 =
rT0
;
28
t.m_posLobe = posLobe;
29
t.m_jitter = jitter;
30
t.m_flag = flag;
31
32
setPdata
(CellID,t,gain) ;
33
}
34
35
/*
36
* retrieve Wave Derived Quantities
37
*/
38
39
const
float
&
LArWaveDerivedQuantitiesComplete::BaseLine
(
const
HWIdentifier
& CellID,
int
gain)
const
40
{
41
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
42
return
(t.m_baseline);
43
}
44
45
const
float
&
LArWaveDerivedQuantitiesComplete::MaxAmp
(
const
HWIdentifier
& CellID,
int
gain)
const
46
{
47
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
48
return
(t.m_maxAmp);
49
}
50
51
const
float
&
LArWaveDerivedQuantitiesComplete::TMaxAmp
(
const
HWIdentifier
& CellID,
int
gain)
const
52
{
53
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
54
return
(t.m_tmaxAmp);
55
}
56
57
const
float
&
LArWaveDerivedQuantitiesComplete::Width
(
const
HWIdentifier
& CellID,
int
gain)
const
58
{
59
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
60
return
(t.m_width);
61
}
62
63
const
float
&
LArWaveDerivedQuantitiesComplete::rT0
(
const
HWIdentifier
& CellID,
int
gain)
const
64
{
65
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
66
return
(t.m_rT0);
67
}
68
69
const
float
&
LArWaveDerivedQuantitiesComplete::PosLobe
(
const
HWIdentifier
& CellID,
int
gain)
const
70
{
71
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
72
return
(t.m_posLobe);
73
}
74
75
const
float
&
LArWaveDerivedQuantitiesComplete::Jitter
(
const
HWIdentifier
& CellID,
int
gain)
const
76
{
77
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
78
return
(t.m_jitter);
79
}
80
81
82
const
unsigned
&
LArWaveDerivedQuantitiesComplete::Flag
(
const
HWIdentifier
& CellID,
int
gain)
const
83
{
84
const
LArWaveDerivedQuantitiesP
& t =
get
(CellID,gain) ;
85
return
(t.m_flag);
86
}
LArWaveDerivedQuantitiesComplete.h
baseline
@ baseline
Definition
SUSYToolsTester.cxx:94
width
const double width
Definition
TTileTripReader.cxx:24
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArWaveDerivedQuantitiesP >::setPdata
void setPdata(const HWIdentifier id, const LArWaveDerivedQuantitiesP &payload, unsigned int gain=0)
LArConditionsContainer< LArWaveDerivedQuantitiesP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArWaveDerivedQuantitiesComplete::Width
virtual const float & Width(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:57
LArWaveDerivedQuantitiesComplete::TMaxAmp
virtual const float & TMaxAmp(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:51
LArWaveDerivedQuantitiesComplete::PosLobe
virtual const float & PosLobe(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:69
LArWaveDerivedQuantitiesComplete::BaseLine
virtual const float & BaseLine(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:39
LArWaveDerivedQuantitiesComplete::Jitter
virtual const float & Jitter(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:75
LArWaveDerivedQuantitiesComplete::MaxAmp
virtual const float & MaxAmp(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:45
LArWaveDerivedQuantitiesComplete::Flag
virtual const unsigned & Flag(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:82
LArWaveDerivedQuantitiesComplete::set
void set(const HWIdentifier &CellID, int gain, float baseline, float maxAmp, float tmaxAmp, float width, float rT0, float posLobe, float jitter, unsigned flag)
Definition
LArWaveDerivedQuantitiesComplete.cxx:14
LArWaveDerivedQuantitiesComplete::LArWaveDerivedQuantitiesComplete
LArWaveDerivedQuantitiesComplete()
Definition
LArWaveDerivedQuantitiesComplete.cxx:7
LArWaveDerivedQuantitiesComplete::rT0
virtual const float & rT0(const HWIdentifier &CellID, int gain) const
Definition
LArWaveDerivedQuantitiesComplete.cxx:63
LArWaveDerivedQuantitiesComplete::~LArWaveDerivedQuantitiesComplete
virtual ~LArWaveDerivedQuantitiesComplete()
Definition
LArWaveDerivedQuantitiesComplete.cxx:8
LArWaveDerivedQuantitiesP
Definition
LArWaveDerivedQuantitiesP.h:10
Generated on
for ATLAS Offline Software by
1.17.0