#include <L1GtPackUnpackAnalyzer.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze each event More... | |
virtual void | analyzeGMT (const edm::Event &, const edm::EventSetup &) |
GMT comparison. More... | |
virtual void | analyzeGT (const edm::Event &, const edm::EventSetup &) |
GT comparison. More... | |
void | beginJob () override |
void | endJob () override |
end of job More... | |
Private Attributes | |
edm::InputTag | m_finalGtGmtInputTag |
input tag for the final GT DAQ and GMT records: More... | |
edm::InputTag | m_initialDaqGtInputTag |
input tag for the initial GT DAQ record: More... | |
edm::InputTag | m_initialMuGmtInputTag |
input tag for the initial GMT readout collection: More... | |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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: pack - unpack validation for L1 GT DAQ record.
Implementation: Pack (DigiToRaw) and unpack (RawToDigi) a L1 GT DAQ record. Compare the initial DAQ record with the final one and print them if they are different.
Description: see header file.
Implementation: <TODO: enter implementation details>
Definition at line 36 of file L1GtPackUnpackAnalyzer.h.
|
explicit |
Definition at line 32 of file L1GtPackUnpackAnalyzer.cc.
References edm::ParameterSet::getParameter(), m_finalGtGmtInputTag, m_initialDaqGtInputTag, and m_initialMuGmtInputTag.
|
override |
Definition at line 57 of file L1GtPackUnpackAnalyzer.cc.
|
overrideprivate |
analyze each event
Definition at line 349 of file L1GtPackUnpackAnalyzer.cc.
References analyzeGMT(), and analyzeGT().
|
privatevirtual |
GMT comparison.
Definition at line 288 of file L1GtPackUnpackAnalyzer.cc.
References edm::Event::getByLabel(), L1MuGMTReadoutCollection::getRecords(), edm::HandleBase::isValid(), m_finalGtGmtInputTag, and m_initialMuGmtInputTag.
Referenced by analyze().
|
privatevirtual |
GT comparison.
Definition at line 72 of file L1GtPackUnpackAnalyzer.cc.
References L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), edm::Event::getByLabel(), L1GlobalTriggerReadoutRecord::gtFdlVector(), L1GlobalTriggerReadoutRecord::gtfeWord(), L1GlobalTriggerReadoutRecord::gtPsbVector(), edm::HandleBase::isValid(), m_finalGtGmtInputTag, m_initialDaqGtInputTag, L1GlobalTriggerReadoutRecord::muCollectionRefProd(), L1GtPsbWord::print(), L1GtfeWord::print(), and L1GtFdlWord::print().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 65 of file L1GtPackUnpackAnalyzer.cc.
|
overrideprivatevirtual |
end of job
Reimplemented from edm::EDAnalyzer.
Definition at line 362 of file L1GtPackUnpackAnalyzer.cc.
|
private |
input tag for the final GT DAQ and GMT records:
Definition at line 68 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGMT(), analyzeGT(), and L1GtPackUnpackAnalyzer().
|
private |
input tag for the initial GT DAQ record:
Definition at line 62 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGT(), and L1GtPackUnpackAnalyzer().
|
private |
input tag for the initial GMT readout collection:
Definition at line 65 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGMT(), and L1GtPackUnpackAnalyzer().