ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
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
49CLASS_DEF( LArPedestalComplete, 134294113,1)
51#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
This class implements the ILArPedestal interface.
virtual float pedestal(const HWIdentifier &CellID, int gain) const override
void set(const HWIdentifier &CellID, const int gain, const float vPedestal, const float vPedestalRMS)
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const override
access to RMS of Pedestal index by Identifier, and gain setting