ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArEMEC_CphiComplete.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_CphiComplete.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_CphiComplete::LArEMEC_CphiComplete
() {}
19
20
LArEMEC_CphiComplete::~LArEMEC_CphiComplete
() {}
21
22
/* Fill transient object in ATHENA *****************************************
23
*/
24
void
LArEMEC_CphiComplete::set
(
const
HWIdentifier& CellID,
float
EMEC_Cphi ) {
25
26
LArEMEC_CphiP
t
;
27
t
.m_EMEC_Cphi = EMEC_Cphi ;
28
29
setPdata(CellID,
t
);
30
31
}
32
33
34
/* retrieve EMEC_Cphi ******************************************************
35
*/
36
const
float
&
LArEMEC_CphiComplete::EMEC_Cphi
(
const
HWIdentifier& CellID)
const
37
{
38
const
LArEMEC_CphiP
&
t
=
get
( CellID);
39
40
return
(
t
.m_EMEC_Cphi);
41
}
42
LArEMEC_CphiComplete::~LArEMEC_CphiComplete
virtual ~LArEMEC_CphiComplete()
Definition:
LArEMEC_CphiComplete.cxx:20
LArEMEC_CphiComplete::LArEMEC_CphiComplete
LArEMEC_CphiComplete()
Definition:
LArEMEC_CphiComplete.cxx:18
LArEMEC_CphiP
c-struct reproducing the structure of the persistent data
Definition:
LArEMEC_CphiP.h:20
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
LArEMEC_CphiComplete::set
void set(const HWIdentifier &CellID, float vEMEC_Cphi)
Definition:
LArEMEC_CphiComplete.cxx:24
LArEMEC_CphiComplete.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_CphiComplete::EMEC_Cphi
virtual const float & EMEC_Cphi(const HWIdentifier &CellID) const
Definition:
LArEMEC_CphiComplete.cxx:36
LArOnlineID.h
Generated on Thu Nov 7 2024 21:19:34 for ATLAS Offline Software by
1.8.18