#include <L1GtPatternGenerator.h>
Protected Member Functions | |
void | extractGlobalTriggerData (const edm::Event &iEvent, L1GtPatternMap &patterns) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
analyze each event More... | |
void | beginJob () override |
analyze More... | |
void | endJob () override |
end of job More... | |
void | packHfRecords (const std::string &resultName, L1GtPatternMap &allPatterns) |
Static Private Member Functions | |
static uint32_t | packEtMiss (uint32_t rawValue) |
static uint32_t | packRegionalMuons (uint32_t rawValue) |
Private Attributes | |
std::vector< int > | m_bx |
std::vector< uint32_t > | m_columnDefaults |
std::vector< uint32_t > | m_columnLengths |
std::vector< std::string > | m_columnNames |
edm::InputTag | m_cscTag |
bool | m_debug |
std::string | m_destPath |
an algorithm and a condition in that algorithm to test the object maps More... | |
edm::InputTag | m_dtTag |
input tags for regional muon data More... | |
std::string | m_fileName |
output file name More... | |
std::ofstream | m_fileStream |
std::string | m_footer |
edm::InputTag | m_gctTag |
input tag for GCT data More... | |
edm::InputTag | m_gmtTag |
input tag for GMT data More... | |
edm::InputTag | m_gtTag |
input tag for GT data More... | |
std::string | m_header |
formatting instructions More... | |
edm::InputTag | m_rpcbTag |
edm::InputTag | m_rpcfTag |
std::unique_ptr< L1GtPatternWriter > | m_writer |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Description: A generator of pattern files for L1 GT hardware testing.
Implementation: <TODO: enter implementation details>
Description: see header file.
Implementation: <TODO: enter implementation details>
Definition at line 37 of file L1GtPatternGenerator.h.
|
explicit |
Definition at line 37 of file L1GtPatternGenerator.cc.
References edm::ParameterSet::getParameter(), LogDebug, m_bx, m_columnDefaults, m_columnLengths, m_columnNames, m_cscTag, m_debug, m_dtTag, m_fileName, m_footer, m_gctTag, m_gmtTag, m_gtTag, m_header, m_rpcbTag, m_rpcfTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 69 of file L1GtPatternGenerator.cc.
|
overrideprivatevirtual |
analyze each event
Analyze each event:
Implements edm::one::EDAnalyzerBase.
Definition at line 216 of file L1GtPatternGenerator.cc.
References L1GctEtMiss::et(), extractGlobalTriggerData(), extractRecordData(), L1MuGMTCand::getDataWord(), L1MuRegionalCand::getDataWord(), iEvent, edm::InputTag::instance(), edm::InputTag::label(), LogTrace, m_cscTag, m_dtTag, m_gctTag, m_gmtTag, m_rpcbTag, m_rpcfTag, m_writer, packHfRecords(), packRegionalMuons(), L1GctEtMiss::phi(), L1GctEtTotal::raw(), L1GctEtHad::raw(), L1GctJetCand::raw(), L1GctEmCand::raw(), L1GctHtMiss::raw(), L1GctHFBitCounts::raw(), L1GctHFRingEtSums::raw(), and convertSQLiteXML::runNumber.
|
overrideprivatevirtual |
analyze
Method called once each job just before starting event loop.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 289 of file L1GtPatternGenerator.cc.
References m_bx, m_columnDefaults, m_columnLengths, m_columnNames, m_debug, m_fileName, m_fileStream, m_footer, m_header, and m_writer.
|
overrideprivatevirtual |
end of job
Method called once each job just after ending the event loop.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 303 of file L1GtPatternGenerator.cc.
References m_fileStream, and m_writer.
|
protected |
Definition at line 158 of file L1GtPatternGenerator.cc.
References nano_mu_digi_cff::bx, Exception, extractGlobalTriggerWord(), L1GtPatternMap::getLine(), patZpeak::handle, iEvent, edm::InputTag::instance(), edm::InputTag::label(), mps_splice::line, and m_gtTag.
Referenced by analyze().
|
staticprivate |
Post-processing for etMissing
|
private |
Post-processing for complex mapping of HF records to PSB values
The mapping from hfBitCounts/hfRingEtSums raw data to the PSBs is non-trivial, see http://wwwhephy.oeaw.ac.at/p3w/electronic1/GlobalTrigger/doc/InterfaceDesc/update_CMS_NOTE_2002_069.pdf
Definition at line 191 of file L1GtPatternGenerator.cc.
References L1GtPatternMap::begin(), dqmiodumpmetadata::counts, and L1GtPatternMap::end().
Referenced by analyze().
|
staticprivate |
Post-processing for regional muon trigger inputs
Bits 8..15 (5 bits Pt, 3 bits quality) need to be inverted on the GMT inputs. See http://wwwhephy.oeaw.ac.at/p3w/cms/trigger/globalMuonTrigger/notes/in04_022.pdf
Definition at line 151 of file L1GtPatternGenerator.cc.
References l1tstage2_dqm_sourceclient-live_cfg::rawData.
Referenced by analyze().
|
private |
Definition at line 93 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 94 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 92 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 91 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 76 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
Definition at line 95 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
an algorithm and a condition in that algorithm to test the object maps
Definition at line 81 of file L1GtPatternGenerator.h.
|
private |
input tags for regional muon data
Definition at line 75 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
output file name
Definition at line 84 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 85 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and endJob().
|
private |
Definition at line 90 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
input tag for GCT data
Definition at line 66 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
input tag for GMT data
Definition at line 69 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
input tag for GT data
Definition at line 72 of file L1GtPatternGenerator.h.
Referenced by extractGlobalTriggerData(), and L1GtPatternGenerator().
|
private |
formatting instructions
Definition at line 89 of file L1GtPatternGenerator.h.
Referenced by beginJob(), and L1GtPatternGenerator().
|
private |
Definition at line 77 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
Definition at line 78 of file L1GtPatternGenerator.h.
Referenced by analyze(), and L1GtPatternGenerator().
|
private |
Definition at line 97 of file L1GtPatternGenerator.h.
Referenced by analyze(), beginJob(), and endJob().