ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfL1Data
TrigConfL1Data
TriggerThresholdValue.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TrigConf_TriggerThresholdValue
8
#define TrigConf_TriggerThresholdValue
9
10
#include "
TrigConfL1Data/L1DataBaseclass.h
"
11
12
#include <string>
13
14
namespace
TrigConf
{
15
16
namespace
JetWindowSize
{
17
enum
Size
{
NONE
,
SMALL
,
LARGE
,
UNDEF
};
18
}
19
20
class
CaloInfo;
21
22
class
TriggerThresholdValue
:
public
L1DataBaseclass
{
23
public
:
24
static
const
int
fgCaloClusterOff
;
25
static
const
int
fgCaloJetOff
;
26
static
const
int
fgCaloEtSumOff
;
27
static
const
int
fgCaloEtMissOff
;
28
static
const
int
fgCaloJetEtOff
;
29
static
const
int
fgCaloIsolationOff
;
30
31
public
:
32
static
void
setCaloInfo
(
const
CaloInfo
& ci);
33
static
float
caloGlobalScale
();
34
static
float
caloGlobalScaleGeVToCount
();
35
static
float
caloGlobalScaleCountToGeV
();
36
37
public
:
38
TriggerThresholdValue
();
39
virtual
~TriggerThresholdValue
()
override
=
default
;
40
41
virtual
TriggerThresholdValue
*
createCopy
()
const
= 0;
42
43
// getters
44
const
std::string&
type
()
const
{
return
m_Type
; }
45
float
ptcut
()
const
{
return
m_Ptcut
; }
46
float
priority
()
const
{
return
m_Priority
; }
47
int
ptCutCount
()
const
{
return
thresholdValueCount
(); }
48
virtual
int
thresholdValueCount
()
const
;
49
unsigned
int
window
()
const
{
return
m_Window
; }
50
virtual
JetWindowSize::Size
windowSize
()
const
{
return
m_WindowSize
; }
51
int
phimin
()
const
{
return
m_PhiMin
; }
52
int
phimax
()
const
{
return
m_PhiMax
; }
53
int
etamin
()
const
{
return
m_EtaMin
; }
54
int
etamax
()
const
{
return
m_EtaMax
; }
55
56
// setters
57
void
setType
(
const
std::string&
type
) {
m_Type
=
type
; }
58
void
setPtcut
(
float
pt) {
m_Ptcut
= pt; }
59
void
setPriority
(
float
prio) {
m_Priority
= prio; }
60
void
setWindow
(
int
value ) {
m_Window
= value; }
61
void
setPhiMin
(
int
value ) {
m_PhiMin
= value; }
62
void
setPhiMax
(
int
value ) {
m_PhiMax
= value; }
63
void
setEtaMin
(
int
value ) {
m_EtaMin
= value; }
64
void
setEtaMax
(
int
value ) {
m_EtaMax
= value; }
65
66
// geometrical check
67
bool
contains
(
float
eta
,
float
phi
)
const
;
68
69
// access to global Calo configuration
70
const
CaloInfo
&
caloInfo
()
const
;
71
72
virtual
void
print
(
const
std::string&
indent
=
""
,
unsigned
int
detail
=1)
const override
= 0;
73
virtual
void
writeXML
(std::ostream &
xmlfile
,
int
indentLevel=0,
int
indentWidth=2)
const
;
74
75
protected
:
76
std::string
m_Type
;
77
float
m_Ptcut
;
78
unsigned
int
m_Priority
;
79
unsigned
int
m_Window
;
80
JetWindowSize::Size
m_WindowSize
;
// mutable as long as we calculate it on the fly
81
int
m_PhiMin
;
82
int
m_PhiMax
;
83
int
m_EtaMin
;
84
int
m_EtaMax
;
85
};
86
87
}
88
89
#endif
90
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
L1DataBaseclass.h
TrigConf::CaloInfo
Definition
CaloInfo.h:35
TrigConf::L1DataBaseclass::L1DataBaseclass
L1DataBaseclass()
Definition
L1DataBaseclass.h:24
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition
TrigConfData.cxx:23
TrigConf::TriggerThresholdValue::m_EtaMin
int m_EtaMin
Definition
TriggerThresholdValue.h:83
TrigConf::TriggerThresholdValue::m_Window
unsigned int m_Window
Definition
TriggerThresholdValue.h:79
TrigConf::TriggerThresholdValue::m_WindowSize
JetWindowSize::Size m_WindowSize
Definition
TriggerThresholdValue.h:80
TrigConf::TriggerThresholdValue::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition
TriggerThresholdValue.cxx:99
TrigConf::TriggerThresholdValue::setPtcut
void setPtcut(float pt)
Definition
TriggerThresholdValue.h:58
TrigConf::TriggerThresholdValue::setEtaMax
void setEtaMax(int value)
Definition
TriggerThresholdValue.h:64
TrigConf::TriggerThresholdValue::~TriggerThresholdValue
virtual ~TriggerThresholdValue() override=default
TrigConf::TriggerThresholdValue::phimin
int phimin() const
Definition
TriggerThresholdValue.h:51
TrigConf::TriggerThresholdValue::caloGlobalScaleCountToGeV
static float caloGlobalScaleCountToGeV()
Definition
TriggerThresholdValue.cxx:57
TrigConf::TriggerThresholdValue::setWindow
void setWindow(int value)
Definition
TriggerThresholdValue.h:60
TrigConf::TriggerThresholdValue::m_Priority
unsigned int m_Priority
Definition
TriggerThresholdValue.h:78
TrigConf::TriggerThresholdValue::fgCaloJetEtOff
static const int fgCaloJetEtOff
Definition
TriggerThresholdValue.h:28
TrigConf::TriggerThresholdValue::setPriority
void setPriority(float prio)
Definition
TriggerThresholdValue.h:59
TrigConf::TriggerThresholdValue::caloGlobalScale
static float caloGlobalScale()
Definition
TriggerThresholdValue.cxx:41
TrigConf::TriggerThresholdValue::contains
bool contains(float eta, float phi) const
Definition
TriggerThresholdValue.cxx:81
TrigConf::TriggerThresholdValue::m_PhiMin
int m_PhiMin
Definition
TriggerThresholdValue.h:81
TrigConf::TriggerThresholdValue::caloGlobalScaleGeVToCount
static float caloGlobalScaleGeVToCount()
Definition
TriggerThresholdValue.cxx:48
TrigConf::TriggerThresholdValue::fgCaloClusterOff
static const int fgCaloClusterOff
Definition
TriggerThresholdValue.h:24
TrigConf::TriggerThresholdValue::fgCaloIsolationOff
static const int fgCaloIsolationOff
Definition
TriggerThresholdValue.h:29
TrigConf::TriggerThresholdValue::createCopy
virtual TriggerThresholdValue * createCopy() const =0
TrigConf::TriggerThresholdValue::setType
void setType(const std::string &type)
Definition
TriggerThresholdValue.h:57
TrigConf::TriggerThresholdValue::ptCutCount
int ptCutCount() const
Definition
TriggerThresholdValue.h:47
TrigConf::TriggerThresholdValue::windowSize
virtual JetWindowSize::Size windowSize() const
Definition
TriggerThresholdValue.h:50
TrigConf::TriggerThresholdValue::setPhiMin
void setPhiMin(int value)
Definition
TriggerThresholdValue.h:61
TrigConf::TriggerThresholdValue::priority
float priority() const
Definition
TriggerThresholdValue.h:46
TrigConf::TriggerThresholdValue::thresholdValueCount
virtual int thresholdValueCount() const
Definition
TriggerThresholdValue.cxx:76
TrigConf::TriggerThresholdValue::m_PhiMax
int m_PhiMax
Definition
TriggerThresholdValue.h:82
TrigConf::TriggerThresholdValue::TriggerThresholdValue
TriggerThresholdValue()
Definition
TriggerThresholdValue.cxx:62
TrigConf::TriggerThresholdValue::ptcut
float ptcut() const
Definition
TriggerThresholdValue.h:45
TrigConf::TriggerThresholdValue::caloInfo
const CaloInfo & caloInfo() const
Definition
TriggerThresholdValue.cxx:35
TrigConf::TriggerThresholdValue::fgCaloEtMissOff
static const int fgCaloEtMissOff
Definition
TriggerThresholdValue.h:27
TrigConf::TriggerThresholdValue::m_Ptcut
float m_Ptcut
Definition
TriggerThresholdValue.h:77
TrigConf::TriggerThresholdValue::phimax
int phimax() const
Definition
TriggerThresholdValue.h:52
TrigConf::TriggerThresholdValue::setPhiMax
void setPhiMax(int value)
Definition
TriggerThresholdValue.h:62
TrigConf::TriggerThresholdValue::setEtaMin
void setEtaMin(int value)
Definition
TriggerThresholdValue.h:63
TrigConf::TriggerThresholdValue::m_Type
std::string m_Type
Definition
TriggerThresholdValue.h:76
TrigConf::TriggerThresholdValue::window
unsigned int window() const
Definition
TriggerThresholdValue.h:49
TrigConf::TriggerThresholdValue::fgCaloJetOff
static const int fgCaloJetOff
Definition
TriggerThresholdValue.h:25
TrigConf::TriggerThresholdValue::type
const std::string & type() const
Definition
TriggerThresholdValue.h:44
TrigConf::TriggerThresholdValue::etamax
int etamax() const
Definition
TriggerThresholdValue.h:54
TrigConf::TriggerThresholdValue::etamin
int etamin() const
Definition
TriggerThresholdValue.h:53
TrigConf::TriggerThresholdValue::setCaloInfo
static void setCaloInfo(const CaloInfo &ci)
Definition
TriggerThresholdValue.cxx:29
TrigConf::TriggerThresholdValue::fgCaloEtSumOff
static const int fgCaloEtSumOff
Definition
TriggerThresholdValue.h:26
TrigConf::TriggerThresholdValue::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override=0
Definition
TriggerThresholdValue.cxx:87
TrigConf::TriggerThresholdValue::m_EtaMax
int m_EtaMax
Definition
TriggerThresholdValue.h:84
xmlfile
static std::vector< std::string > xmlfile
Definition
iLumiCalc.h:29
TrigConf::JetWindowSize
Definition
TriggerThresholdValue.h:16
TrigConf::JetWindowSize::Size
Size
Definition
TriggerThresholdValue.h:17
TrigConf::JetWindowSize::SMALL
@ SMALL
Definition
TriggerThresholdValue.h:17
TrigConf::JetWindowSize::NONE
@ NONE
Definition
TriggerThresholdValue.h:17
TrigConf::JetWindowSize::LARGE
@ LARGE
Definition
TriggerThresholdValue.h:17
TrigConf::JetWindowSize::UNDEF
@ UNDEF
Definition
TriggerThresholdValue.h:17
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
detail
Definition
extract_histogram_tag.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0