ATLAS Offline Software
Loading...
Searching...
No Matches
MBTSTimeFillerTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef CALOD3PDMAKER_MBTSTIMEFILLERTOOL_H
14#define CALOD3PDMAKER_MBTSTIMEFILLERTOOL_H
15
16
18#include "GaudiKernel/ToolHandle.h"
20
21namespace D3PD {
22
23
28 : public BlockFillerTool<void>
29{
30public:
37 MBTSTimeFillerTool (const std::string& type,
38 const std::string& name,
39 const IInterface* parent);
40
41
43 virtual StatusCode initialize() override;
44
45
47 virtual StatusCode book() final;
48
49
53 virtual StatusCode fill() override;
54
55
56private:
58 ToolHandle<MBTSTimeFilterTool> m_timetool;
59
61 float* m_timeDiff;
62
64 float* m_timeA;
65
67 float* m_timeC;
68
71
74};
75
76
77} // namespace D3PD
78
79
80#endif // not CALOD3PDMAKER_MBTSTIMEFILLERTOOL_H
Type-safe wrapper for block filler tools, for tools taking no input.
BlockFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
int * m_countC
Variable: Number of C-side MBTS counters used for time.
virtual StatusCode book() final
Book variables for this block.
float * m_timeA
Variable: MBTS A-side time.
float * m_timeDiff
Variable: MBTS A-C time difference.
ToolHandle< MBTSTimeFilterTool > m_timetool
Property: The tool to calculate the time information.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode fill() override
Fill one block — type-safe version.
float * m_timeC
Variable: MBTS C-side time.
MBTSTimeFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
int * m_countA
Variable: Number of A-side MBTS counters used for time.
Block filler tool for noisy FEB information.