ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
AcceptAllCondition.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
#
5
#include "
./AcceptAllCondition.h
"
6
#include "
./ITrigJetHypoInfoCollector.h
"
7
#include "
TrigHLTJetHypo/TrigHLTJetHypoUtils/IJet.h
"
8
9
#include <sstream>
10
11
bool
12
AcceptAllCondition::isSatisfied
(
const
HypoJetVector
& ips,
13
const
std::unique_ptr<ITrigJetHypoInfoCollector>& collector)
const
{
14
15
if
(collector){
16
std::stringstream ss0;
17
const
void
* address =
static_cast<
const
void
*
>
(
this
);
18
ss0 <<
"AcceptAllCondition: ("
<< address <<
") "
19
<<
" true jet group: \n"
;
20
21
std::stringstream ss1;
22
23
for
(
const
auto
& ip : ips){
24
address =
static_cast<
const
void
*
>
(ip.get());
25
ss1 <<
" "
<< address <<
" "
<< ip->eta() <<
" e "
<< ip->e() <<
'\n'
;
26
}
27
ss1 <<
'\n'
;
28
collector -> collect(ss0.str(), ss1.str());
29
}
30
31
return
true
;
32
}
33
34
35
36
std::string
AcceptAllCondition::toString
()
const
{
37
std::stringstream
ss
;
38
39
ss
<<
"AcceptAllCondition ("
<<
this
<<
")\n"
;
40
return
ss
.str();
41
}
AcceptAllCondition.h
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition
HypoJetDefs.h:27
IJet.h
ITrigJetHypoInfoCollector.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
AcceptAllCondition::isSatisfied
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition
AcceptAllCondition.cxx:12
AcceptAllCondition::toString
std::string toString() const override
Definition
AcceptAllCondition.cxx:36
Generated on
for ATLAS Offline Software by
1.17.0