ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
11
12#include <string>
13
14namespace 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&,
39 const std::unique_ptr<IDataCollector>&,
40 unsigned int&) const = 0;
41
42 // For TIP alg initialize to check for overlaps
43 TIPword getFullTIPWord() const override;
44
45 protected:
46
47 Gaudi::Property<unsigned int> m_TIP_position {
48 this,
49 "TIPposition",
50 0,
51 "start position to write into the TIP"};
52
53 Gaudi::Property<unsigned int> m_TIP_width {
54 this,
55 "TIPwidth",
56 1,
57 "number of bits to write into the TIP"};
58
59 ulong m_maxtob{0};
60
61 };
62}
63#endif
virtual ~TIPWriterAlgTool() override=default
Gaudi::Property< unsigned int > m_TIP_position
Gaudi::Property< unsigned int > m_TIP_width
TIPWriterAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode updateTIP(std::bitset< s_nbits_TIP > &, const std::unique_ptr< IDataCollector > &, const EventContext &) const override
virtual StatusCode countPassingTOBs(const EventContext &, const std::unique_ptr< IDataCollector > &, unsigned int &) const =0
virtual StatusCode initialize() override
Initialize function running before first event.
TIPword getFullTIPWord() const override
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
Definition BitSpec.h:23
std::bitset< ITIPWriterAlgTool::s_nbits_TIP > TIPword