ATLAS Offline Software
LArHVScaleCorrComplete.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_LARHVSCALECORRCOMPLETE_H
7 #define LARRAWCONDITIONS_LARHVSCALECORRCOMPLETE_H
8 
12 
18  public LArConditionsContainer<LArSingleFloatP> {
19 
20  public:
21 
23 
24  // online ID
25  inline const float& HVScaleCorr(const HWIdentifier& id ) const
26  {return (this->get(id).m_data);};
27 
28 
29  // offline ID, not implemented here!
30  const float& HVScaleCorr(const Identifier& id ) const;
31 
32  // set method filling the data members individually (if one
33  // wants to fill this class not using the DB)
34  void set(const HWIdentifier& CellID, const float vDAC2uA);
35 
36 };
37 
38 #include "AthenaKernel/CondCont.h"
39 CLASS_DEF( LArHVScaleCorrComplete, 220593802,1)
41 
42 #endif
CONDCONT_MIXED_DEF
CONDCONT_MIXED_DEF(LArHVScaleCorrComplete, 84955454, ILArHVScaleCorr)
ILArHVScaleCorr
Definition: ILArHVScaleCorr.h:13
CondCont.h
Hold mappings of ranges to condition objects.
LArHVScaleCorrComplete::HVScaleCorr
const float & HVScaleCorr(const HWIdentifier &id) const
Definition: LArHVScaleCorrComplete.h:25
LArHVScaleCorrComplete::CONTAINER
LArConditionsContainer< LArSingleFloatP > CONTAINER
Definition: LArHVScaleCorrComplete.h:22
m_data
std::vector< T > m_data
Definition: TrackTruthMatchingBaseAlg.cxx:660
LArSingleFloatP.h
LArHVScaleCorrComplete::set
void set(const HWIdentifier &CellID, const float vDAC2uA)
Definition: LArHVScaleCorrComplete.cxx:7
LArConditionsContainer.h
HWIdentifier
Definition: HWIdentifier.h:13
LArHVScaleCorrComplete
This class implements the ILArHVScaleCorr interface.
Definition: LArHVScaleCorrComplete.h:18
LArConditionsContainer
Definition: LArAutoCorrSym.h:14
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
ILArHVScaleCorr.h
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
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