ATLAS Offline Software
LArfSamplSym.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_LARFSAMPLSYM_H
6 #define LARRAWCONDITIONS_LARFSAMPLSYM_H
7 
10 
11 class LArMCSym;
12 class LArfSamplMC;
13 class LArfSamplP;
14 template<typename LArfSamplP> class LArConditionsContainer;
15 
20 class LArfSamplSym: virtual public ILArfSampl {
21  public:
22  LArfSamplSym()=delete;
23  LArfSamplSym(const LArMCSym* mcSym, const LArfSamplMC* fSamplMC);
24  virtual ~LArfSamplSym();
25 
26  virtual const float& FSAMPL(const HWIdentifier& CellID) const override;
27  virtual const float& FSAMPL(const Identifier& CellID) const override;
28  private:
29  const LArMCSym* m_mcSym;
31 };
32 
33 #include "AthenaKernel/CLASS_DEF.h"
34 #include "AthenaKernel/CondCont.h"
35 CLASS_DEF( LArfSamplSym, 169816659, 1)
37 
38 #endif
CONDCONT_DEF
CONDCONT_DEF(LArfSamplSym, 75658929, ILArfSampl)
LArfSamplSym::m_fSamplCont
const LArConditionsContainer< LArfSamplP > * m_fSamplCont
Definition: LArfSamplSym.h:30
CondCont.h
Hold mappings of ranges to condition objects.
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArfSamplSym::LArfSamplSym
LArfSamplSym()=delete
LArMCSym
Helper class to handle z-phi symmetry of calibration constants in MC.
Definition: LArMCSym.h:19
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
LArfSamplMC
Implementation of the interface ILArfSampl for MC Derives from LArfSamplComplete, and implements the ...
Definition: LArfSamplMC.h:23
LArfSamplSym
Implementation of the interface ILArfSampl for MC using the z-phi symmetry.
Definition: LArfSamplSym.h:20
LArfSamplMC.h
LArfSamplSym::~LArfSamplSym
virtual ~LArfSamplSym()
Definition: LArfSamplSym.cxx:13
LArfSamplP
c-struct reproducing the structure of the persistent data
Definition: LArfSamplP.h:20
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
LArfSamplSym::m_mcSym
const LArMCSym * m_mcSym
Definition: LArfSamplSym.h:29
CLASS_DEF.h
macros to associate a CLID to a type
ILArfSampl.h
ILArfSampl
Definition: ILArfSampl.h:14
LArfSamplSym::FSAMPL
virtual const float & FSAMPL(const HWIdentifier &CellID) const override
Definition: LArfSamplSym.cxx:15