ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
9
10/*
11 * Fill transient object in ATHENA
12 */
13
15 float baseline, float maxAmp,
16 float tmaxAmp, float width,
17 float rT0, float posLobe,
18 float jitter, unsigned flag)
19{
20
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
39const float& LArWaveDerivedQuantitiesComplete::BaseLine(const HWIdentifier& CellID, int gain) const
40{
41 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
42 return (t.m_baseline);
43}
44
45const float& LArWaveDerivedQuantitiesComplete::MaxAmp(const HWIdentifier& CellID, int gain) const
46{
47 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
48 return (t.m_maxAmp);
49}
50
51const float& LArWaveDerivedQuantitiesComplete::TMaxAmp(const HWIdentifier& CellID, int gain) const
52{
53 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
54 return (t.m_tmaxAmp);
55}
56
57const float& LArWaveDerivedQuantitiesComplete::Width(const HWIdentifier& CellID, int gain) const
58{
59 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
60 return (t.m_width);
61}
62
63const float& LArWaveDerivedQuantitiesComplete::rT0(const HWIdentifier& CellID, int gain) const
64{
65 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
66 return (t.m_rT0);
67}
68
69const float& LArWaveDerivedQuantitiesComplete::PosLobe(const HWIdentifier& CellID, int gain) const
70{
71 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
72 return (t.m_posLobe);
73}
74
75const 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
82const unsigned& LArWaveDerivedQuantitiesComplete::Flag(const HWIdentifier& CellID, int gain) const
83{
84 const LArWaveDerivedQuantitiesP& t = get(CellID,gain) ;
85 return (t.m_flag);
86}
@ baseline
const double width
void setPdata(const HWIdentifier id, const LArWaveDerivedQuantitiesP &payload, unsigned int gain=0)
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
virtual const float & Width(const HWIdentifier &CellID, int gain) const
virtual const float & TMaxAmp(const HWIdentifier &CellID, int gain) const
virtual const float & PosLobe(const HWIdentifier &CellID, int gain) const
virtual const float & BaseLine(const HWIdentifier &CellID, int gain) const
virtual const float & Jitter(const HWIdentifier &CellID, int gain) const
virtual const float & MaxAmp(const HWIdentifier &CellID, int gain) const
virtual const unsigned & Flag(const HWIdentifier &CellID, int gain) const
void set(const HWIdentifier &CellID, int gain, float baseline, float maxAmp, float tmaxAmp, float width, float rT0, float posLobe, float jitter, unsigned flag)
virtual const float & rT0(const HWIdentifier &CellID, int gain) const