ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
10#include <vector>
11
20
22
23 public:
24
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
49CLASS_DEF( LArPedestalMC, 27770770,1)
51
52#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
Implementation of the interface ILArfSampl for MC: only one constant is needed for MC.
float pedestal(const HWIdentifier &CellID, int gain) const
friend class LArPedestalMCCnv_p1
std::vector< float > m_vPedestal
std::vector< float > m_vPedestalRMS
float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
void set(const std::vector< float > &vPedestal, const std::vector< float > &vPedestalRMS)
virtual ~LArPedestalMC()