ATLAS Offline Software
InnerDetector
InDetConditions
TRT_ConditionsData
TRT_ConditionsData
AverageT0.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AVERAGET0_H
6
#define AVERAGET0_H
7
#include "
AthenaKernel/CLASS_DEF.h
"
8
#include "
AthenaKernel/CondCont.h
"
9
namespace
TRTCond
{
10
class
AverageT0
{
11
public
:
12
AverageT0
() {
13
m_avgT0
= 0.;
14
}
15
16
virtual
~AverageT0
() {}
17
// Store average T0
18
void
update
(
const
float
& at0 ) {
m_avgT0
=at0; }
19
double
get
()
const
{
return
m_avgT0
;}
20
21
private
:
22
double
m_avgT0
;
23
};
24
}
25
CLASS_DEF
(
TRTCond::AverageT0
,221681781,1)
26
CONDCONT_DEF
(
TRTCond
::AverageT0,71803019);
27
#endif
TRTCond::AverageT0::get
double get() const
Definition:
AverageT0.h:19
CondCont.h
Hold mappings of ranges to condition objects.
TRTCond::AverageT0::~AverageT0
virtual ~AverageT0()
Definition:
AverageT0.h:16
TRTCond::AverageT0::update
void update(const float &at0)
Definition:
AverageT0.h:18
TRTCond::AverageT0::m_avgT0
double m_avgT0
Definition:
AverageT0.h:22
TRTCond::AverageT0::AverageT0
AverageT0()
Definition:
AverageT0.h:12
CONDCONT_DEF
CONDCONT_DEF(TRTCond::AverageT0, 71803019)
TRTCond
Definition:
BasicRtRelation.cxx:8
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
TRTCond::AverageT0
Definition:
AverageT0.h:10
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Nov 7 2024 21:10:37 for ATLAS Offline Software by
1.8.18