#include <L1GtPackUnpackAnalyzer.h>
Public Member Functions | |
L1GtPackUnpackAnalyzer (const edm::ParameterSet &) | |
~L1GtPackUnpackAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) 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 |
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: 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.
L1GtPackUnpackAnalyzer::~L1GtPackUnpackAnalyzer | ( | ) |
Definition at line 57 of file L1GtPackUnpackAnalyzer.cc.
|
privatevirtual |
analyze each event
Implements edm::EDAnalyzer.
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(), 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(), 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 65 of file L1GtPackUnpackAnalyzer.cc.
|
privatevirtual |
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().