ATLAS Offline Software
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 
13 
14 
25  public LArConditionsContainer<LArPedestalP1>
26  {
27 
28  public:
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)
51 #endif
CondCont.h
Hold mappings of ranges to condition objects.
ILArPedestal
Definition: ILArPedestal.h:12
LArPedestalComplete
This class implements the ILArPedestal interface.
Definition: LArPedestalComplete.h:26
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArPedestalP1.h
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArPedestalComplete::LArPedestalComplete
LArPedestalComplete()
Definition: LArPedestalComplete.cxx:13
LArPedestalComplete::~LArPedestalComplete
virtual ~LArPedestalComplete()
Definition: LArPedestalComplete.cxx:15
LArConditionsContainer< LArPedestalP1 >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
CONDCONT_DEF
CONDCONT_DEF(LArPedestalComplete, 43865217, ILArPedestal)
LArPedestalComplete::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const override
Definition: LArPedestalComplete.h:34
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
ILArPedestal.h
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:64