ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoCoreSim
L1TopoCoreSim
TopoCoreSimResult.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
// TopoCoreSimResult.h
5
// L1TopoEvent
6
// Created by Joerg Stelzer on 11/29/12.
7
8
#ifndef __L1TopoEvent__TopoCoreSimResult__
9
#define __L1TopoEvent__TopoCoreSimResult__
10
11
#include "
TrigConfBase/TrigConfMessaging.h
"
12
13
#include "
TrigConfData/L1Menu.h
"
14
15
#include <iostream>
16
#include "
L1TopoCommon/StatusCode.h
"
17
#include "
L1TopoCoreSim/GlobalOutput.h
"
18
#include <vector>
19
#include <map>
20
#include <set>
21
22
namespace
TCS
{
class
TopoCoreSimResult
; }
23
24
std::ostream&
operator<<
(std::ostream&,
const
TCS::TopoCoreSimResult
&);
25
26
namespace
TXC
{
27
class
L1TopoMenu
;
28
}
29
30
namespace
TCS
{
31
32
class
TOBArray
;
33
class
DecisionConnector
;
34
class
CountingConnector
;
35
36
class
TopoCoreSimResult
:
public
TrigConf::TrigConfMessaging
{
37
public
:
38
TopoCoreSimResult
();
39
~TopoCoreSimResult
();
40
41
bool
triggerDecision
(
const
std::string & triggerName)
const
;
42
43
const
TCS::TOBArray
*
triggerOutput
(
const
std::string & triggerName)
const
;
44
45
const
GlobalOutput
&
globalOutput
()
const
{
return
m_globalOutput
; }
46
47
const
std::vector<const TCS::TOBArray*> &
output
(
const
std::string & connName)
const
;
48
49
StatusCode
setupFromMenu
(
const
std::map<std::string, TCS::DecisionConnector*>& outputConnectorMap,
const
std::map<std::string, TCS::CountingConnector*>& countConnectorMap);
50
51
StatusCode
collectResult
(
TCS::DecisionConnector
* outputConn =
nullptr
,
TCS::CountingConnector
* countConn =
nullptr
);
52
53
StatusCode
reset
();
54
55
void
setMsgLevel
(
TrigConf::MSGTC::Level
lvl );
56
57
private
:
58
friend
std::ostream& ::operator<<(std::ostream&,
const
TCS::TopoCoreSimResult
&);
59
60
GlobalOutput
m_globalOutput
;
61
62
// map from connector name to decision connectors
63
std::map<std::string, TCS::DecisionConnector*>
m_outputConnectorMap
;
64
65
// map from trigger name to decision connectors
66
std::map<std::string, TCS::DecisionConnector*>
m_triggerLocationDec
;
67
68
std::set<TCS::DecisionConnector*>
m_outputConnectors
;
69
70
// map from connector name to counting connectors
71
std::map<std::string, TCS::CountingConnector*>
m_countConnectorMap
;
72
73
// map from trigger name to counting connectors
74
std::map<std::string, TCS::CountingConnector*>
m_triggerLocationCount
;
75
76
std::set<TCS::CountingConnector*>
m_countConnectors
;
77
78
79
};
80
81
}
82
83
84
#endif
GlobalOutput.h
L1Menu.h
operator<<
std::ostream & operator<<(std::ostream &, const TCS::TopoCoreSimResult &)
Definition
TopoCoreSimResult.cxx:142
TrigConfMessaging.h
Messaging base class for TrigConf code shared with Lvl1 ( AthMessaging).
StatusCode.h
TCS::CountingConnector
Definition
CountingConnector.h:26
TCS::DecisionConnector
Definition
DecisionConnector.h:23
TCS::GlobalOutput
Definition
GlobalOutput.h:37
TCS::StatusCode
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15
TCS::TOBArray
Definition
TOBArray.h:24
TCS::TopoCoreSimResult
Definition
TopoCoreSimResult.h:36
TCS::TopoCoreSimResult::m_triggerLocationDec
std::map< std::string, TCS::DecisionConnector * > m_triggerLocationDec
Definition
TopoCoreSimResult.h:66
TCS::TopoCoreSimResult::m_outputConnectorMap
std::map< std::string, TCS::DecisionConnector * > m_outputConnectorMap
Definition
TopoCoreSimResult.h:63
TCS::TopoCoreSimResult::globalOutput
const GlobalOutput & globalOutput() const
Definition
TopoCoreSimResult.h:45
TCS::TopoCoreSimResult::m_globalOutput
GlobalOutput m_globalOutput
Definition
TopoCoreSimResult.h:60
TCS::TopoCoreSimResult::m_triggerLocationCount
std::map< std::string, TCS::CountingConnector * > m_triggerLocationCount
Definition
TopoCoreSimResult.h:74
TCS::TopoCoreSimResult::collectResult
StatusCode collectResult(TCS::DecisionConnector *outputConn=nullptr, TCS::CountingConnector *countConn=nullptr)
Definition
TopoCoreSimResult.cxx:53
TCS::TopoCoreSimResult::~TopoCoreSimResult
~TopoCoreSimResult()
Definition
TopoCoreSimResult.cxx:30
TCS::TopoCoreSimResult::m_countConnectors
std::set< TCS::CountingConnector * > m_countConnectors
Definition
TopoCoreSimResult.h:76
TCS::TopoCoreSimResult::m_outputConnectors
std::set< TCS::DecisionConnector * > m_outputConnectors
Definition
TopoCoreSimResult.h:68
TCS::TopoCoreSimResult::reset
StatusCode reset()
Definition
TopoCoreSimResult.cxx:73
TCS::TopoCoreSimResult::triggerDecision
bool triggerDecision(const std::string &triggerName) const
Definition
TopoCoreSimResult.cxx:35
TCS::TopoCoreSimResult::output
const std::vector< const TCS::TOBArray * > & output(const std::string &connName) const
Definition
TopoCoreSimResult.cxx:125
TCS::TopoCoreSimResult::m_countConnectorMap
std::map< std::string, TCS::CountingConnector * > m_countConnectorMap
Definition
TopoCoreSimResult.h:71
TCS::TopoCoreSimResult::setupFromMenu
StatusCode setupFromMenu(const std::map< std::string, TCS::DecisionConnector * > &outputConnectorMap, const std::map< std::string, TCS::CountingConnector * > &countConnectorMap)
Definition
TopoCoreSimResult.cxx:79
TCS::TopoCoreSimResult::setMsgLevel
void setMsgLevel(TrigConf::MSGTC::Level lvl)
Definition
TopoCoreSimResult.cxx:160
TCS::TopoCoreSimResult::triggerOutput
const TCS::TOBArray * triggerOutput(const std::string &triggerName) const
Definition
TopoCoreSimResult.cxx:43
TCS::TopoCoreSimResult::TopoCoreSimResult
TopoCoreSimResult()
Definition
TopoCoreSimResult.cxx:26
TXC::L1TopoMenu
Definition
L1TopoMenu.h:25
TrigConf::TrigConfMessaging
Class to provide easy access to TrigConf::MsgStream for TrigConf classes.
Definition
TrigConfMessaging.h:28
TCS
Definition
AnomalyDetectionBDT.h:18
TXC
Definition
Run2toRun3ConvertersL1.h:5
TrigConf::MSGTC::Level
Level
Definition
Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
Generated on
for ATLAS Offline Software by
1.17.0