ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
LArPedestalMC.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARRAWCONDITIONS_LARPEDESTALMC_H
6
#define LARRAWCONDITIONS_LARPEDESTALMC_H
7
8
#include "
LArElecCalib/ILArPedestal.h
"
9
10
#include <vector>
11
20
21
class
LArPedestalMC
:
public
ILArPedestal
{
22
23
public
:
24
25
LArPedestalMC
();
26
27
virtual
~LArPedestalMC
( );
28
29
// retrieving Pedestal using online ID
30
31
float
pedestal
(
const
HWIdentifier
& CellID,
int
gain)
const
;
32
33
float
pedestalRMS
(
const
HWIdentifier
& CellID,
int
gain)
const
;
34
35
// set method filling the data members individually (if one
36
// wants to fill this class not using the DB)
37
void
set
(
const
std::vector<float>& vPedestal,
38
const
std::vector<float>& vPedestalRMS);
39
40
41
private
:
42
friend
class
LArPedestalMCCnv_p1
;
43
44
// data member simpler than for data: 1 single number is needed for MC
45
std::vector<float>
m_vPedestal
,
m_vPedestalRMS
;
46
};
47
48
#include "
AthenaKernel/CondCont.h
"
49
CLASS_DEF
(
LArPedestalMC
, 27770770,1)
50
CONDCONT_DEF
(
LArPedestalMC
,251521960,
ILArPedestal
);
51
52
#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
HWIdentifier
Definition
HWIdentifier.h:13
ILArPedestal
Definition
ILArPedestal.h:12
LArPedestalMC
Implementation of the interface ILArfSampl for MC: only one constant is needed for MC.
Definition
LArPedestalMC.h:21
LArPedestalMC::pedestal
float pedestal(const HWIdentifier &CellID, int gain) const
Definition
LArPedestalMC.cxx:27
LArPedestalMC::LArPedestalMC
LArPedestalMC()
Definition
LArPedestalMC.cxx:10
LArPedestalMC::LArPedestalMCCnv_p1
friend class LArPedestalMCCnv_p1
Definition
LArPedestalMC.h:42
LArPedestalMC::m_vPedestal
std::vector< float > m_vPedestal
Definition
LArPedestalMC.h:45
LArPedestalMC::m_vPedestalRMS
std::vector< float > m_vPedestalRMS
Definition
LArPedestalMC.h:45
LArPedestalMC::pedestalRMS
float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
Definition
LArPedestalMC.cxx:33
LArPedestalMC::set
void set(const std::vector< float > &vPedestal, const std::vector< float > &vPedestalRMS)
Definition
LArPedestalMC.cxx:16
LArPedestalMC::~LArPedestalMC
virtual ~LArPedestalMC()
Definition
LArPedestalMC.cxx:12
Generated on
for ATLAS Offline Software by
1.17.0