ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
L1TopoEvent
BaseTOB.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
#ifndef TopoCore_BaseTOB
4
#define TopoCore_BaseTOB
5
6
7
#include "
L1TopoCommon/Types.h
"
8
#include <iosfwd>
9
#include <cstdint>
10
11
namespace
TCS
{
12
13
class
BaseTOB
{
14
public
:
15
BaseTOB
(uint32_t
roiWord
,
const
std::string_view
tobType
);
16
virtual
~BaseTOB
();
17
18
virtual
void
print
(std::ostream&)
const
= 0;
19
20
virtual
inputTOBType_t
tobType
()
const
= 0;
21
22
uint32_t
roiWord
()
const
{
return
m_roiWord
; }
23
24
const
std::string&
tobName
()
const
{
return
m_tobName
; }
25
26
static
size_t
instances
() {
return
0; }
27
28
protected
:
29
int
sizeCheck
(
int
value,
unsigned
int
size
)
const
;
30
int
sizeCheckM
(
int
value,
unsigned
int
size
)
const
;
31
32
unsigned
int
sizeCheck
(
unsigned
int
value,
unsigned
int
size
)
const
;
33
34
35
private
:
36
37
uint32_t
m_roiWord
{};
38
std::string
m_tobName
;
39
40
};
41
42
std::ostream &
operator<<
(std::ostream & o,
const
TCS::BaseTOB
&);
43
44
}
45
46
#endif
size
size_t size() const
Number of registered mappings.
Types.h
TCS::BaseTOB
Definition
BaseTOB.h:13
TCS::BaseTOB::tobName
const std::string & tobName() const
Definition
BaseTOB.h:24
TCS::BaseTOB::print
virtual void print(std::ostream &) const =0
TCS::BaseTOB::~BaseTOB
virtual ~BaseTOB()
TCS::BaseTOB::sizeCheck
int sizeCheck(int value, unsigned int size) const
Definition
BaseTOB.cxx:32
TCS::BaseTOB::roiWord
uint32_t roiWord() const
Definition
BaseTOB.h:22
TCS::BaseTOB::m_tobName
std::string m_tobName
Definition
BaseTOB.h:38
TCS::BaseTOB::sizeCheckM
int sizeCheckM(int value, unsigned int size) const
Definition
BaseTOB.cxx:19
TCS::BaseTOB::BaseTOB
BaseTOB(uint32_t roiWord, const std::string_view tobType)
Definition
BaseTOB.cxx:11
TCS::BaseTOB::instances
static size_t instances()
Definition
BaseTOB.h:26
TCS::BaseTOB::m_roiWord
uint32_t m_roiWord
Definition
BaseTOB.h:37
TCS::BaseTOB::tobType
virtual inputTOBType_t tobType() const =0
TCS
Definition
AnomalyDetectionBDT.h:18
TCS::operator<<
std::ostream & operator<<(std::ostream &os, const TCS::Bin &bin)
Definition
AnomalyDetectionBDT.cxx:50
TCS::inputTOBType_t
inputTOBType_t
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:10
Generated on
for ATLAS Offline Software by
1.17.0