ATLAS Offline Software
LArTdriftComplete.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
9 
11 
12 /* Fill transient object in ATHENA *****************************************
13  */
14 void LArTdriftComplete::set(const HWIdentifier& CellID, float tdrift ) {
15 
16  LArTdriftP t;
17  t.m_Tdrift = tdrift ;
18 
19  setPdata(CellID,t);
20 
21 }
22 
23 
24 /* retrieve Tdrift ******************************************************
25  */
26 const float& LArTdriftComplete::Tdrift(const HWIdentifier& CellID) const
27 {
28  const LArTdriftP& t = get(CellID);
29  return (t.m_Tdrift);
30 }
LArConditionsContainer< LArTdriftP >::setPdata
void setPdata(const HWIdentifier id, const LArTdriftP &payload, unsigned int gain=0)
put payload in persistent data
LArTdriftComplete::LArTdriftComplete
LArTdriftComplete()
Definition: LArTdriftComplete.cxx:8
LArTdriftP
Definition: LArTdriftP.h:11
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
HWIdentifier
Definition: HWIdentifier.h:13
LArTdriftComplete::set
void set(const HWIdentifier &CellID, float tdrift)
Definition: LArTdriftComplete.cxx:14
LArConditionsContainer< LArTdriftP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArTdriftComplete::~LArTdriftComplete
virtual ~LArTdriftComplete()
Definition: LArTdriftComplete.cxx:10
LArTdriftComplete::Tdrift
virtual const float & Tdrift(const HWIdentifier &CellID) const
Definition: LArTdriftComplete.cxx:26
LArTdriftComplete.h