ATLAS Offline Software
CosTrigTime.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef COMMISSIONINGREC_COSTRGTIME_H
6 #define COMMISSIONINGREC_COSTRGTIME_H
7 
9 
10 class CosTrigTime {
11 
12  public:
13  CosTrigTime()=default;
14  CosTrigTime(const float t);
15 
16  void setTime(const float t);
17 
18  float time() const {
19  return m_time;
20  }
21 
22  private:
23  float m_time=0;
24 
25 };
26 
27 CLASS_DEF(CosTrigTime,66710315,0)
28 
29 #endif
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
CosTrigTime::CosTrigTime
CosTrigTime()=default
CosTrigTime::setTime
void setTime(const float t)
Definition: CosTrigTime.cxx:11
CosTrigTime
Definition: CosTrigTime.h:10
CosTrigTime::time
float time() const
Definition: CosTrigTime.h:18
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
CLASS_DEF.h
macros to associate a CLID to a type
CosTrigTime::m_time
float m_time
Definition: CosTrigTime.h:23