ATLAS Offline Software
Loading...
Searching...
No Matches
LArGlobalTimeOffset.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARGLOBALTIMEOFFSET_H
6#define LARGLOBALTIMEOFFSET_H
7
10
12 public:
13 LArGlobalTimeOffset(); //Constructor
14 virtual ~LArGlobalTimeOffset() {}; //Destructor
15 inline void setTimeOffset(const float offset) {m_offset=offset;} //Setter
16 inline float TimeOffset() const {return m_offset;} //Getter
17
18 private:
19 float m_offset;
20};
21
22
23CLASS_DEF( LArGlobalTimeOffset, 213690101, 1)
24#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setTimeOffset(const float offset)