ATLAS Offline Software
Commission
CommissionRec
src
CosmicTriggerTimeTool.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 COSMICTRIGGERTIMETOOL_H
6
#define COSMICTRIGGERTIMETOOL_H
7
8
#include "
AthenaKernel/ITriggerTime.h
"
9
#include "GaudiKernel/IIncidentListener.h"
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
12
class
ComTime
;
13
14
class
CosmicTriggerTimeTool
:
public
extends<AthAlgTool, ITriggerTime, IIncidentListener>
15
{
16
17
public
:
18
CosmicTriggerTimeTool
(
const
std::string&
type
,
19
const
std::string&
name
,
20
const
IInterface*
parent
);
21
22
23
virtual
StatusCode
initialize
()
override
;
24
25
virtual
~CosmicTriggerTimeTool
() {}
26
28
virtual
double
time
()
override
;
29
30
virtual
void
handle
(
const
Incident& incident)
override
;
31
32
double
larTime
();
33
double
trackRecordTime
() ;
34
35
void
setComTime
(
const
ComTime
* comTime )
36
{
37
m_comTime
= comTime;
38
return
;
39
}
40
41
private
:
42
43
double
m_time
;
44
bool
m_newEvent
;
45
const
ComTime
*
m_comTime
;
46
bool
m_useLArTime
;
47
};
48
49
50
#endif
CosmicTriggerTimeTool::m_newEvent
bool m_newEvent
Definition:
CosmicTriggerTimeTool.h:44
CosmicTriggerTimeTool::initialize
virtual StatusCode initialize() override
Definition:
CosmicTriggerTimeTool.cxx:28
CosmicTriggerTimeTool::~CosmicTriggerTimeTool
virtual ~CosmicTriggerTimeTool()
Definition:
CosmicTriggerTimeTool.h:25
CosmicTriggerTimeTool::larTime
double larTime()
Definition:
CosmicTriggerTimeTool.cxx:124
CosmicTriggerTimeTool::m_useLArTime
bool m_useLArTime
Definition:
CosmicTriggerTimeTool.h:46
ComTime
Definition:
ComTime.h:17
CosmicTriggerTimeTool::m_time
double m_time
Definition:
CosmicTriggerTimeTool.h:43
CosmicTriggerTimeTool::m_comTime
const ComTime * m_comTime
Definition:
CosmicTriggerTimeTool.h:45
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
CosmicTriggerTimeTool::time
virtual double time() override
returns the time offset of the current trigger
Definition:
CosmicTriggerTimeTool.cxx:96
CosmicTriggerTimeTool::setComTime
void setComTime(const ComTime *comTime)
Definition:
CosmicTriggerTimeTool.h:35
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
CosmicTriggerTimeTool::trackRecordTime
double trackRecordTime()
Definition:
CosmicTriggerTimeTool.cxx:55
CosmicTriggerTimeTool::CosmicTriggerTimeTool
CosmicTriggerTimeTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
CosmicTriggerTimeTool.cxx:16
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
CosmicTriggerTimeTool::handle
virtual void handle(const Incident &incident) override
Definition:
CosmicTriggerTimeTool.cxx:44
ITriggerTime.h
interface to a tool that returns the time offset of the current trigger. Used by PileUpMergeSvc
CosmicTriggerTimeTool
Definition:
CosmicTriggerTimeTool.h:15
Generated on Sun Dec 22 2024 21:08:39 for ATLAS Offline Software by
1.8.18