ATLAS Offline Software
Loading...
Searching...
No Matches
IeEmTOB.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef GLOBALSIM_IEEMTOB_H
13#define GLOBALSIM_IEEMTOB_H
14
15#include "ICommonTOB.h"
17
18#include <ostream>
19
20namespace GlobalSim::IOBitwise {
29 class IeEmTOB : virtual public ICommonTOB {
30
31 public:
32
34 virtual ~IeEmTOB(){}
35
36
38 static constexpr std::size_t s_RHad_width{2};
40 static constexpr std::size_t s_WsTot_width{2};
42 static constexpr std::size_t s_REta_width{2};
44 static constexpr std::size_t s_Seed_width{2};
46 static constexpr std::size_t s_UpNotDown_width{1};
48 static constexpr std::size_t s_SeedIsMax_width{1};
49
51 virtual const std::bitset<s_RHad_width>& RHad_bits() const = 0;
53 virtual const std::bitset<s_WsTot_width>& WsTot_bits() const = 0;
55 virtual const std::bitset<s_REta_width>& REta_bits() const = 0;
57 virtual const std::bitset<s_Seed_width>& Seed_bits() const = 0;
62 virtual const std::bitset<s_UpNotDown_width>& UpNotDown_bit() const = 0;
67 virtual const std::bitset<s_SeedIsMax_width>& SeedIsMax_bit() const = 0;
69 virtual std::string to_string() const = 0;
70 };
71} //End of namespace
72
73std::ostream& operator << (std::ostream&,
75
77
78#endif //GLOBALSIM_IEEMTOB_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::ostream & operator<<(std::ostream &, const GlobalSim::IOBitwise::IeEmTOB &)
Definition IeEmTOB.cxx:22
Class to hold common (eta/eta/phi) TOB bits.
Definition ICommonTOB.h:27
Class to hold eFexROI TOB bits.
Definition IeEmTOB.h:29
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
static constexpr std::size_t s_RHad_width
Count: Size of hadronic thresholds satisfied bitset.
Definition IeEmTOB.h:38
static constexpr std::size_t s_UpNotDown_width
Count: Size of UpnotDown bit.
Definition IeEmTOB.h:46
virtual const std::bitset< s_UpNotDown_width > & UpNotDown_bit() const =0
Returns the eFexRoI up not down bit.
virtual const std::bitset< s_Seed_width > & Seed_bits() const =0
Returns the eFexRoI seed eta position bits.
virtual const std::bitset< s_SeedIsMax_width > & SeedIsMax_bit() const =0
Returns the eFexRoI seed is a local maxima bit.
static constexpr std::size_t s_WsTot_width
Count: Size of WsTot algorithm thresholds satisfied bitset.
Definition IeEmTOB.h:40
static constexpr std::size_t s_SeedIsMax_width
Count: Size of Seed supercell is a local maxima bit.
Definition IeEmTOB.h:48
virtual ~IeEmTOB()
Destructor.
Definition IeEmTOB.h:34
virtual std::string to_string() const =0
print out contents to string
Definition IeEmTOB.cxx:10
static constexpr std::size_t s_REta_width
Count: Size of R0 thresholds satisfied bitset.
Definition IeEmTOB.h:42
static constexpr std::size_t s_Seed_width
Count: Size of Seed eta position in the TOB bitset.
Definition IeEmTOB.h:44
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.