ATLAS Offline Software
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:
29  : m_doZeroSuppression( true ),
32  m_suppressionMode( 0 ),
33  m_maxCandPerPtvalue( 64 ),
34  m_maxCandSendToRoib( 14 ),
35  m_candBcidOffset( 0 )
36  {}
37 
38  // Configuration items for the MIOCTS
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
51  int getSuppressionMode() const { return m_suppressionMode; }
52 
53  // Lvl2 processor configuration
54  unsigned int getMaxCandPerPtvalue() const { return m_maxCandPerPtvalue; } //nonprogrammable
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:
62  unsigned int m_threshold1Candidate;
63  unsigned int m_threshold2Candidate;
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_doZeroSuppression
bool m_doZeroSuppression
Definition: Configuration.h:61
LVL1MUCTPIPHASE1::Configuration::setThreshold1Candidate
void setThreshold1Candidate(unsigned int thr)
Definition: Configuration.h:44
LVL1MUCTPIPHASE1::Configuration::setCandBcidOffset
void setCandBcidOffset(unsigned int count)
Definition: Configuration.h:57
LVL1MUCTPIPHASE1::Configuration::m_suppressionMode
int m_suppressionMode
Definition: Configuration.h:64
LVL1MUCTPIPHASE1::Configuration::getThreshold1Candidate
unsigned int getThreshold1Candidate() const
Definition: Configuration.h:45
LVL1MUCTPIPHASE1::Configuration::getCandBcidOffset
unsigned int getCandBcidOffset() const
Definition: Configuration.h:58
LVL1MUCTPIPHASE1::Configuration::setThreshold2Candidate
void setThreshold2Candidate(unsigned int thr)
Definition: Configuration.h:46
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
LVL1MUCTPIPHASE1::Configuration::getDoZeroSuppression
bool getDoZeroSuppression() const
Definition: Configuration.h:40
LVL1MUCTPIPHASE1::Configuration::m_threshold2Candidate
unsigned int m_threshold2Candidate
Definition: Configuration.h:63
LVL1MUCTPIPHASE1::Configuration
Header files holding configuration items for the MUCTPI.
Definition: Configuration.h:25
LVL1MUCTPIPHASE1
Definition: Configuration.h:11
LVL1MUCTPIPHASE1::Configuration::getSuppressionMode
int getSuppressionMode() const
Definition: Configuration.h:51
master.flag
bool flag
Definition: master.py:29
LVL1MUCTPIPHASE1::Configuration::m_maxCandSendToRoib
unsigned int m_maxCandSendToRoib
Definition: Configuration.h:66
LVL1MUCTPIPHASE1::Configuration::m_candBcidOffset
unsigned int m_candBcidOffset
Definition: Configuration.h:67
LVL1MUCTPIPHASE1::Configuration::getThreshold2Candidate
unsigned int getThreshold2Candidate() const
Definition: Configuration.h:47
LVL1MUCTPIPHASE1::Configuration::getMaxCandSendToRoib
unsigned int getMaxCandSendToRoib() const
Definition: Configuration.h:56
LVL1MUCTPIPHASE1::Configuration::setMaxCandSendToRoib
void setMaxCandSendToRoib(unsigned int count)
Definition: Configuration.h:55
LVL1MUCTPIPHASE1::Configuration::Configuration
Configuration()
Definition: Configuration.h:28
LVL1MUCTPIPHASE1::Configuration::setDoZeroSuppression
void setDoZeroSuppression(bool flag)
Definition: Configuration.h:39
LVL1MUCTPIPHASE1::Configuration::setSuppressionMode
void setSuppressionMode(int flag)
Definition: Configuration.h:50
LVL1MUCTPIPHASE1::Configuration::m_maxCandPerPtvalue
unsigned int m_maxCandPerPtvalue
Definition: Configuration.h:65
LVL1MUCTPIPHASE1::Configuration::m_threshold1Candidate
unsigned int m_threshold1Candidate
Definition: Configuration.h:62
LVL1MUCTPIPHASE1::Configuration::getMaxCandPerPtvalue
unsigned int getMaxCandPerPtvalue() const
Definition: Configuration.h:54