ATLAS Offline Software
Loading...
Searching...
No Matches
LArRampComplete.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_LARRAMPCOMPLETE_H
6#define LARRAWCONDITIONS_LARRAMPCOMPLETE_H
7
11
12#include <vector>
13
25
27 public LArConditionsContainer<LArRampP1>
28{
29 public:
31 virtual ~LArRampCompleteBase( );
32
34
35 // retrieving Ramp using online ID
36 virtual RampRef_t ADC2DAC(const HWIdentifier& CellID, int gain) const override;
37
38 // set method filling the data members individually (if one
39 // wants to fill this class not using the DB)
40 virtual void set(const HWIdentifier& CellID, int gain,
41 const std::vector<float>& vRamp);
42
43 protected:
44
45 const std::vector<float>& empty() const;
46
47};
48
49
51
52 public:
53
55
56 virtual ~LArRampComplete( ) ;
57
58 virtual void set(const HWIdentifier& CellID, int gain,
59 const std::vector<float>& vRamp)
60 {
61 LArRampCompleteBase::set(CellID,gain,vRamp);
62 }
63
64};
65
68CLASS_DEF( LArRampCompleteBase, 157708224,1)
69CLASS_DEF( LArRampComplete, 236941963,1)
72
73#endif
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition ILArRamp.h:31
This class implements the ILArRamp interface.
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const override
const std::vector< float > & empty() const
LArConditionsContainer< LArRampP1 > CONTAINER
virtual void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vRamp)
virtual void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vRamp)
virtual ~LArRampComplete()