ATLAS Offline Software
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 
6 #include "GaudiKernel/IMessageSvc.h"
7 
9 
10 #include "GaudiKernel/Bootstrap.h"
11 #include "GaudiKernel/ISvcLocator.h"
12 #include "GaudiKernel/IToolSvc.h"
13 
15 #include <iostream>
16 using namespace std ;
17 
18 // const float LArPhysCaliTdiffComplete::empty = ERRORCODE ;
20 {
21 }
22 
24 
25 /* Fill transient object in ATHENA *****************************************
26  */
27 void LArPhysCaliTdiffComplete::set(const HWIdentifier& CellID, int gain,
28  float tdiff ) {
29 
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