ATLAS Offline Software
LArNoiseSym.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_LARNOISESYM_H
6 #define LARRAWCONDITIONS_LARNOISESYM_H
7 
9 class LArNoiseMC;
10 class LArMCSym;
11 class LArNoiseP;
12 template<typename LArNoiseP> class LArConditionsContainer;
13 
14 class LArNoiseSym: virtual public ILArNoise {
15  public:
16  LArNoiseSym() = delete;
17  LArNoiseSym(const LArMCSym* mcsym, const LArNoiseMC* noiseComplete);
18  virtual ~LArNoiseSym( );
19 
20  virtual const float& noise(const HWIdentifier& hwid, int gain) const override;
21 
22  private:
23  const LArMCSym* m_mcSym;
25 };
26 
27 #include "AthenaKernel/CLASS_DEF.h"
28 #include "AthenaKernel/CondCont.h"
29 CLASS_DEF( LArNoiseSym,235778925,1)
31 #endif
LArNoiseSym::m_noiseComplete
const LArConditionsContainer< LArNoiseP > * m_noiseComplete
Definition: LArNoiseSym.h:24
LArNoiseSym::~LArNoiseSym
virtual ~LArNoiseSym()
Definition: LArNoiseSym.cxx:15
ILArNoise.h
CondCont.h
Hold mappings of ranges to condition objects.
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
HWIdentifier
Definition: HWIdentifier.h:13
ILArNoise
Definition: ILArNoise.h:12
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArNoiseSym::LArNoiseSym
LArNoiseSym()=delete
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
LArNoiseSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArNoiseSym.h:23
LArNoiseP
Definition: LArNoiseP.h:12
LArNoiseSym::noise
virtual const float & noise(const HWIdentifier &hwid, int gain) const override
Definition: LArNoiseSym.cxx:17
LArNoiseSym
Definition: LArNoiseSym.h:14
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
LArNoiseMC
Implementation of the interface ILArNoise for MC Derives from LArNoiseComplete, and implements the ph...
Definition: LArNoiseMC.h:20
CLASS_DEF.h
macros to associate a CLID to a type
CONDCONT_DEF
CONDCONT_DEF(LArNoiseSym, 233925277, ILArNoise)