ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
LArPhysCaliTdiffComplete.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/LArPhysCaliTdiffComplete.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
// const float LArPhysCaliTdiffComplete::empty = ERRORCODE ;
19
LArPhysCaliTdiffComplete::LArPhysCaliTdiffComplete()
20
{
21
}
22
23
LArPhysCaliTdiffComplete::~LArPhysCaliTdiffComplete() {}
24
25
/* Fill transient object in ATHENA *****************************************
26
*/
27
void
LArPhysCaliTdiffComplete::set(
const
HWIdentifier
& CellID,
int
gain,
28
float
tdiff ) {
29
30
LArPhysCaliTdiffP
t
;
31
t
.m_Tdiff = tdiff ;
32
33
setPdata(CellID,t,gain) ;
34
}
35
36
/* retrieve PhysCaliTdiff ******************************************************
37
*/
38
const
float
& LArPhysCaliTdiffComplete::Tdiff(
const
HWIdentifier
& CellID,
int
gain)
const
39
{
40
41
const
LArPhysCaliTdiffP
&
t
=
get
(CellID,gain);
42
43
return
t
.m_Tdiff;
44
}
45
46
47
48
LArOnlineID.h
LArPhysCaliTdiffComplete.h
HWIdentifier
Definition
HWIdentifier.h:13
LArPhysCaliTdiffP
Definition
LArPhysCaliTdiffP.h:11
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition
hcg.cxx:132
read_hist_ntuple.t
t
Definition
read_hist_ntuple.py:8
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0