ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
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
9
#include "
LArElecCalib/ILArMphysOverMcal.h
"
10
#include "
LArRawConditions/LArSingleFloatP.h
"
11
#include "
LArRawConditions/LArConditionsContainer.h
"
12
#include <vector>
13
14
22
26
27
28
class
LArMphysOverMcalComplete
:
public
ILArMphysOverMcal
,
29
public
LArConditionsContainer
<LArSingleFloatP> {
30
public
:
31
typedef
LArConditionsContainer<LArSingleFloatP>
CONTAINER
;
32
LArMphysOverMcalComplete
();
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
"
47
CLASS_DEF
(
LArMphysOverMcalComplete
,84212362,1)
48
CONDCONT_DEF
(
LArMphysOverMcalComplete
, 216720142,
ILArMphysOverMcal
);
49
#endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
#define CONDCONT_DEF(...)
Definition
CondCont.h:1413
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:67
ILArMphysOverMcal.h
LArConditionsContainer.h
LArSingleFloatP.h
HWIdentifier
Definition
HWIdentifier.h:13
ILArMphysOverMcal
Definition
ILArMphysOverMcal.h:13
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArConditionsContainer< LArSingleFloatP >::LArConditionsContainer
LArConditionsContainer()
LArMphysOverMcalComplete
This class implements the ILArMphysOverMcal interface.
Definition
LArMphysOverMcalComplete.h:29
LArMphysOverMcalComplete::~LArMphysOverMcalComplete
virtual ~LArMphysOverMcalComplete()
Definition
LArMphysOverMcalComplete.cxx:10
LArMphysOverMcalComplete::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const override
Definition
LArMphysOverMcalComplete.h:37
LArMphysOverMcalComplete::CONTAINER
LArConditionsContainer< LArSingleFloatP > CONTAINER
Definition
LArMphysOverMcalComplete.h:31
LArMphysOverMcalComplete::LArMphysOverMcalComplete
LArMphysOverMcalComplete()
Definition
LArMphysOverMcalComplete.cxx:8
LArMphysOverMcalComplete::set
void set(const HWIdentifier &CellID, int gain, float vMphysOverMcal)
Definition
LArMphysOverMcalComplete.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0