#include <CSCTFSPCoreLogic.h>
Classes | |
struct | SPio |
Public Member Functions | |
CSCTFSPCoreLogic () | |
unsigned int | GetCoreFirmwareVersion () |
unsigned int | GetSPFirmwareVersion () |
bool | IsVerbose () |
void | loadData (const CSCTriggerContainer< csctf::TrackStub > &, const unsigned &endcap, const unsigned §or, const int &minBX, const int &maxBX, const bool gangedME1a) |
bool | run (const unsigned &endcap, const unsigned §or, const unsigned &latency, const unsigned &etamin1, const unsigned &etamin2, const unsigned &etamin3, const unsigned &etamin4, const unsigned &etamin5, const unsigned &etamin6, const unsigned &etamin7, const unsigned &etamin8, const unsigned &etamax1, const unsigned &etamax2, const unsigned &etamax3, const unsigned &etamax4, const unsigned &etamax5, const unsigned &etamax6, const unsigned &etamax7, const unsigned &etamax8, const unsigned &etawin1, const unsigned &etawin2, const unsigned &etawin3, const unsigned &etawin4, const unsigned &etawin5, const unsigned &etawin6, const unsigned &etawin7, const unsigned &mindphip, const unsigned &mindetap, const unsigned &mindeta12_accp, const unsigned &maxdeta12_accp, const unsigned &maxdphi12_accp, const unsigned &mindeta13_accp, const unsigned &maxdeta13_accp, const unsigned &maxdphi13_accp, const unsigned &mindeta112_accp, const unsigned &maxdeta112_accp, const unsigned &maxdphi112_accp, const unsigned &mindeta113_accp, const unsigned &maxdeta113_accp, const unsigned &maxdphi113_accp, const unsigned &mindphip_halo, const unsigned &mindetap_halo, const unsigned &straightp, const unsigned &curvedp, const unsigned &mbaPhiOff, const unsigned &mbbPhiOff, const unsigned &m_extend_length, const unsigned &m_allowALCTonly, const unsigned &m_allowCLCTonly, const unsigned &m_preTrigger, const unsigned &m_widePhi, const int &minBX, const int &maxBX) |
void | SetCoreFirmwareVersion (const unsigned int fwVer) |
void | setNLBTables () |
void | SetSPFirmwareVersion (const unsigned int fwVer) |
void | SetVerbose (const bool verb) |
CSCTriggerContainer< csc::L1Track > | tracks () |
Private Attributes | |
unsigned int | coreFirmwareVersion |
std::vector< SPio > | io_ |
CSCTriggerContainer< csc::L1Track > | mytracks |
bool | runme |
unsigned int | spFirmwareVersion |
bool | verboseCore |
Static Private Attributes | |
static vpp_generated_2010_01_22 | sp_2010_01_22_ |
static vpp_generated_2010_07_28 | sp_2010_07_28_ |
static vpp_generated_2010_09_01 | sp_2010_09_01_ |
static vpp_generated_2010_10_11 | sp_2010_10_11_ |
static vpp_generated_2010_12_10 | sp_2010_12_10_ |
static vpp_generated_2011_01_18 | sp_2011_01_18_ |
static vpp_generated_2012_01_31 | sp_2012_01_31_ |
static vpp_generated_2012_03_13 | sp_2012_03_13_ |
static vpp_generated_2012_07_30 | sp_2012_07_30_ |
static vpp_generated_2014_04_24 | sp_2014_04_24_ |
static vpp_generated_2014_05_15 | sp_2014_05_15_ |
Definition at line 34 of file CSCTFSPCoreLogic.h.
|
inline |
Definition at line 204 of file CSCTFSPCoreLogic.h.
|
inline |
Definition at line 273 of file CSCTFSPCoreLogic.h.
References coreFirmwareVersion.
Referenced by CSCTFSectorProcessor::initialize(), and run().
|
inline |
Definition at line 270 of file CSCTFSPCoreLogic.h.
References spFirmwareVersion.
Referenced by loadData().
|
inline |
void CSCTFSPCoreLogic::loadData | ( | const CSCTriggerContainer< csctf::TrackStub > & | theStubs, |
const unsigned & | endcap, | ||
const unsigned & | sector, | ||
const int & | minBX, | ||
const int & | maxBX, | ||
const bool | gangedME1a | ||
) |
Definition at line 23 of file CSCTFSPCoreLogic.cc.
References l1GtPatternGenerator_cfi::bx, makeMuonMisalignmentScenario::endcap, l1temulator_dqm_sourceclient-live_cfg::gangedME1a, CSCTriggerContainer< T >::get(), GetSPFirmwareVersion(), io_, simKBmtfStubs_cfi::maxBX, CSCDetId::maxStationId(), simKBmtfStubs_cfi::minBX, CSCDetId::minStationId(), runme, and CSCTriggerNumbering::triggerSubSectorFromLabels().
Referenced by CSCTFSectorProcessor::run().
bool CSCTFSPCoreLogic::run | ( | const unsigned & | endcap, |
const unsigned & | sector, | ||
const unsigned & | latency, | ||
const unsigned & | etamin1, | ||
const unsigned & | etamin2, | ||
const unsigned & | etamin3, | ||
const unsigned & | etamin4, | ||
const unsigned & | etamin5, | ||
const unsigned & | etamin6, | ||
const unsigned & | etamin7, | ||
const unsigned & | etamin8, | ||
const unsigned & | etamax1, | ||
const unsigned & | etamax2, | ||
const unsigned & | etamax3, | ||
const unsigned & | etamax4, | ||
const unsigned & | etamax5, | ||
const unsigned & | etamax6, | ||
const unsigned & | etamax7, | ||
const unsigned & | etamax8, | ||
const unsigned & | etawin1, | ||
const unsigned & | etawin2, | ||
const unsigned & | etawin3, | ||
const unsigned & | etawin4, | ||
const unsigned & | etawin5, | ||
const unsigned & | etawin6, | ||
const unsigned & | etawin7, | ||
const unsigned & | mindphip, | ||
const unsigned & | mindetap, | ||
const unsigned & | mindeta12_accp, | ||
const unsigned & | maxdeta12_accp, | ||
const unsigned & | maxdphi12_accp, | ||
const unsigned & | mindeta13_accp, | ||
const unsigned & | maxdeta13_accp, | ||
const unsigned & | maxdphi13_accp, | ||
const unsigned & | mindeta112_accp, | ||
const unsigned & | maxdeta112_accp, | ||
const unsigned & | maxdphi112_accp, | ||
const unsigned & | mindeta113_accp, | ||
const unsigned & | maxdeta113_accp, | ||
const unsigned & | maxdphi113_accp, | ||
const unsigned & | mindphip_halo, | ||
const unsigned & | mindetap_halo, | ||
const unsigned & | straightp, | ||
const unsigned & | curvedp, | ||
const unsigned & | mbaPhiOff, | ||
const unsigned & | mbbPhiOff, | ||
const unsigned & | m_extend_length, | ||
const unsigned & | m_allowALCTonly, | ||
const unsigned & | m_allowCLCTonly, | ||
const unsigned & | m_preTrigger, | ||
const unsigned & | m_widePhi, | ||
const int & | minBX, | ||
const int & | maxBX | ||
) |
Definition at line 277 of file CSCTFSPCoreLogic.cc.
References l1GtPatternGenerator_cfi::bx, CSCTriggerContainer< T >::clear(), gather_cfg::cout, csctfTrackDigis_cfi::curvedp, makeMuonMisalignmentScenario::endcap, GetCoreFirmwareVersion(), io_, IsVerbose(), config_102169_raw_cff::latency, simKBmtfStubs_cfi::maxBX, csctfTrackDigis_cfi::maxdeta112_accp, csctfTrackDigis_cfi::maxdeta113_accp, csctfTrackDigis_cfi::maxdeta12_accp, csctfTrackDigis_cfi::maxdeta13_accp, csctfTrackDigis_cfi::maxdphi112_accp, csctfTrackDigis_cfi::maxdphi113_accp, csctfTrackDigis_cfi::maxdphi12_accp, csctfTrackDigis_cfi::maxdphi13_accp, csctfTrackDigis_cfi::mbaPhiOff, csctfTrackDigis_cfi::mbbPhiOff, simKBmtfStubs_cfi::minBX, csctfTrackDigis_cfi::mindeta112_accp, csctfTrackDigis_cfi::mindeta113_accp, csctfTrackDigis_cfi::mindeta12_accp, csctfTrackDigis_cfi::mindeta13_accp, csctfTrackDigis_cfi::mindetap, csctfTrackDigis_cfi::mindetap_halo, csctfTrackDigis_cfi::mindphip, csctfTrackDigis_cfi::mindphip_halo, mytracks, CSCTriggerContainer< T >::push_back(), runme, L1MuRegionalCand::setBx(), L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setEtaPacked(), L1MuRegionalCand::setFineHaloPacked(), csc::L1Track::setLocalPhi(), csc::L1TrackId::setMode(), setNLBTables(), csc::L1Track::setOutputLink(), csc::L1Track::setPtLUTAddress(), csc::L1Track::setStationIds(), csc::L1Track::setTbins(), edm::shift, sp_2010_01_22_, sp_2010_07_28_, sp_2010_09_01_, sp_2010_10_11_, sp_2010_12_10_, sp_2011_01_18_, sp_2012_01_31_, sp_2012_03_13_, sp_2012_07_30_, sp_2014_04_24_, sp_2014_05_15_, csctfTrackDigis_cfi::straightp, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by CSCTFSectorProcessor::run().
|
inline |
Definition at line 272 of file CSCTFSPCoreLogic.h.
References coreFirmwareVersion.
Referenced by CSCTFSectorProcessor::initialize().
void CSCTFSPCoreLogic::setNLBTables | ( | ) |
Definition at line 2662 of file CSCTFSPCoreLogic.cc.
References mps_fire::i, and sp_2012_01_31_.
Referenced by run().
|
inline |
Definition at line 269 of file CSCTFSPCoreLogic.h.
References spFirmwareVersion.
Referenced by CSCTFSectorProcessor::initialize().
|
inline |
Definition at line 275 of file CSCTFSPCoreLogic.h.
References verboseCore.
Referenced by CSCTFSectorProcessor::initialize().
CSCTriggerContainer< csc::L1Track > CSCTFSPCoreLogic::tracks | ( | void | ) |
Definition at line 2810 of file CSCTFSPCoreLogic.cc.
References mytracks.
Referenced by CSCTFSectorProcessor::run().
|
private |
Definition at line 296 of file CSCTFSPCoreLogic.h.
Referenced by GetCoreFirmwareVersion(), and SetCoreFirmwareVersion().
|
private |
Definition at line 292 of file CSCTFSPCoreLogic.h.
Referenced by loadData(), and run().
|
private |
Definition at line 294 of file CSCTFSPCoreLogic.h.
|
private |
Definition at line 293 of file CSCTFSPCoreLogic.h.
Referenced by loadData(), and run().
|
staticprivate |
Definition at line 280 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 281 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 282 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 283 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 284 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 285 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 286 of file CSCTFSPCoreLogic.h.
Referenced by run(), and setNLBTables().
|
staticprivate |
Definition at line 287 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 288 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 289 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
staticprivate |
Definition at line 290 of file CSCTFSPCoreLogic.h.
Referenced by run().
|
private |
Definition at line 295 of file CSCTFSPCoreLogic.h.
Referenced by GetSPFirmwareVersion(), and SetSPFirmwareVersion().
|
private |
Definition at line 297 of file CSCTFSPCoreLogic.h.
Referenced by IsVerbose(), and SetVerbose().