ATLAS Offline Software
LArfSamplMC.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 #ifndef LARRAWCONDITIONS_LARFSAMPLMC_H
6 #define LARRAWCONDITIONS_LARFSAMPLMC_H
7 
9 #include "GaudiKernel/ToolHandle.h"
10 
11 #include <vector>
12 
24 
25  public:
26 
27  LArfSamplMC();
28 
29  virtual ~LArfSamplMC();
30  virtual StatusCode initialize();
31 
32  // retrieving fSampl using online ID
33 
34  virtual const float& FSAMPL(const HWIdentifier& CellID) const ;
35 
36  virtual const float& FSAMPL(const Identifier& CellID) const;
37 
38  constexpr static float dummy=LArElecCalib::ERRORCODE;
39 };
40 
41 #include "AthenaKernel/CondCont.h"
42 CLASS_DEF( LArfSamplMC, 164984905,1)
44 #endif
CondCont.h
Hold mappings of ranges to condition objects.
LArfSamplComplete.h
LArElecCalib::ERRORCODE
@ ERRORCODE
Definition: LArCalibErrorCode.h:17
HWIdentifier
Definition: HWIdentifier.h:13
LArfSamplMC::FSAMPL
virtual const float & FSAMPL(const HWIdentifier &CellID) const
Definition: LArfSamplMC.cxx:20
CONDCONT_DEF
CONDCONT_DEF(LArfSamplMC, 24657825, ILArfSampl)
LArfSamplComplete
This class implements the ILArfSampl interface.
Definition: LArfSamplComplete.h:32
LArfSamplMC::LArfSamplMC
LArfSamplMC()
Definition: LArfSamplMC.cxx:7
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArfSamplMC
Implementation of the interface ILArfSampl for MC Derives from LArfSamplComplete, and implements the ...
Definition: LArfSamplMC.h:23
LArfSamplMC::~LArfSamplMC
virtual ~LArfSamplMC()
Definition: LArfSamplMC.cxx:15
LArfSamplMC::initialize
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
Definition: LArfSamplMC.cxx:11
LArfSamplMC::dummy
constexpr static float dummy
Definition: LArfSamplMC.h:38
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
ILArfSampl
Definition: ILArfSampl.h:14
Identifier
Definition: IdentifierFieldParser.cxx:14