ATLAS Offline Software
Loading...
Searching...
No Matches
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
12
26
27 public:
37
38 // Configuration items for the MIOCTS
39 void setDoZeroSuppression( bool flag ) { m_doZeroSuppression = flag; }
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
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:
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
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146