ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
LArRawConditions
LArGlobalTimeOffset.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARGLOBALTIMEOFFSET_H
6
#define LARGLOBALTIMEOFFSET_H
7
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
#include "
AthenaKernel/BaseInfo.h
"
10
#include "
LArElecCalib/ILArGlobalTimeOffset.h
"
11
12
class
LArGlobalTimeOffset
:
public
ILArGlobalTimeOffset
{
13
public
:
14
LArGlobalTimeOffset
();
//Constructor
15
virtual
~LArGlobalTimeOffset
() {};
//Destructor
16
inline
void
setTimeOffset
(
const
float
offset) {
m_offset
=offset;}
//Setter
17
inline
float
TimeOffset
()
const
{
return
m_offset
;}
//Getter
18
19
private
:
20
float
m_offset
;
21
};
22
23
24
CLASS_DEF
(
LArGlobalTimeOffset
, 213690101, 1)
25
SG_BASES
(
LArGlobalTimeOffset
,
ILArGlobalTimeOffset
);
26
#endif
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASES
#define SG_BASES(D,...)
Declare the base classes from which D derives.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:224
CLASS_DEF.h
macros to associate a CLID to a type
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
ILArGlobalTimeOffset.h
ILArGlobalTimeOffset
Definition
ILArGlobalTimeOffset.h:10
LArGlobalTimeOffset
Definition
LArGlobalTimeOffset.h:12
LArGlobalTimeOffset::~LArGlobalTimeOffset
virtual ~LArGlobalTimeOffset()
Definition
LArGlobalTimeOffset.h:15
LArGlobalTimeOffset::LArGlobalTimeOffset
LArGlobalTimeOffset()
Definition
LArGlobalTimeOffset.cxx:7
LArGlobalTimeOffset::TimeOffset
float TimeOffset() const
Definition
LArGlobalTimeOffset.h:17
LArGlobalTimeOffset::m_offset
float m_offset
Definition
LArGlobalTimeOffset.h:20
LArGlobalTimeOffset::setTimeOffset
void setTimeOffset(const float offset)
Definition
LArGlobalTimeOffset.h:16
Generated on
for ATLAS Offline Software by
1.17.0