ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArEMEC_HValphaComplete.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_HValphaComplete.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_HValphaComplete::LArEMEC_HValphaComplete
() {}
19
20
LArEMEC_HValphaComplete::~LArEMEC_HValphaComplete
() {}
21
22
/* Fill transient object in ATHENA *****************************************
23
*/
24
void
LArEMEC_HValphaComplete::set
(
const
HWIdentifier& CellID,
float
EMEC_HValpha ) {
25
26
LArEMEC_HValphaP
t
;
27
t
.m_EMEC_HValpha = EMEC_HValpha ;
28
29
setPdata(CellID,
t
);
30
31
}
32
33
/* retrieve EMEC_HValpha ******************************************************
34
*/
35
const
float
&
LArEMEC_HValphaComplete::EMEC_HValpha
(
const
HWIdentifier& CellID)
const
36
{
37
const
LArEMEC_HValphaP
&
t
=
get
( CellID);
38
39
return
(
t
.m_EMEC_HValpha);
40
}
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
LArEMEC_HValphaComplete::EMEC_HValpha
virtual const float & EMEC_HValpha(const HWIdentifier &CellID) const
Definition:
LArEMEC_HValphaComplete.cxx:35
LArEMEC_HValphaComplete::set
void set(const HWIdentifier &CellID, float vEMEC_HValpha)
Definition:
LArEMEC_HValphaComplete.cxx:24
LArEMEC_HValphaComplete::LArEMEC_HValphaComplete
LArEMEC_HValphaComplete()
Definition:
LArEMEC_HValphaComplete.cxx:18
LArEMEC_HValphaP
c-struct reproducing the structure of the persistent data
Definition:
LArEMEC_HValphaP.h:20
LArEMEC_HValphaComplete.h
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition:
hcg.cxx:127
LArEMEC_HValphaComplete::~LArEMEC_HValphaComplete
virtual ~LArEMEC_HValphaComplete()
Definition:
LArEMEC_HValphaComplete.cxx:20
LArOnlineID.h
Generated on Sun Dec 22 2024 21:13:26 for ATLAS Offline Software by
1.8.18