ATLAS Offline Software
Loading...
Searching...
No Matches
LArfSamplComplete.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
10
11/* Fill transient object in ATHENA *****************************************
12 */
13void LArfSamplComplete::set(const HWIdentifier& CellID, float fSampl ) {
14 LArfSamplP t;
15 t.m_fSampl = fSampl;
16 setPdata(CellID,t) ;
17}
18
19// retrieve fSampl ***************************************************
20const float& LArfSamplComplete::FSAMPL(const HWIdentifier& CellID) const {
21 const LArfSamplP& t = get(CellID) ;
22 return ( t.m_fSampl );
23
24}
25
26const float& LArfSamplComplete::FSAMPL(const Identifier&) const {
27 //Not implemented (on purpose) for the *Complete-class.
28 //Only implemeneted in the LArfSamplSym class
29 std::abort();
30}
31
32
33
void setPdata(const HWIdentifier id, const LArfSamplP &payload, unsigned int gain=0)
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
virtual const float & FSAMPL(const HWIdentifier &CellID) const override
void set(const HWIdentifier &CellID, float vfSampl)
c-struct reproducing the structure of the persistent data
Definition LArfSamplP.h:20