![]() |
![]() |
#include <L1GtHwValidation.h>
Public Member Functions | |
L1GtHwValidation (const edm::ParameterSet &) | |
virtual | ~L1GtHwValidation () |
![]() | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | bookHistograms () |
book all histograms for the module More... | |
virtual void | compareDaqRecord (const edm::Event &, const edm::EventSetup &) |
L1 GT DAQ record comparison. More... | |
virtual void | compareEvmRecord (const edm::Event &, const edm::EventSetup &) |
L1 GT EVM record comparison. More... | |
virtual void | compareFDL (const edm::Event &, const edm::EventSetup &, const L1GtFdlWord &, const L1GtFdlWord &, const int) |
compare the FDL board More... | |
virtual void | compareGt_Gct (const edm::Event &, const edm::EventSetup &) |
virtual void | compareGTFE (const edm::Event &, const edm::EventSetup &, const L1GtfeWord &, const L1GtfeWord &, const int) |
compare the GTFE board More... | |
virtual void | comparePSB (const edm::Event &, const edm::EventSetup &, const L1GtPsbWord &, const L1GtPsbWord &) |
compare the PSB board More... | |
virtual void | compareTCS (const edm::Event &, const edm::EventSetup &, const L1TcsWord &, const L1TcsWord &) |
compare the TCS board More... | |
virtual void | endJob () |
void | endRun (const edm::Run &run, const edm::EventSetup &c) |
Static Private Attributes | |
static const int | NumberOfGtRecords = 2 |
static const int | TotalBxInEvent = 5 |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
Description: compare hardware records with emulator records for L1 GT records.
Implementation: Get the L1 GT records from data and from emulator. Compare every board between data and emulator.
$Date$ $Revision$
Definition at line 49 of file L1GtHwValidation.h.
|
explicit |
Definition at line 55 of file L1GtHwValidation.cc.
References edm::ParameterSet::getUntrackedParameter(), LogDebug, m_dbe, m_dirName, m_l1GctDataInputTag, m_l1GtDataDaqInputTag, m_l1GtDataEvmInputTag, m_l1GtEmulDaqInputTag, m_l1GtEmulEvmInputTag, cmsCodeRules.cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), and DQMStore::setVerbose().
|
virtual |
Definition at line 116 of file L1GtHwValidation.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 1539 of file L1GtHwValidation.cc.
References compareDaqRecord(), compareEvmRecord(), compareGt_Gct(), m_nrEvJob, and m_nrEvRun.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file L1GtHwValidation.cc.
References bookHistograms(), DQMStore::dirExists(), m_dirName, cmsCodeRules.cppFunctionSkipper::operator, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 142 of file L1GtHwValidation.cc.
References edm::EventSetup::get(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtPrescaleFactors::gtPrescaleFactors(), L1GtTriggerMask::gtTriggerMask(), m_fdlDataAlgoDecision, m_fdlDataAlgoDecision_Err, m_fdlDataAlgoDecision_NoMatch, m_fdlDataAlgoDecisionMask, m_fdlDataAlgoDecisionPrescaled, m_fdlDataAlgoDecisionUnprescaled, m_fdlDataEmulAlgoDecision, m_fdlDataEmulAlgoDecision_Err, m_fdlDataEmulAlgoDecisionMask, m_fdlDataEmulAlgoDecisionPrescaled, m_fdlDataEmulAlgoDecisionUnprescaled, m_fdlEmulAlgoDecision, m_fdlEmulAlgoDecision_Err, m_fdlEmulAlgoDecision_NoMatch, m_fdlEmulAlgoDecisionMask, m_fdlEmulAlgoDecisionPrescaled, m_fdlEmulAlgoDecisionUnprescaled, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtPfAlgo, m_l1GtPfAlgoCacheID, m_l1GtPfTech, m_l1GtPfTechCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmTech, m_l1GtTmTechCacheID, m_nrEvRun, m_prescaleFactorsAlgoTrig, m_prescaleFactorsTechTrig, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, NumberOfGtRecords, edm::ESHandle< class >::product(), MonitorElement::setBinLabel(), and TotalBxInEvent.
|
private |
book all histograms for the module
Definition at line 1557 of file L1GtHwValidation.cc.
References DQMStore::book1D(), m_dbe, m_fdlDataAlgoDecision, m_fdlDataAlgoDecision_Err, m_fdlDataAlgoDecision_NoMatch, m_fdlDataAlgoDecisionMask, m_fdlDataAlgoDecisionPrescaled, m_fdlDataAlgoDecisionPrescaled_NoMatch, m_fdlDataAlgoDecisionUnprescaled, m_fdlDataAlgoDecisionUnprescaled_NoMatch, m_fdlDataEmul, m_fdlDataEmul_Err, m_fdlDataEmulAlgoDecision, m_fdlDataEmulAlgoDecision_Err, m_fdlDataEmulAlgoDecisionMask, m_fdlDataEmulAlgoDecisionPrescaled, m_fdlDataEmulAlgoDecisionUnprescaled, m_fdlDataEmulTechDecision, m_fdlDataEmulTechDecision_Err, m_fdlDataEmulTechDecisionMask, m_fdlDataTechDecision, m_fdlDataTechDecision_Err, m_fdlDataTechDecisionMask, m_fdlEmulAlgoDecision, m_fdlEmulAlgoDecision_Err, m_fdlEmulAlgoDecision_NoMatch, m_fdlEmulAlgoDecisionMask, m_fdlEmulAlgoDecisionPrescaled, m_fdlEmulAlgoDecisionPrescaled_NoMatch, m_fdlEmulAlgoDecisionUnprescaled, m_fdlEmulAlgoDecisionUnprescaled_NoMatch, m_fdlEmulTechDecision, m_fdlEmulTechDecision_Err, m_fdlEmulTechDecisionMask, m_gtfeDataEmul, NumberOfGtRecords, L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers, MonitorElement::setBinLabel(), and TotalBxInEvent.
Referenced by beginJob().
|
privatevirtual |
L1 GT DAQ record comparison.
Definition at line 1294 of file L1GtHwValidation.cc.
References L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), compareFDL(), compareGTFE(), comparePSB(), edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_l1GtDataDaqInputTag, m_l1GtEmulDaqInputTag, m_myCoutStream, m_nrDataEventError, and m_nrEmulEventError.
Referenced by analyze().
|
privatevirtual |
L1 GT EVM record comparison.
Definition at line 1441 of file L1GtHwValidation.cc.
References compareFDL(), compareGTFE(), edm::Event::getByLabel(), edm::HandleBase::isValid(), LogDebug, m_l1GtDataEvmInputTag, m_l1GtEmulEvmInputTag, m_myCoutStream, m_nrDataEventError, and m_nrEmulEventError.
Referenced by analyze().
|
privatevirtual |
compare the FDL board
Definition at line 499 of file L1GtHwValidation.cc.
References L1GtFdlWord::boardId(), L1GtFdlWord::bxInEvent(), L1GtFdlWord::bxNr(), L1GtFdlWord::eventNr(), MonitorElement::Fill(), L1GtFdlWord::finalOR(), L1GtFdlWord::gtDecisionWord(), L1GtFdlWord::gtDecisionWordExtended(), L1GtFdlWord::gtPrescaleFactorIndexAlgo(), L1GtFdlWord::gtTechnicalTriggerWord(), L1GtFdlWord::localBxNr(), LogDebug, LogTrace, m_fdlDataAlgoDecision, m_fdlDataAlgoDecision_Err, m_fdlDataAlgoDecision_NoMatch, m_fdlDataAlgoDecisionMask, m_fdlDataAlgoDecisionPrescaled, m_fdlDataAlgoDecisionPrescaled_NoMatch, m_fdlDataAlgoDecisionUnprescaled, m_fdlDataAlgoDecisionUnprescaled_NoMatch, m_fdlDataEmul, m_fdlDataEmul_Err, m_fdlDataEmulAlgoDecision, m_fdlDataEmulAlgoDecision_Err, m_fdlDataEmulAlgoDecisionMask, m_fdlDataEmulAlgoDecisionPrescaled, m_fdlDataEmulAlgoDecisionUnprescaled, m_fdlDataEmulTechDecision, m_fdlDataEmulTechDecision_Err, m_fdlDataEmulTechDecisionMask, m_fdlDataTechDecision, m_fdlDataTechDecision_Err, m_fdlDataTechDecisionMask, m_fdlEmulAlgoDecision, m_fdlEmulAlgoDecision_Err, m_fdlEmulAlgoDecision_NoMatch, m_fdlEmulAlgoDecisionMask, m_fdlEmulAlgoDecisionPrescaled_NoMatch, m_fdlEmulAlgoDecisionUnprescaled_NoMatch, m_fdlEmulTechDecision, m_fdlEmulTechDecision_Err, m_fdlEmulTechDecisionMask, m_myCoutStream, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, L1GtFdlWord::noAlgo(), dtDQMClient_cfg::prescaleFactor, L1GtFdlWord::print(), L1GtFdlWord::printGtDecisionWord(), L1GtFdlWord::printGtDecisionWordExtended(), L1GtFdlWord::printGtTechnicalTriggerWord(), and TotalBxInEvent.
Referenced by compareDaqRecord(), and compareEvmRecord().
|
privatevirtual |
compare the GCT collections obtained from L1 GT PSB with the input GCT collections
Definition at line 1531 of file L1GtHwValidation.cc.
Referenced by analyze().
|
privatevirtual |
compare the GTFE board
get record length for alternative 1
get record length for alternative 0
get bunch cross number as counted in the GTFE board
get setup version
get boards contributing to EVM respectively DAQ record
alternative for number of BX per board correlated with active boards bit value is 0: take alternative 0 bit value is 1: take alternative 1
get total number of L1A sent since start of run
Definition at line 285 of file L1GtHwValidation.cc.
References L1GtfeWord::activeBoards(), L1GtfeWord::altNrBxBoard(), L1GtfeWord::boardId(), L1GtfeWord::bxNr(), MonitorElement::Fill(), LogDebug, m_gtfeDataEmul, m_myCoutStream, L1GtfeWord::print(), L1GtfeWord::recordLength(), L1GtfeWord::recordLength1(), L1GtfeWord::setupVersion(), and L1GtfeWord::totalTriggerNr().
Referenced by compareDaqRecord(), and compareEvmRecord().
|
privatevirtual |
compare the PSB board
get/set A_DATA_CH_IA
get/set B_DATA_CH_IB
Definition at line 1107 of file L1GtHwValidation.cc.
References L1GtPsbWord::aData(), L1GtPsbWord::bData(), L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), L1GtPsbWord::bxNr(), L1GtPsbWord::eventNr(), L1GtPsbWord::localBxNr(), LogDebug, m_myCoutStream, L1GtPsbWord::NumberAData, L1GtPsbWord::NumberBData, and L1GtPsbWord::print().
Referenced by compareDaqRecord().
|
privatevirtual |
compare the TCS board
Definition at line 1288 of file L1GtHwValidation.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 2028 of file L1GtHwValidation.cc.
References m_nrEvJob.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 2017 of file L1GtHwValidation.cc.
References edm::RunBase::id(), LogDebug, m_nrEvJob, and m_nrEvRun.
|
private |
internal members
Definition at line 154 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and L1GtHwValidation().
|
private |
directory name for L1Extra plots
Definition at line 115 of file L1GtHwValidation.h.
Referenced by beginJob(), and L1GtHwValidation().
|
private |
Definition at line 169 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 176 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 173 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 172 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 170 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 174 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 171 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 175 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
FDL (0 for DAQ, 1 for EVM record)
Definition at line 167 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 193 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 188 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 192 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 191 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 189 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 190 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 204 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 206 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 205 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 196 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 198 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 197 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 178 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 185 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 182 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 181 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().
|
private |
Definition at line 179 of file L1GtHwValidation.h.
Referenced by beginRun(), and bookHistograms().
|
private |
Definition at line 183 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 180 of file L1GtHwValidation.h.
Referenced by beginRun(), and bookHistograms().
|
private |
Definition at line 184 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 200 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 202 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 201 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
histograms
GTFE
Definition at line 164 of file L1GtHwValidation.h.
Referenced by bookHistograms(), and compareGTFE().
|
private |
input tag for the L1 GCT hardware record
Definition at line 110 of file L1GtHwValidation.h.
Referenced by L1GtHwValidation().
|
private |
input tag for the L1 GT hardware DAQ record
Definition at line 98 of file L1GtHwValidation.h.
Referenced by compareDaqRecord(), and L1GtHwValidation().
|
private |
input tag for the L1 GT hardware EVM record
Definition at line 101 of file L1GtHwValidation.h.
Referenced by compareEvmRecord(), and L1GtHwValidation().
|
private |
input tag for the L1 GT emulator DAQ record
Definition at line 104 of file L1GtHwValidation.h.
Referenced by compareDaqRecord(), and L1GtHwValidation().
|
private |
input tag for the L1 GT emulator EVM record
Definition at line 107 of file L1GtHwValidation.h.
Referenced by compareEvmRecord(), and L1GtHwValidation().
|
private |
|
private |
Definition at line 129 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
|
private |
Definition at line 133 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 135 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 136 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
|
private |
Definition at line 143 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 145 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 146 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
an output stream to print into it can then be directed to whatever log level is desired
Definition at line 119 of file L1GtHwValidation.h.
Referenced by compareDaqRecord(), compareEvmRecord(), compareFDL(), compareGTFE(), and comparePSB().
|
private |
counters
Definition at line 122 of file L1GtHwValidation.h.
Referenced by compareDaqRecord(), and compareEvmRecord().
|
private |
Definition at line 123 of file L1GtHwValidation.h.
Referenced by compareDaqRecord(), and compareEvmRecord().
|
private |
PSB.
Definition at line 211 of file L1GtHwValidation.h.
|
private |
Definition at line 212 of file L1GtHwValidation.h.
Referenced by analyze(), beginRun(), and endRun().
|
private |
Definition at line 138 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 139 of file L1GtHwValidation.h.
Referenced by beginRun().
|
private |
Definition at line 148 of file L1GtHwValidation.h.
Referenced by beginRun(), and compareFDL().
|
private |
Definition at line 149 of file L1GtHwValidation.h.
Referenced by beginRun(), and compareFDL().
|
staticprivate |
Definition at line 159 of file L1GtHwValidation.h.
Referenced by beginRun(), and bookHistograms().
|
staticprivate |
Definition at line 158 of file L1GtHwValidation.h.
Referenced by beginRun(), bookHistograms(), and compareFDL().