ATLAS Offline Software
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
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
LArPhysCaliTdiffComplete::Tdiff
virtual const float & Tdiff(const HWIdentifier &CellID, int gain) const
Definition:
LArPhysCaliTdiffComplete.cxx:38
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
LArPhysCaliTdiffP
Definition:
LArPhysCaliTdiffP.h:11
LArPhysCaliTdiffComplete::LArPhysCaliTdiffComplete
LArPhysCaliTdiffComplete()
Definition:
LArPhysCaliTdiffComplete.cxx:19
LArPhysCaliTdiffComplete::~LArPhysCaliTdiffComplete
virtual ~LArPhysCaliTdiffComplete()
Definition:
LArPhysCaliTdiffComplete.cxx:23
get
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition:
hcg.cxx:127
LArPhysCaliTdiffComplete.h
LArPhysCaliTdiffComplete::set
void set(const HWIdentifier &CellID, int gain, float tdiff)
Definition:
LArPhysCaliTdiffComplete.cxx:27
LArOnlineID.h
Generated on Thu Nov 7 2024 21:19:51 for ATLAS Offline Software by
1.8.18