ATLAS Offline Software
LArGeoModel/LArGeoH62004Algs/src/Other/LArTBH6TriggerTimeTool.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 LArTBH6TriggerTimeTool_H
6 #define LArTBH6TriggerTimeTool_H
7 
9 #include "GaudiKernel/IIncidentListener.h"
10 #include "GaudiKernel/AlgTool.h"
11 
12 class StoreGateSvc ;
13 
14 class LArTBH6TriggerTimeTool :public ITriggerTime, public AlgTool,
15 virtual public IIncidentListener
16 {
17 
18 public:
19  LArTBH6TriggerTimeTool(const std::string& type,
20  const std::string& name,
21  const IInterface* parent);
22 
23 
24  virtual StatusCode initialize() ;
25 
27 
29  virtual double time() ;
30 
31  virtual void handle(const Incident& incident);
32 
33  double larTime();
34  double trackRecordTime() ;
35 
36 private:
37 
38  double m_time;
40  bool m_newEvent ;
41  bool m_fixed;
42 };
43 
44 
45 #endif
LArTBH6TriggerTimeTool::handle
virtual void handle(const Incident &incident)
LArTBH6TriggerTimeTool::m_time
double m_time
Definition: LArG4/LArG4H6SD/src/LArTBH6TriggerTimeTool.h:38
LArTBH6TriggerTimeTool::larTime
double larTime()
LArTBH6TriggerTimeTool::trackRecordTime
double trackRecordTime()
LArTBH6TriggerTimeTool::~LArTBH6TriggerTimeTool
virtual ~LArTBH6TriggerTimeTool()
Definition: LArGeoModel/LArGeoH62004Algs/src/Other/LArTBH6TriggerTimeTool.h:26
LArTBH6TriggerTimeTool::time
virtual double time()
returns the time offset of the current trigger
LArTBH6TriggerTimeTool::m_fixed
bool m_fixed
Definition: LArG4/LArG4H6SD/src/LArTBH6TriggerTimeTool.h:40
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArTBH6TriggerTimeTool::m_newEvent
bool m_newEvent
Definition: LArG4/LArG4H6SD/src/LArTBH6TriggerTimeTool.h:39
LArTBH6TriggerTimeTool::LArTBH6TriggerTimeTool
LArTBH6TriggerTimeTool(const std::string &type, const std::string &name, const IInterface *parent)
LArTBH6TriggerTimeTool::initialize
virtual StatusCode initialize()
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ITriggerTime
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
Definition: ITriggerTime.h:20
LArTBH6TriggerTimeTool
Definition: LArG4/LArG4H6SD/src/LArTBH6TriggerTimeTool.h:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArTBH6TriggerTimeTool::m_sg
StoreGateSvc * m_sg
Definition: LArGeoModel/LArGeoH62004Algs/src/Other/LArTBH6TriggerTimeTool.h:39
ITriggerTime.h
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc