ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
LArPedestalComplete.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//Dear emacs, this is -*-c++-*-
6
7
#ifndef LARRAWCONDITIONS_LARPEDESTALCOMPLETE_H
8
#define LARRAWCONDITIONS_LARPEDESTALCOMPLETE_H
9
10
#include "
LArElecCalib/ILArPedestal.h
"
11
#include "
LArRawConditions/LArPedestalP1.h
"
12
#include "
LArRawConditions/LArConditionsContainer.h
"
13
14
23
24
class
LArPedestalComplete
:
public
ILArPedestal
,
25
public
LArConditionsContainer
<LArPedestalP1>
26
{
27
28
public
:
29
LArPedestalComplete
();
30
virtual
~LArPedestalComplete
( );
31
32
// retrieving Pedestal using online ID
33
34
virtual
float
pedestal
(
const
HWIdentifier
& CellID,
int
gain)
const override
{
35
return
this->
get
(CellID, gain).m_Pedestal;}
36
37
virtual
float
pedestalRMS
(
const
HWIdentifier
& CellID,
int
gain)
const override
{
38
return
this->
get
(CellID, gain).m_PedestalRMS;}
39
40
// set method filling the data members individually (if one
41
// wants to fill this class not using the DB)
42
void
set
(
const
HWIdentifier
& CellID,
const
int
gain,
43
const
float
vPedestal,
44
const
float
vPedestalRMS);
45
46
};
47
48
#include "
AthenaKernel/CondCont.h
"
49
CLASS_DEF
(
LArPedestalComplete
, 134294113,1)
50
CONDCONT_DEF
(
LArPedestalComplete
, 43865217,
ILArPedestal
);
51
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
ILArPedestal.h
LArConditionsContainer.h
LArPedestalP1.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArPedestal
Definition
ILArPedestal.h:12
LArConditionsContainer< LArPedestalP1 >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArConditionsContainer< LArPedestalP1 >::LArConditionsContainer
LArConditionsContainer()
LArPedestalComplete
This class implements the ILArPedestal interface.
Definition
LArPedestalComplete.h:26
LArPedestalComplete::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const override
Definition
LArPedestalComplete.h:34
LArPedestalComplete::LArPedestalComplete
LArPedestalComplete()
Definition
LArPedestalComplete.cxx:13
LArPedestalComplete::set
void set(const HWIdentifier &CellID, const int gain, const float vPedestal, const float vPedestalRMS)
Definition
LArPedestalComplete.cxx:19
LArPedestalComplete::pedestalRMS
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const override
access to RMS of Pedestal index by Identifier, and gain setting
Definition
LArPedestalComplete.h:37
LArPedestalComplete::~LArPedestalComplete
virtual ~LArPedestalComplete()
Definition
LArPedestalComplete.cxx:15
Generated on
for ATLAS Offline Software by
1.17.0