ATLAS Offline Software
LArMphysOverMcalComplete.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 // Dear emacs, this is -*-c++-*-
6 #ifndef LARRAWCONDITIONS_LARMPHYSOVERMCALCOMPLETE_H
7 #define LARRAWCONDITIONS_LARMPHYSOVERMCALCOMPLETE_H
8 
12 #include <vector>
13 
14 
29  public LArConditionsContainer<LArSingleFloatP> {
30  public:
33 
34  virtual ~LArMphysOverMcalComplete();
35 
36  // retrieving MphysOverMcal using online ID
37  virtual const float& MphysOverMcal(const HWIdentifier& chid, int gain) const override
38  {return (this->get(chid,gain).m_data);};
39 
40  // wants to fill this class not using the DB)
41  void set(const HWIdentifier& CellID, int gain, float vMphysOverMcal);
42 
43 
44 };
45 
46 #include "AthenaKernel/CondCont.h"
49 #endif
LArMphysOverMcalComplete::set
void set(const HWIdentifier &CellID, int gain, float vMphysOverMcal)
Definition: LArMphysOverMcalComplete.cxx:14
CondCont.h
Hold mappings of ranges to condition objects.
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArSingleFloatP.h
LArMphysOverMcalComplete::CONTAINER
LArConditionsContainer< LArSingleFloatP > CONTAINER
Definition: LArMphysOverMcalComplete.h:31
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
CONDCONT_DEF
CONDCONT_DEF(LArMphysOverMcalComplete, 216720142, ILArMphysOverMcal)
ILArMphysOverMcal.h
LArMphysOverMcalComplete::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const override
Definition: LArMphysOverMcalComplete.h:37
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
LArMphysOverMcalComplete
This class implements the ILArMphysOverMcal interface.
Definition: LArMphysOverMcalComplete.h:29
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
ILArMphysOverMcal
Definition: ILArMphysOverMcal.h:13
LArMphysOverMcalComplete::LArMphysOverMcalComplete
LArMphysOverMcalComplete()
Definition: LArMphysOverMcalComplete.cxx:8
LArMphysOverMcalComplete::~LArMphysOverMcalComplete
virtual ~LArMphysOverMcalComplete()
Definition: LArMphysOverMcalComplete.cxx:10
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