#include <RPCPacTrigger.h>
Public Member Functions | |
L1RpcTBMuonsVec | getNotEmptyMuons () |
RPCPacTrigger (RPCTriggerConfiguration *triggerConfig) | |
L1RpcTBMuonsVec2 | runEvent (const L1RpcLogConesVec &logConesVec, edm::ESHandle< L1RPCHsbConfig > hsbConf) |
Private Attributes | |
RPCFinalSorter | m_FinalSorter |
L1RpcTBMuonsVec2 | m_GBFinalMuons |
RPCHalfSorter | m_HalfSorters |
RPCTriggerConfiguration * | m_TrigCnfg |
std::vector< RPCTriggerCrate > | m_TriggerCratesVec |
Simulations of Pattern Comparator trigger. For every event runs PACs, ghost-busters and sorters. Contains the structure of hardware: Trigger Crates, Final Sorters, etc.
Definition at line 18 of file RPCPacTrigger.h.
RPCPacTrigger::RPCPacTrigger | ( | RPCTriggerConfiguration * | triggerConfig | ) |
Construct the structure of Trigger Crates, m_TBGhostBuster, m_TCGhostBusterSorter and m_FinalSorter are also created. Since these object do not holds any data, on instance is enough for whole system. Found muons are stored in TB and TC.
Definition at line 10 of file RPCPacTrigger.cc.
References RPCTriggerConfiguration::getTCsCnt(), m_TrigCnfg, and m_TriggerCratesVec.
L1RpcTBMuonsVec RPCPacTrigger::getNotEmptyMuons | ( | ) |
Returns vector of not empty muons. Can be called only after runEvent()
Definition at line 107 of file RPCPacTrigger.cc.
References m_GBFinalMuons.
L1RpcTBMuonsVec2 RPCPacTrigger::runEvent | ( | const L1RpcLogConesVec & | logConesVec, |
edm::ESHandle< L1RPCHsbConfig > | hsbConf | ||
) |
For every logCone from logConesVec runs RPCTriggerCrate::runCone(). Then for every TC runs RPCTriggerCrate::runTCGBSorter(). Then runs and RPCFinalSorter::run().
Definition at line 22 of file RPCPacTrigger.cc.
References MuonsGrabber::addMuon(), gather_cfg::cout, RPCTriggerConfiguration::getDebugLevel(), RPCTriggerConfiguration::getTCNum(), mps_fire::i, MuonsGrabber::Instance(), m_FinalSorter, m_GBFinalMuons, m_HalfSorters, m_TrigCnfg, m_TriggerCratesVec, RPCHalfSorter::run(), and RPCFinalSorter::run().
|
private |
Definition at line 44 of file RPCPacTrigger.h.
Referenced by runEvent().
|
private |
Muons found in each event. m_GBFinalMuons[be][iMU] be = 0 = barrel; be = 1 = endcaps, 4 muons from barrel and 4 muons from endcaps, (some can be empty)
Definition at line 51 of file RPCPacTrigger.h.
Referenced by getNotEmptyMuons(), and runEvent().
|
private |
Definition at line 45 of file RPCPacTrigger.h.
Referenced by runEvent().
|
private |
Definition at line 42 of file RPCPacTrigger.h.
Referenced by RPCPacTrigger(), and runEvent().
|
private |
Definition at line 40 of file RPCPacTrigger.h.
Referenced by RPCPacTrigger(), and runEvent().