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"
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
19namespace GlobalSim {
20 class ITIPWriterAlgTool : virtual public ::IAlgTool {
21
22 public:
23
26 static constexpr std::size_t s_nbits_TIP{1024};
27
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
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const =0
virtual ~ITIPWriterAlgTool()=default
static constexpr std::size_t s_nbits_TIP
Number of bits for the TIP word.
virtual std::string toString() const =0
DeclareInterfaceID(ITIPWriterAlgTool, 1, 0)
virtual std::bitset< s_nbits_TIP > getFullTIPWord() const =0
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
std::bitset< ITIPWriterAlgTool::s_nbits_TIP > TIPword