#include <L1GtDataEmulAnalyzer.h>
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
analyze each event More... | |
virtual void | beginJob () |
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 &) |
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 () |
end of job More... | |
Static Private Attributes | |
static const int | TotalBxInEvent = 5 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: compare hardware records with emulator records for L1 GT record.
Implementation: Get the L1 GT records from data and from emulator. Compare every board between data and emulator.
Definition at line 48 of file L1GtDataEmulAnalyzer.h.
|
explicit |
Definition at line 49 of file L1GtDataEmulAnalyzer.cc.
References bookHistograms(), edm::ParameterSet::getParameter(), LogDebug, m_l1GctDataInputTag, m_l1GtDataInputTag, m_l1GtEmulInputTag, m_l1GtMenuCacheID, m_l1GtTmAlgoCacheID, m_l1GtTmTechCacheID, m_nrDataEventError, and m_nrEmulEventError.
L1GtDataEmulAnalyzer::~L1GtDataEmulAnalyzer | ( | ) |
Definition at line 86 of file L1GtDataEmulAnalyzer.cc.
|
privatevirtual |
analyze each event
Definition at line 1263 of file L1GtDataEmulAnalyzer.cc.
References compareDaqRecord(), compareEvmRecord(), and compareGt_Gct().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 93 of file L1GtDataEmulAnalyzer.cc.
|
private |
book all histograms for the module
Definition at line 1278 of file L1GtDataEmulAnalyzer.cc.
References m_fdlDataAlgoDecision, m_fdlDataAlgoDecision_Err, m_fdlDataAlgoDecisionMask, m_fdlDataEmul, m_fdlDataEmul_Err, m_fdlDataEmulAlgoDecision, m_fdlDataEmulAlgoDecision_Err, m_fdlDataEmulAlgoDecisionMask, m_fdlDataEmulTechDecision, m_fdlDataEmulTechDecision_Err, m_fdlDataEmulTechDecisionMask, m_fdlDataTechDecision, m_fdlDataTechDecision_Err, m_fdlDataTechDecisionMask, m_fdlEmulAlgoDecision, m_fdlEmulAlgoDecision_Err, m_fdlEmulAlgoDecisionMask, m_fdlEmulTechDecision, m_fdlEmulTechDecision_Err, m_fdlEmulTechDecisionMask, m_gtfeDataEmul, TFileDirectory::make(), TFileService::mkdir(), L1GlobalTriggerReadoutSetup::NumberPhysTriggers, L1GlobalTriggerReadoutSetup::NumberTechnicalTriggers, harvestTrackValidationPlots::str, AlCaHLTBitMon_QueryRunRegistry::string, and TotalBxInEvent.
Referenced by L1GtDataEmulAnalyzer().
|
privatevirtual |
L1 GT DAQ record comparison.
Definition at line 1101 of file L1GtDataEmulAnalyzer.cc.
References L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), compareFDL(), compareGTFE(), comparePSB(), TauDecayModes::dec, edm::Event::getByLabel(), L1GlobalTriggerReadoutRecord::gtFdlVector(), L1GlobalTriggerReadoutRecord::gtfeWord(), L1GlobalTriggerReadoutRecord::gtPsbVector(), edm::HandleBase::isValid(), LogDebug, m_l1GtDataInputTag, m_l1GtEmulInputTag, m_myCoutStream, m_nrDataEventError, and m_nrEmulEventError.
Referenced by analyze().
|
privatevirtual |
L1 GT EVM record comparison.
Definition at line 1246 of file L1GtDataEmulAnalyzer.cc.
Referenced by analyze().
|
privatevirtual |
compare the FDL board
Definition at line 255 of file L1GtDataEmulAnalyzer.cc.
References L1GtFdlWord::boardId(), L1GtFdlWord::bxInEvent(), L1GtFdlWord::bxNr(), TauDecayModes::dec, L1GtFdlWord::eventNr(), L1GtFdlWord::finalOR(), edm::EventSetup::get(), L1GtTriggerMenu::gtAlgorithmMap(), L1GtFdlWord::gtDecisionWord(), L1GtFdlWord::gtDecisionWordExtended(), L1GtFdlWord::gtTechnicalTriggerWord(), L1GtTriggerMask::gtTriggerMask(), L1GtFdlWord::localBxNr(), LogDebug, m_fdlDataAlgoDecision, m_fdlDataAlgoDecision_Err, m_fdlDataAlgoDecisionMask, m_fdlDataEmul, m_fdlDataEmul_Err, m_fdlDataEmulAlgoDecision, m_fdlDataEmulAlgoDecision_Err, m_fdlDataEmulAlgoDecisionMask, m_fdlDataEmulTechDecision, m_fdlDataEmulTechDecision_Err, m_fdlDataEmulTechDecisionMask, m_fdlDataTechDecision, m_fdlDataTechDecision_Err, m_fdlDataTechDecisionMask, m_fdlEmulAlgoDecision, m_fdlEmulAlgoDecision_Err, m_fdlEmulAlgoDecisionMask, m_fdlEmulTechDecision, m_fdlEmulTechDecision_Err, m_fdlEmulTechDecisionMask, m_l1GtMenu, m_l1GtMenuCacheID, m_l1GtTmAlgo, m_l1GtTmAlgoCacheID, m_l1GtTmTech, m_l1GtTmTechCacheID, m_myCoutStream, m_triggerMaskAlgoTrig, m_triggerMaskTechTrig, L1GtFdlWord::noAlgo(), L1GtFdlWord::print(), L1GtFdlWord::printGtDecisionWord(), L1GtFdlWord::printGtDecisionWordExtended(), L1GtFdlWord::printGtTechnicalTriggerWord(), edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, and TotalBxInEvent.
Referenced by compareDaqRecord().
|
privatevirtual |
compare the GCT collections obtained from L1 GT PSB with the input GCT collections
Definition at line 1255 of file L1GtDataEmulAnalyzer.cc.
Referenced by analyze().
|
privatevirtual |
compare the GTFE board
get record length: 3 bx for standard, 5 bx for debug
get bunch cross number as counted in the GTFE board
get setup version
get boards contributing to EVM respectively DAQ record
get total number of L1A sent since start of run
Definition at line 98 of file L1GtDataEmulAnalyzer.cc.
References L1GtfeWord::activeBoards(), L1GtfeWord::boardId(), L1GtfeWord::bxNr(), TauDecayModes::dec, LogDebug, m_gtfeDataEmul, m_myCoutStream, L1GtfeWord::print(), L1GtfeWord::recordLength(), L1GtfeWord::setupVersion(), and L1GtfeWord::totalTriggerNr().
Referenced by compareDaqRecord().
|
privatevirtual |
compare the PSB board
get/set A_DATA_CH_IA
get/set B_DATA_CH_IB
Definition at line 906 of file L1GtDataEmulAnalyzer.cc.
References L1GtPsbWord::aData(), L1GtPsbWord::bData(), L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), L1GtPsbWord::bxNr(), TauDecayModes::dec, 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 1095 of file L1GtDataEmulAnalyzer.cc.
|
privatevirtual |
end of job
Reimplemented from edm::EDAnalyzer.
Definition at line 1579 of file L1GtDataEmulAnalyzer.cc.
|
private |
Definition at line 143 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 163 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 146 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
FDL (0 for DAQ, 1 for EVM record)
Definition at line 141 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 161 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 149 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 165 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 150 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 158 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 169 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 159 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 152 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 167 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 155 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 144 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 164 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 147 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 153 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 168 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
Definition at line 156 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().
|
private |
histograms
GTFE
Definition at line 136 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareGTFE().
|
private |
input tag for the L1 GCT hardware record
Definition at line 103 of file L1GtDataEmulAnalyzer.h.
Referenced by L1GtDataEmulAnalyzer().
|
private |
input tag for the L1 GT hardware DAQ/EVM record
Definition at line 97 of file L1GtDataEmulAnalyzer.h.
Referenced by compareDaqRecord(), and L1GtDataEmulAnalyzer().
|
private |
input tag for the L1 GT emulator DAQ/EVM record
Definition at line 100 of file L1GtDataEmulAnalyzer.h.
Referenced by compareDaqRecord(), and L1GtDataEmulAnalyzer().
|
private |
|
private |
Definition at line 119 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL(), and L1GtDataEmulAnalyzer().
|
private |
|
private |
Definition at line 123 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL(), and L1GtDataEmulAnalyzer().
|
private |
Definition at line 125 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL().
|
private |
Definition at line 126 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL(), and L1GtDataEmulAnalyzer().
|
private |
an output stream to print into it can then be directed to whatever log level is desired
Definition at line 109 of file L1GtDataEmulAnalyzer.h.
Referenced by compareDaqRecord(), compareFDL(), compareGTFE(), and comparePSB().
|
private |
counters
Definition at line 112 of file L1GtDataEmulAnalyzer.h.
Referenced by compareDaqRecord(), and L1GtDataEmulAnalyzer().
|
private |
Definition at line 113 of file L1GtDataEmulAnalyzer.h.
Referenced by compareDaqRecord(), and L1GtDataEmulAnalyzer().
|
private |
Definition at line 128 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL().
|
private |
Definition at line 129 of file L1GtDataEmulAnalyzer.h.
Referenced by compareFDL().
|
staticprivate |
Definition at line 138 of file L1GtDataEmulAnalyzer.h.
Referenced by bookHistograms(), and compareFDL().