ATLAS Offline Software
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"
11 
12 #include "StoreGate/ReadHandle.h"
14 
15 class LArTBH6TriggerTimeTool : public extends<AthAlgTool, ITriggerTime, 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;
39  bool m_newEvent ;
40  bool m_fixed;
41 
42  std::vector< SG::ReadHandle< LArHitContainer > > m_hitcoll;
43 };
44 
45 
46 #endif
LArTBH6TriggerTimeTool::time
virtual double time()
returns the time offset of the current trigger
Definition: LArTBH6TriggerTimeTool.cxx:52
LArTBH6TriggerTimeTool::m_time
double m_time
Definition: LArTBH6TriggerTimeTool.h:38
LArTBH6TriggerTimeTool::larTime
double larTime()
Definition: LArTBH6TriggerTimeTool.cxx:65
LArTBH6TriggerTimeTool::trackRecordTime
double trackRecordTime()
LArTBH6TriggerTimeTool::~LArTBH6TriggerTimeTool
virtual ~LArTBH6TriggerTimeTool()
Definition: LArTBH6TriggerTimeTool.h:26
LArTBH6TriggerTimeTool::m_fixed
bool m_fixed
Definition: LArTBH6TriggerTimeTool.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArTBH6TriggerTimeTool::m_newEvent
bool m_newEvent
Definition: LArTBH6TriggerTimeTool.h:39
LArTBH6TriggerTimeTool::LArTBH6TriggerTimeTool
LArTBH6TriggerTimeTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArTBH6TriggerTimeTool.cxx:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArTBH6TriggerTimeTool::initialize
virtual StatusCode initialize()
Definition: LArTBH6TriggerTimeTool.cxx:25
LArTBH6TriggerTimeTool
Definition: LArTBH6TriggerTimeTool.h:16
LArHitContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ReadHandle.h
Handle class for reading from StoreGate.
ITriggerTime.h
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
LArTBH6TriggerTimeTool::handle
virtual void handle(const Incident &incident)
Definition: LArTBH6TriggerTimeTool.cxx:44
LArTBH6TriggerTimeTool::m_hitcoll
std::vector< SG::ReadHandle< LArHitContainer > > m_hitcoll
Definition: LArTBH6TriggerTimeTool.h:42