ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CTP
src
ThresholdMap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1CTP_THRESHOLDMAP_H
6
#define TRIGT1CTP_THRESHOLDMAP_H
7
8
#include "
./CTPTriggerThreshold.h
"
9
10
#include "
TrigConfData/L1Menu.h
"
11
12
#include "
TrigConfL1Data/TriggerThreshold.h
"
13
#include "
TrigConfL1Data/PIT.h
"
14
#include "
TrigConfL1Data/TIP.h
"
15
16
#include <vector>
17
#include <map>
18
19
namespace
LVL1CTP
{
20
24
25
class
ThresholdMap
{
26
public
:
27
ThresholdMap
() =
delete
;
28
29
// construct map from L1Menu (Run 3)
30
ThresholdMap
(
const
TrigConf::L1Menu
* l1menu );
31
32
// construct map from thresholds using default PIT mapping (Run 1)
33
ThresholdMap
(
const
std::vector< TrigConf::TriggerThreshold* >& threshold_vector);
34
35
// construct map from thresholds using given PIT mapping (Run 1)
36
ThresholdMap
(
const
std::vector< TrigConf::TriggerThreshold* >& threshold_vector,
const
std::vector< TrigConf::PIT* >& pit_vector);
37
38
// construct map from thresholds using default TIP mapping (Run 2)
39
ThresholdMap
(
const
std::vector< TrigConf::TriggerThreshold* >& threshold_vector,
const
std::vector< TrigConf::TIP* >& pit_vector );
40
42
~ThresholdMap
();
43
44
// Function returning the threshold names
45
std::vector<std::string>
getThresholdNames
()
const
;
46
47
// Function returning the CTPTriggerThreshold object belonging to the given TriggerThreshold object
48
const
CTPTriggerThreshold
&
getCTPThreshold
(
const
std::string & thrName )
const
;
49
50
private
:
51
53
std::map< std::string, const CTPTriggerThreshold* >
m_mapByName
;
54
55
};
56
57
}
58
59
#endif
CTPTriggerThreshold.h
L1Menu.h
PIT.h
TIP.h
TriggerThreshold.h
LVL1CTP::CTPTriggerThreshold
Helper class holding trigger threshold multiplicity.
Definition
CTPTriggerThreshold.h:17
LVL1CTP::ThresholdMap::ThresholdMap
ThresholdMap()=delete
LVL1CTP::ThresholdMap::getCTPThreshold
const CTPTriggerThreshold & getCTPThreshold(const std::string &thrName) const
Definition
ThresholdMap.cxx:100
LVL1CTP::ThresholdMap::m_mapByName
std::map< std::string, const CTPTriggerThreshold * > m_mapByName
map storing the accosiation between threshold name and CTPTriggerThreshold
Definition
ThresholdMap.h:53
LVL1CTP::ThresholdMap::getThresholdNames
std::vector< std::string > getThresholdNames() const
Definition
ThresholdMap.cxx:90
LVL1CTP::ThresholdMap::~ThresholdMap
~ThresholdMap()
default destructor
Definition
ThresholdMap.cxx:83
TrigConf::L1Menu
L1 menu configuration.
Definition
L1Menu.h:29
LVL1CTP
Definition
Lvl1ResultAccessTool.h:20
Generated on
for ATLAS Offline Software by
1.17.0