ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
LArH6OscillationComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArH6OscillationComplete.h
"
6
#include "GaudiKernel/IMessageSvc.h"
7
8
#include "
LArIdentifier/LArOnlineID.h
"
9
10
#include "GaudiKernel/Bootstrap.h"
11
#include "GaudiKernel/ISvcLocator.h"
12
#include "GaudiKernel/IToolSvc.h"
13
14
#include "
AthenaKernel/getMessageSvc.h
"
15
#include <iostream>
16
using namespace
std
;
17
18
LArH6OscillationComplete::LArH6OscillationComplete
() {}
19
20
LArH6OscillationComplete::~LArH6OscillationComplete
() {}
21
22
/* Fill transient object in ATHENA *****************************************
23
*/
24
void
LArH6OscillationComplete::set
(
const
HWIdentifier
& CellID,
25
double
channelPhase
,
double
channelAmplitude
) {
26
27
LArH6OscillationP
t ;
28
t.m_channelPhase =
channelPhase
;
29
t.m_channelAmplitude =
channelAmplitude
;
30
31
setPdata
(CellID,t);
32
}
33
34
/* retrieve channel phases and channel amplitudes*****************************
35
*/
36
const
double
&
LArH6OscillationComplete::channelPhase
(
const
HWIdentifier
& CellID)
const
37
{
38
39
const
LArH6OscillationP
& t =
get
(CellID);
40
41
return
t.m_channelPhase;
42
}
43
44
const
double
&
LArH6OscillationComplete::channelAmplitude
(
const
HWIdentifier
& CellID)
const
45
{
46
47
const
LArH6OscillationP
& t =
get
(CellID);
48
49
return
t.m_channelAmplitude;
50
}
LArH6OscillationComplete.h
LArOnlineID.h
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArH6OscillationP >::setPdata
void setPdata(const HWIdentifier id, const LArH6OscillationP &payload, unsigned int gain=0)
LArConditionsContainer< LArH6OscillationP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArH6OscillationComplete::channelPhase
virtual const double & channelPhase(const HWIdentifier &CellID) const
Definition
LArH6OscillationComplete.cxx:36
LArH6OscillationComplete::~LArH6OscillationComplete
virtual ~LArH6OscillationComplete()
Definition
LArH6OscillationComplete.cxx:20
LArH6OscillationComplete::LArH6OscillationComplete
LArH6OscillationComplete()
Definition
LArH6OscillationComplete.cxx:18
LArH6OscillationComplete::set
void set(const HWIdentifier &CellID, double channelPhase, double channelAmplitude)
Definition
LArH6OscillationComplete.cxx:24
LArH6OscillationComplete::channelAmplitude
virtual const double & channelAmplitude(const HWIdentifier &CellID) const
access to channel amplitude index by Identifier
Definition
LArH6OscillationComplete.cxx:44
LArH6OscillationP
c-struct reproducing the structure of the persistent data
Definition
LArH6OscillationP.h:16
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0