ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
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
5
#include "
LArRawConditions/LArfSamplComplete.h
"
6
7
8
LArfSamplComplete::LArfSamplComplete
() {}
9
LArfSamplComplete::~LArfSamplComplete
() {}
10
11
/* Fill transient object in ATHENA *****************************************
12
*/
13
void
LArfSamplComplete::set
(
const
HWIdentifier
& CellID,
float
fSampl ) {
14
LArfSamplP
t;
15
t.m_fSampl = fSampl;
16
setPdata
(CellID,t) ;
17
}
18
19
// retrieve fSampl ***************************************************
20
const
float
&
LArfSamplComplete::FSAMPL
(
const
HWIdentifier
& CellID)
const
{
21
const
LArfSamplP
& t =
get
(CellID) ;
22
return
( t.m_fSampl );
23
24
}
25
26
const
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
LArfSamplComplete.h
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArfSamplP >::setPdata
void setPdata(const HWIdentifier id, const LArfSamplP &payload, unsigned int gain=0)
LArConditionsContainer< LArfSamplP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArfSamplComplete::FSAMPL
virtual const float & FSAMPL(const HWIdentifier &CellID) const override
Definition
LArfSamplComplete.cxx:20
LArfSamplComplete::LArfSamplComplete
LArfSamplComplete()
Definition
LArfSamplComplete.cxx:8
LArfSamplComplete::set
void set(const HWIdentifier &CellID, float vfSampl)
Definition
LArfSamplComplete.cxx:13
LArfSamplComplete::~LArfSamplComplete
virtual ~LArfSamplComplete()
Definition
LArfSamplComplete.cxx:9
LArfSamplP
c-struct reproducing the structure of the persistent data
Definition
LArfSamplP.h:20
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0