ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
LArEMEC_HVbetaComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArEMEC_HVbetaComplete.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
15
#include <iostream>
16
using namespace
std
;
17
18
LArEMEC_HVbetaComplete::LArEMEC_HVbetaComplete
() {}
19
20
LArEMEC_HVbetaComplete::~LArEMEC_HVbetaComplete
() {}
21
22
/* Fill transient object in ATHENA *****************************************
23
*/
24
void
LArEMEC_HVbetaComplete::set
(
const
HWIdentifier
& CellID,
float
EMEC_HVbeta
) {
25
26
LArEMEC_HVbetaP
t;
27
t.m_EMEC_HVbeta =
EMEC_HVbeta
;
28
29
setPdata
(CellID, t);
30
31
}
32
33
/* retrieve EMEC_HVbeta ******************************************************
34
*/
35
const
float
&
LArEMEC_HVbetaComplete::EMEC_HVbeta
(
const
HWIdentifier
& CellID)
const
36
{
37
const
LArEMEC_HVbetaP
& t =
get
( CellID);
38
39
return
(t.m_EMEC_HVbeta);
40
}
41
42
43
44
LArEMEC_HVbetaComplete.h
LArOnlineID.h
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArEMEC_HVbetaP >::setPdata
void setPdata(const HWIdentifier id, const LArEMEC_HVbetaP &payload, unsigned int gain=0)
LArConditionsContainer< LArEMEC_HVbetaP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArEMEC_HVbetaComplete::~LArEMEC_HVbetaComplete
virtual ~LArEMEC_HVbetaComplete()
Definition
LArEMEC_HVbetaComplete.cxx:20
LArEMEC_HVbetaComplete::EMEC_HVbeta
virtual const float & EMEC_HVbeta(const HWIdentifier &CellID) const
Definition
LArEMEC_HVbetaComplete.cxx:35
LArEMEC_HVbetaComplete::set
void set(const HWIdentifier &CellID, float vEMEC_HVbeta)
Definition
LArEMEC_HVbetaComplete.cxx:24
LArEMEC_HVbetaComplete::LArEMEC_HVbetaComplete
LArEMEC_HVbetaComplete()
Definition
LArEMEC_HVbetaComplete.cxx:18
LArEMEC_HVbetaP
c-struct reproducing the structure of the persistent data
Definition
LArEMEC_HVbetaP.h:20
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0