ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1MuctpiPhase1
src
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: Configuration.h 515239 2012-08-28 11:39:45Z krasznaa $
8
#ifndef TRIGT1MUCTPIPHASE1_CONFIGURATION_H
9
#define TRIGT1MUCTPIPHASE1_CONFIGURATION_H
10
11
namespace
LVL1MUCTPIPHASE1
{
12
25
class
Configuration
{
26
27
public
:
28
Configuration
()
29
:
m_doZeroSuppression
( true ),
30
m_threshold1Candidate
( 1 ),
31
m_threshold2Candidate
( 1 ),
32
m_suppressionMode
( 0 ),
33
m_maxCandPerPtvalue
( 64 ),
34
m_maxCandSendToRoib
( 14 ),
35
m_candBcidOffset
( 0 )
36
{}
37
38
// Configuration items for the MIOCTS
39
void
setDoZeroSuppression
(
bool
flag ) {
m_doZeroSuppression
= flag; }
40
bool
getDoZeroSuppression
()
const
{
return
m_doZeroSuppression
; }
41
42
// Configuration Items for the MIROD Extractor
43
// pt-thresholds for the first and second candidate
44
void
setThreshold1Candidate
(
unsigned
int
thr ) {
m_threshold1Candidate
= thr; }
45
unsigned
int
getThreshold1Candidate
()
const
{
return
m_threshold1Candidate
; }
46
void
setThreshold2Candidate
(
unsigned
int
thr ) {
m_threshold2Candidate
= thr; }
47
unsigned
int
getThreshold2Candidate
()
const
{
return
m_threshold2Candidate
; }
48
49
// Extractor suppression mode flag
50
void
setSuppressionMode
(
int
flag ) {
m_suppressionMode
= flag; }
51
int
getSuppressionMode
()
const
{
return
m_suppressionMode
; }
52
53
// Lvl2 processor configuration
54
unsigned
int
getMaxCandPerPtvalue
()
const
{
return
m_maxCandPerPtvalue
; }
//nonprogrammable
55
void
setMaxCandSendToRoib
(
unsigned
int
count
) {
m_maxCandSendToRoib
=
count
; }
56
unsigned
int
getMaxCandSendToRoib
()
const
{
return
m_maxCandSendToRoib
; }
57
void
setCandBcidOffset
(
unsigned
int
count
) {
m_candBcidOffset
=
count
; }
58
unsigned
int
getCandBcidOffset
()
const
{
return
m_candBcidOffset
; }
59
60
private
:
61
bool
m_doZeroSuppression
;
62
unsigned
int
m_threshold1Candidate
;
63
unsigned
int
m_threshold2Candidate
;
64
int
m_suppressionMode
;
65
unsigned
int
m_maxCandPerPtvalue
;
66
unsigned
int
m_maxCandSendToRoib
;
67
unsigned
int
m_candBcidOffset
;
68
69
};
// class Configuration
70
71
}
// namespace LVL1MUCTPI
72
73
#endif
// TRIGT1MUCTPI_CONFIGURATION_H
LVL1MUCTPIPHASE1::Configuration::m_maxCandPerPtvalue
unsigned int m_maxCandPerPtvalue
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:65
LVL1MUCTPIPHASE1::Configuration::getCandBcidOffset
unsigned int getCandBcidOffset() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:58
LVL1MUCTPIPHASE1::Configuration::m_candBcidOffset
unsigned int m_candBcidOffset
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:67
LVL1MUCTPIPHASE1::Configuration::setThreshold2Candidate
void setThreshold2Candidate(unsigned int thr)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:46
LVL1MUCTPIPHASE1::Configuration::getDoZeroSuppression
bool getDoZeroSuppression() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:40
LVL1MUCTPIPHASE1::Configuration::m_suppressionMode
int m_suppressionMode
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:64
LVL1MUCTPIPHASE1::Configuration::setThreshold1Candidate
void setThreshold1Candidate(unsigned int thr)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:44
LVL1MUCTPIPHASE1::Configuration::m_maxCandSendToRoib
unsigned int m_maxCandSendToRoib
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:66
LVL1MUCTPIPHASE1::Configuration::setDoZeroSuppression
void setDoZeroSuppression(bool flag)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:39
LVL1MUCTPIPHASE1::Configuration::setCandBcidOffset
void setCandBcidOffset(unsigned int count)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:57
LVL1MUCTPIPHASE1::Configuration::m_threshold2Candidate
unsigned int m_threshold2Candidate
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:63
LVL1MUCTPIPHASE1::Configuration::getThreshold1Candidate
unsigned int getThreshold1Candidate() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:45
LVL1MUCTPIPHASE1::Configuration::setMaxCandSendToRoib
void setMaxCandSendToRoib(unsigned int count)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:55
LVL1MUCTPIPHASE1::Configuration::m_doZeroSuppression
bool m_doZeroSuppression
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:61
LVL1MUCTPIPHASE1::Configuration::getMaxCandPerPtvalue
unsigned int getMaxCandPerPtvalue() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:54
LVL1MUCTPIPHASE1::Configuration::getThreshold2Candidate
unsigned int getThreshold2Candidate() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:47
LVL1MUCTPIPHASE1::Configuration::getMaxCandSendToRoib
unsigned int getMaxCandSendToRoib() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:56
LVL1MUCTPIPHASE1::Configuration::getSuppressionMode
int getSuppressionMode() const
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:51
LVL1MUCTPIPHASE1::Configuration::setSuppressionMode
void setSuppressionMode(int flag)
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:50
LVL1MUCTPIPHASE1::Configuration::Configuration
Configuration()
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:28
LVL1MUCTPIPHASE1::Configuration::m_threshold1Candidate
unsigned int m_threshold1Candidate
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:62
count
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
Definition
hcg.cxx:148
LVL1MUCTPIPHASE1
Definition
Trigger/TrigT1/TrigT1MuctpiPhase1/src/Configuration.h:11
Generated on
for ATLAS Offline Software by
1.17.0