ATLAS Offline Software
SimController.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // This file is really -*- C++ -*-.
6 #ifndef TRIGT1MUCTPIPHASE1_SIMCONTROLLER_H
7 #define TRIGT1MUCTPIPHASE1_SIMCONTROLLER_H
8 
9 #include <vector>
10 #include <list>
11 #include <string>
12 
13 #include "Configuration.h"
15 #include "MuonSectorProcessor.h"
16 #include "TriggerProcessor.h"
17 #include "MUCTPIResults.h"
18 
20 
21 namespace LVL1
22 {
23  class MuCTPIL1Topo;
24 }
25 
26 namespace LVL1MUCTPIPHASE1 {
27 
29  {
30 
31  public:
34 
35  SimController() = default;
36 
37  std::vector<std::string> configureTopo(const std::string& barrelFileName,
38  const std::string& ecfFileName,
39  const std::string& side0LUTFileName,
40  const std::string& side1LUTFileName);
41 
43  void setConfiguration( const Configuration& conf );
44 
47 
48  private:
49 
50  bool m_doZeroSuppression{true};
51  unsigned int m_threshold1Candidate{1};
52  unsigned int m_threshold2Candidate{1};
54  unsigned int m_maxCandPerPtvalue{64};
55  unsigned int m_maxCandSendToRoib{14};
56  unsigned int m_candBcidOffset{0};
57  std::vector< std::vector< unsigned int > > m_ptSorterBuckets;
58 
60 
65  };
66 
67 }
68 
69 #endif // TRIGT1MUCTPIPHASE1_SIMCONTROLLER_H
verify_menu_config.results
results
Definition: verify_menu_config.py:67
TriggerProcessor.h
LVL1MUONIF::Lvl1MuCTPIInputPhase1
Class representing (part of) the input data to the MuCTPI for Phase 1.
Definition: Lvl1MuCTPIInputPhase1.h:34
LVL1MUCTPIPHASE1::SimController::setConfiguration
void setConfiguration(const Configuration &conf)
Definition: SimController.cxx:38
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1MUCTPIPHASE1::SimController::processData
std::string processData(LVL1MUONIF::Lvl1MuCTPIInputPhase1 *input, MUCTPIResults &results, int bcid) const
Definition: SimController.cxx:55
LVL1MUCTPIPHASE1::MuonSectorProcessor
Definition: MuonSectorProcessor.h:37
LVL1MUCTPIPHASE1::SimController::m_threshold1Candidate
unsigned int m_threshold1Candidate
Definition: SimController.h:51
LVL1MUCTPIPHASE1::SimController::m_l1topoLUT
L1TopoLUT m_l1topoLUT
Definition: SimController.h:59
Lvl1MuCTPIInputPhase1.h
L1TopoLUT.h
python.ConfigurableDb.conf
def conf
Definition: ConfigurableDb.py:282
LVL1MUCTPIPHASE1::Configuration
Header files holding configuration items for the MUCTPI.
Definition: Configuration.h:25
MuonSectorProcessor.h
LVL1MUCTPIPHASE1
Definition: Configuration.h:11
LVL1MUCTPIPHASE1::MUCTPIResults
Definition: MUCTPIResults.h:32
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideA
static size_t idSideA()
Definition: Lvl1MuCTPIInputPhase1.h:141
LVL1MUCTPIPHASE1::SimController::m_candBcidOffset
unsigned int m_candBcidOffset
Definition: SimController.h:56
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
LVL1MUONIF::Lvl1MuCTPIInputPhase1::NumberOfMuonSubSystem
@ NumberOfMuonSubSystem
Definition: Lvl1MuCTPIInputPhase1.h:51
LVL1MUCTPIPHASE1::SimController::getTriggerProcessor
TriggerProcessor & getTriggerProcessor()
Definition: SimController.h:45
LVL1MUCTPIPHASE1::SimController::m_doZeroSuppression
bool m_doZeroSuppression
Definition: SimController.h:50
LVL1MUCTPIPHASE1::SimController::m_triggerProcessor
TriggerProcessor m_triggerProcessor
Definition: SimController.h:61
lumiFormat.array
array
Definition: lumiFormat.py:91
LVL1MUCTPIPHASE1::SimController::MuonSectorProcessors
std::array< MuonSectorProcessor, LVL1MUONIF::Lvl1MuCTPIInputPhase1::NumberOfMuonSubSystem > MuonSectorProcessors
Definition: SimController.h:33
LVL1MUCTPIPHASE1::SimController::m_muonSectorProcessors
MuonSectorProcessors m_muonSectorProcessors
Definition: SimController.h:62
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
MUCTPIResults.h
LVL1MUCTPIPHASE1::L1TopoLUT
Definition: L1TopoLUT.h:41
LVL1MUCTPIPHASE1::SimController::configureTopo
std::vector< std::string > configureTopo(const std::string &barrelFileName, const std::string &ecfFileName, const std::string &side0LUTFileName, const std::string &side1LUTFileName)
Definition: SimController.cxx:22
LVL1MUCTPIPHASE1::SimController::m_maxCandPerPtvalue
unsigned int m_maxCandPerPtvalue
Definition: SimController.h:54
LVL1MUCTPIPHASE1::SimController::SimController
SimController()=default
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideC
static size_t idSideC()
Definition: Lvl1MuCTPIInputPhase1.h:142
LVL1MUCTPIPHASE1::SimController::m_ptSorterBuckets
std::vector< std::vector< unsigned int > > m_ptSorterBuckets
Definition: SimController.h:57
LVL1MUCTPIPHASE1::TriggerProcessor
Definition: TriggerProcessor.h:28
LVL1MUCTPIPHASE1::SimController
Definition: SimController.h:29
LVL1MUCTPIPHASE1::SimController::m_threshold2Candidate
unsigned int m_threshold2Candidate
Definition: SimController.h:52
LVL1MUCTPIPHASE1::SimController::getMuonSectorProcessors
MuonSectorProcessors & getMuonSectorProcessors()
Definition: SimController.h:46
LVL1MUCTPIPHASE1::SimController::m_suppressionMode
int m_suppressionMode
Definition: SimController.h:53
Configuration.h
LVL1MUCTPIPHASE1::SimController::m_maxCandSendToRoib
unsigned int m_maxCandSendToRoib
Definition: SimController.h:55