ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
src
GlobalSimComponents
ITIPWriterAlgTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef GLOBALSIM_ITIPWRITERALGTOOL_H
6
#define GLOBALSIM_ITIPWRITERALGTOOL_H
7
8
#include "GaudiKernel/IAlgTool.h"
9
#include "GaudiKernel/EventContext.h"
10
#include "
../Utilities/IDataCollector.h
"
11
12
13
#include <string>
14
#include <bitset>
15
16
// provide an pure abstract interface to AlgTools implementing
17
// AlgTools which write to the TIP word.
18
19
namespace
GlobalSim
{
20
class
ITIPWriterAlgTool
:
virtual
public
::IAlgTool {
21
22
public
:
23
26
static
constexpr
std::size_t
s_nbits_TIP
{1024};
27
28
DeclareInterfaceID
(
ITIPWriterAlgTool
, 1, 0);
29
virtual
~ITIPWriterAlgTool
() =
default
;
30
31
virtual
StatusCode
updateTIP
(std::bitset<s_nbits_TIP>&,
32
const
std::unique_ptr<IDataCollector>&,
33
const
EventContext& )
const
= 0;
34
35
virtual
std::bitset<s_nbits_TIP>
getFullTIPWord
()
const
= 0;
36
37
virtual
std::string
toString
()
const
= 0;
38
};
39
40
using
TIPword
= std::bitset<ITIPWriterAlgTool::s_nbits_TIP>;
41
42
}
43
#endif
IDataCollector.h
GlobalSim::ITIPWriterAlgTool
Definition
ITIPWriterAlgTool.h:20
GlobalSim::ITIPWriterAlgTool::updateTIP
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const =0
GlobalSim::ITIPWriterAlgTool::~ITIPWriterAlgTool
virtual ~ITIPWriterAlgTool()=default
GlobalSim::ITIPWriterAlgTool::s_nbits_TIP
static constexpr std::size_t s_nbits_TIP
Number of bits for the TIP word.
Definition
ITIPWriterAlgTool.h:26
GlobalSim::ITIPWriterAlgTool::toString
virtual std::string toString() const =0
GlobalSim::ITIPWriterAlgTool::DeclareInterfaceID
DeclareInterfaceID(ITIPWriterAlgTool, 1, 0)
GlobalSim::ITIPWriterAlgTool::getFullTIPWord
virtual std::bitset< s_nbits_TIP > getFullTIPWord() const =0
GlobalSim
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition
BitSpec.h:23
GlobalSim::TIPword
std::bitset< ITIPWriterAlgTool::s_nbits_TIP > TIPword
Definition
ITIPWriterAlgTool.h:40
Generated on
for ATLAS Offline Software by
1.17.0