#include <L1GtPackUnpackAnalyzer.h>
Public Member Functions | |
L1GtPackUnpackAnalyzer (const edm::ParameterSet &) | |
~L1GtPackUnpackAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
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... | |
virtual void | beginJob () |
virtual void | endJob () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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: 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.
$Date$ $Revision$
Description: see header file.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 38 of file L1GtPackUnpackAnalyzer.h.
|
explicit |
Definition at line 34 of file L1GtPackUnpackAnalyzer.cc.
References edm::ParameterSet::getParameter(), m_finalGtGmtInputTag, m_initialDaqGtInputTag, and m_initialMuGmtInputTag.
L1GtPackUnpackAnalyzer::~L1GtPackUnpackAnalyzer | ( | ) |
Definition at line 59 of file L1GtPackUnpackAnalyzer.cc.
|
privatevirtual |
analyze each event
Implements edm::EDAnalyzer.
Definition at line 351 of file L1GtPackUnpackAnalyzer.cc.
References analyzeGMT(), and analyzeGT().
|
privatevirtual |
GMT comparison.
Definition at line 290 of file L1GtPackUnpackAnalyzer.cc.
References edm::Event::getByLabel(), edm::HandleBase::isValid(), m_finalGtGmtInputTag, and m_initialMuGmtInputTag.
Referenced by analyze().
|
privatevirtual |
GT comparison.
Definition at line 74 of file L1GtPackUnpackAnalyzer.cc.
References L1GtPsbWord::boardId(), L1GtPsbWord::bxInEvent(), edm::Event::getByLabel(), edm::HandleBase::isValid(), m_finalGtGmtInputTag, m_initialDaqGtInputTag, L1GtPsbWord::print(), L1GtfeWord::print(), and L1GtFdlWord::print().
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 67 of file L1GtPackUnpackAnalyzer.cc.
|
privatevirtual |
end of job
Reimplemented from edm::EDAnalyzer.
Definition at line 364 of file L1GtPackUnpackAnalyzer.cc.
|
private |
input tag for the final GT DAQ and GMT records:
Definition at line 70 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGMT(), analyzeGT(), and L1GtPackUnpackAnalyzer().
|
private |
input tag for the initial GT DAQ record:
Definition at line 64 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGT(), and L1GtPackUnpackAnalyzer().
|
private |
input tag for the initial GMT readout collection:
Definition at line 67 of file L1GtPackUnpackAnalyzer.h.
Referenced by analyzeGMT(), and L1GtPackUnpackAnalyzer().