ATLAS Offline Software
Loading...
Searching...
No Matches
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
9namespace TRTCond{
10 class AverageT0{
11 public:
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}
26CONDCONT_DEF(TRTCond::AverageT0,71803019);
27#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
double get() const
Definition AverageT0.h:19
void update(const float &at0)
Definition AverageT0.h:18
virtual ~AverageT0()
Definition AverageT0.h:16