ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
GlobalSimComponents
TIPWriterAlgTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef GLOBALSIM_TIPWRITERALGTOOL_H
6
#define GLOBALSIM_TIPWRITERALGTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
#include "
../GlobalSimComponents/ITIPWriterAlgTool.h
"
11
12
#include <string>
13
14
namespace
GlobalSim
{
15
20
21
22
class
TIPWriterAlgTool
:
public
extends<AthAlgTool, ITIPWriterAlgTool> {
23
24
public
:
25
TIPWriterAlgTool
(
const
std::string&
type
,
26
const
std::string& name,
27
const
IInterface* parent);
28
29
virtual
~TIPWriterAlgTool
()
override
=
default
;
30
32
virtual
StatusCode
initialize
()
override
;
33
34
virtual
StatusCode
updateTIP
(std::bitset<s_nbits_TIP>&,
35
const
std::unique_ptr<IDataCollector>&,
36
const
EventContext&)
const override
;
37
38
virtual
StatusCode
countPassingTOBs
(
const
EventContext&,
unsigned
int
&)
const
= 0;
39
40
// For TIP alg initialize to check for overlaps
41
TIPword
getFullTIPWord
()
const override
;
42
43
protected
:
44
45
Gaudi::Property<unsigned int>
m_TIP_position
{
46
this
,
47
"TIPposition"
,
48
0,
49
"start position to write into the TIP"
};
50
51
Gaudi::Property<unsigned int>
m_TIP_width
{
52
this
,
53
"TIPwidth"
,
54
1,
55
"number of bits to write into the TIP"
};
56
57
ulong
m_maxtob
{0};
58
59
};
60
}
61
#endif
AthAlgTool.h
ITIPWriterAlgTool.h
GlobalSim::TIPWriterAlgTool::~TIPWriterAlgTool
virtual ~TIPWriterAlgTool() override=default
GlobalSim::TIPWriterAlgTool::m_TIP_position
Gaudi::Property< unsigned int > m_TIP_position
Definition
TIPWriterAlgTool.h:45
GlobalSim::TIPWriterAlgTool::m_TIP_width
Gaudi::Property< unsigned int > m_TIP_width
Definition
TIPWriterAlgTool.h:51
GlobalSim::TIPWriterAlgTool::countPassingTOBs
virtual StatusCode countPassingTOBs(const EventContext &, unsigned int &) const =0
GlobalSim::TIPWriterAlgTool::TIPWriterAlgTool
TIPWriterAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TIPWriterAlgTool.cxx:12
GlobalSim::TIPWriterAlgTool::updateTIP
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const override
Definition
TIPWriterAlgTool.cxx:39
GlobalSim::TIPWriterAlgTool::initialize
virtual StatusCode initialize() override
Initialize function running before first event.
Definition
TIPWriterAlgTool.cxx:20
GlobalSim::TIPWriterAlgTool::m_maxtob
ulong m_maxtob
Definition
TIPWriterAlgTool.h:57
GlobalSim::TIPWriterAlgTool::getFullTIPWord
TIPword getFullTIPWord() const override
Definition
TIPWriterAlgTool.cxx:60
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
Trigger/TrigT1/Global/GlobalSimulation/src/Egamma1BDT/Egamma1BDT/BDT.h:11
GlobalSim::TIPword
std::bitset< ITIPWriterAlgTool::s_nbits_TIP > TIPword
Definition
ITIPWriterAlgTool.h:40
type
Generated on
for ATLAS Offline Software by
1.17.0