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