ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include <string>
12#include <bitset>
13
14// provide an pure abstract interface to AlgTools implementing
15// AlgTools which write to the TIP word.
16
17namespace GlobalSim {
18 class ITIPwriterAlgTool : virtual public ::IAlgTool {
19
20 public:
21
24 static constexpr std::size_t s_nbits_TIP{1024};
25
27 virtual ~ITIPwriterAlgTool() = default;
28
29 virtual StatusCode updateTIP(std::bitset<s_nbits_TIP>&,
30 const EventContext& ) const = 0;
31
32
33 virtual std::string toString() const = 0;
34 };
35
36 using TIPword = std::bitset<ITIPwriterAlgTool::s_nbits_TIP>;
37
38}
39#endif
virtual ~ITIPwriterAlgTool()=default
static constexpr std::size_t s_nbits_TIP
Number of bits for the TIP word.
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const EventContext &) const =0
DeclareInterfaceID(ITIPwriterAlgTool, 1, 0)
virtual std::string toString() const =0
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
std::bitset< ITIPwriterAlgTool::s_nbits_TIP > TIPword