ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
CombinationsGenerator.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
./CombinationsGenerator.h
"
6
#include <iostream>
7
8
std::ostream&
operator <<
(std::ostream& os,
const
CombinationsGenerator
& cg){
9
os <<
"CombinationsGenerator m_invalid "
<<std::boolalpha << cg.
m_invalid
10
<<
" bitmask len "
<< cg.
m_bitmask
.size()
11
<<
" m_bitmask: "
;
12
for
(
const
auto
& c : cg.
m_bitmask
) {
13
if
(c == 0) {
14
os << 0 <<
" "
;
15
}
else
if
(c == 1) {
16
os << 1 <<
" "
;
17
}
else
{
18
os <<
'?'
<<
" "
;
19
}
20
}
21
os <<
" m_N "
<< cg.
m_N
<<
" m_K "
<< cg.
m_K
;
22
23
os <<
'\n'
<< std::noboolalpha;
//restore default
24
return
os;
25
}
operator<<
std::ostream & operator<<(std::ostream &os, const CombinationsGenerator &cg)
Definition
CombinationsGenerator.cxx:8
CombinationsGenerator.h
CombinationsGenerator::m_bitmask
std::string m_bitmask
Definition
CombinationsGenerator.h:77
CombinationsGenerator::CombinationsGenerator
CombinationsGenerator(std::size_t n, std::size_t k)
Definition
CombinationsGenerator.h:29
CombinationsGenerator::m_N
std::size_t m_N
Definition
CombinationsGenerator.h:79
CombinationsGenerator::m_invalid
bool m_invalid
Definition
CombinationsGenerator.h:76
CombinationsGenerator::m_K
std::size_t m_K
Definition
CombinationsGenerator.h:80
Generated on
for ATLAS Offline Software by
1.14.0