CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
L1GtPatternGenerator Class Reference

#include <L1GtPatternGenerator.h>

Inheritance diagram for L1GtPatternGenerator:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 L1GtPatternGenerator (const edm::ParameterSet &)
 
 ~L1GtPatternGenerator () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void extractGlobalTriggerData (const edm::Event &iEvent, L1GtPatternMap &patterns)
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

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< L1GtPatternWriterm_writer
 

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 wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Detailed Description

Description: A generator of pattern files for L1 GT hardware testing.

Implementation: <TODO: enter implementation details>

Author
: Thomas Themel - HEPHY Vienna

Description: see header file.

Implementation: <TODO: enter implementation details>

Author
: Thomas Themel - HEPHY Vienna

Definition at line 37 of file L1GtPatternGenerator.h.

Constructor & Destructor Documentation

◆ L1GtPatternGenerator()

L1GtPatternGenerator::L1GtPatternGenerator ( const edm::ParameterSet parSet)
explicit

Definition at line 37 of file L1GtPatternGenerator.cc.

37  {
38  // input tags for trigger records
39  m_gctTag = parSet.getParameter<edm::InputTag>("GctInputTag");
40  m_gmtTag = parSet.getParameter<edm::InputTag>("GmtInputTag");
41  m_gtTag = parSet.getParameter<edm::InputTag>("GtInputTag");
42  m_dtTag = parSet.getParameter<edm::InputTag>("DtInputTag");
43  m_cscTag = parSet.getParameter<edm::InputTag>("CscInputTag");
44  m_rpcbTag = parSet.getParameter<edm::InputTag>("RpcbInputTag");
45  m_rpcfTag = parSet.getParameter<edm::InputTag>("RpcfInputTag");
46 
47  // output formatting stuff
48  m_header = parSet.getParameter<std::string>("PatternFileHeader");
49  m_footer = parSet.getParameter<std::string>("PatternFileFooter");
50  m_columnNames = parSet.getParameter<std::vector<std::string> >("PatternFileColumns");
51  m_columnLengths = parSet.getParameter<std::vector<uint32_t> >("PatternFileLengths");
52  m_columnDefaults = parSet.getParameter<std::vector<uint32_t> >("PatternFileDefaultValues");
53  m_fileName = parSet.getParameter<std::string>("PatternFileName");
54  m_bx = parSet.getParameter<std::vector<int> >("bx");
55  m_debug = parSet.getParameter<bool>("DebugOutput");
56 
57  if (m_columnLengths.size() != m_columnNames.size()) {
58  edm::LogWarning("L1GtPatternGenerator")
59  << "Length of PatternFileColumns does not match length of PatternFileLenghts, " << m_columnNames.size()
60  << " vs " << m_columnLengths.size() << std::endl;
61  }
62 
63  LogDebug("L1GtPatternGenerator") << "\nL1 GCT record: " << m_gctTag
64  << "\nL1 GMT record: " << m_gmtTag
65  << "\nL1 GT record: " << m_gtTag << std::endl;
66 }

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.

◆ ~L1GtPatternGenerator()

L1GtPatternGenerator::~L1GtPatternGenerator ( )
override

Definition at line 69 of file L1GtPatternGenerator.cc.

69 {}

Member Function Documentation

◆ analyze()

void L1GtPatternGenerator::analyze ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)
overrideprivatevirtual

analyze each event

Analyze each event:

  • Extract the input records that interest us from the event
  • Split them into pattern file lines according to their bx number
  • Format the lines and write them to the file.

Implements edm::EDAnalyzer.

Definition at line 216 of file L1GtPatternGenerator.cc.

216  {
217  // debug information
218  const unsigned int runNumber = iEvent.run();
219  const unsigned int lsNumber = iEvent.luminosityBlock();
220  const unsigned int eventNumber = iEvent.id().event();
221 
222  LogTrace("L1GtPatternGenerator") << "\n\nL1GtPatternGenerator::analyze: Run: " << runNumber << " LS: " << lsNumber
223  << " Event: " << eventNumber << "\n\n"
224  << std::endl;
225 
226  L1GtPatternMap allPatterns;
227 
228  // GMT muon candidates
230 
231  // regional muon candidates
233  allPatterns,
234  m_cscTag.label(),
235  m_cscTag.instance(),
237  "cscMuon",
240  allPatterns,
241  m_dtTag.label(),
242  m_dtTag.instance(),
244  "dtMuon",
247  allPatterns,
248  m_rpcfTag.label(),
251  "fwdMuon",
254  allPatterns,
255  m_rpcbTag.label(),
258  "brlMuon",
260 
261  // GCT objects
262  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "nonIsoEm", &L1GctEmCand::raw, "gctEm");
263  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "isoEm", &L1GctEmCand::raw, "gctIsoEm");
264  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctEtMiss::et, "etMiss");
265  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctEtMiss::phi, "etMissPhi");
266  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctHtMiss::raw, "htMiss");
267  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctEtHad::raw, "etHad");
268  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctEtTotal::raw, "etTotal");
269  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "cenJets", &L1GctJetCand::raw, "cenJet");
270  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "forJets", &L1GctJetCand::raw, "forJet");
271  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "tauJets", &L1GctJetCand::raw, "tauJet");
272  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctHFBitCounts::raw, "hfBitCounts");
273  extractRecordData(iEvent, allPatterns, m_gctTag.label(), "", &L1GctHFRingEtSums::raw, "hfRingEtSums");
274 
275  // Post processing:
276  // HFBitCounts/HFRingEtSums need to be mangled to PSB values
277  packHfRecords("hfPsbValue", allPatterns);
278 
279  // GT objects
280  extractGlobalTriggerData(iEvent, allPatterns);
281 
282  // Output
283  m_writer->writePatterns(allPatterns);
284 }

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.

◆ beginJob()

void L1GtPatternGenerator::beginJob ( void  )
overrideprivatevirtual

analyze

Method called once each job just before starting event loop.

  • Initialize the output file and the writer object.

Reimplemented from edm::EDAnalyzer.

Definition at line 289 of file L1GtPatternGenerator.cc.

289  {
290  m_fileStream.open(m_fileName.c_str());
291 
292  if (!m_fileStream) {
293  edm::LogError("L1GtPatternGenerator") << "Failed to open output file " << m_fileName;
294  }
295 
296  m_writer = std::make_unique<L1GtPatternWriter>(
298 }

References m_bx, m_columnDefaults, m_columnLengths, m_columnNames, m_debug, m_fileName, m_fileStream, m_footer, m_header, and m_writer.

◆ endJob()

void L1GtPatternGenerator::endJob ( void  )
overrideprivatevirtual

end of job

Method called once each job just after ending the event loop.

  • Close the output file stream.

Reimplemented from edm::EDAnalyzer.

Definition at line 303 of file L1GtPatternGenerator.cc.

303  {
304  m_writer->close();
305  m_fileStream.close();
306 }

References m_fileStream, and m_writer.

◆ extractGlobalTriggerData()

void L1GtPatternGenerator::extractGlobalTriggerData ( const edm::Event iEvent,
L1GtPatternMap patterns 
)
protected

Definition at line 158 of file L1GtPatternGenerator.cc.

158  {
159  // extract global trigger readout record
161  iEvent.getByLabel(m_gtTag, handle);
162 
163  // continue if it's present
164  if (!handle.isValid()) {
165  throw cms::Exception(__func__) << "Failed to extract GT readout record labeled " << m_gtTag.label() << ", instance "
166  << m_gtTag.instance();
167  }
168 
169  edm::EventNumber_t eventNr = iEvent.id().event();
170 
171  // for each FDL word...
172  const std::vector<L1GtFdlWord>& fdlWords = handle->gtFdlVector();
173  for (std::vector<L1GtFdlWord>::const_iterator it = fdlWords.begin(); it != fdlWords.end(); ++it) {
174  // extract relevant data
175  int bx = it->bxInEvent();
176 
177  // find matching pattern file line
178  L1GtPatternLine& line = patterns.getLine(eventNr, bx);
179 
180  extractGlobalTriggerWord(it->gtDecisionWord(), line, "gtDecision");
181  extractGlobalTriggerWord(it->gtDecisionWordExtended(), line, "gtDecisionExt");
182  extractGlobalTriggerWord(it->gtTechnicalTriggerWord(), line, "gtTechTrigger");
183 
184  line.push("gtFinalOr", it->finalOR());
185  }
186 }

References l1GtPatternGenerator_cfi::bx, Exception, extractGlobalTriggerWord(), L1GtPatternMap::getLine(), patZpeak::handle, iEvent, edm::InputTag::instance(), edm::InputTag::label(), mps_splice::line, and m_gtTag.

Referenced by analyze().

◆ packEtMiss()

static uint32_t L1GtPatternGenerator::packEtMiss ( uint32_t  rawValue)
staticprivate

Post-processing for etMissing

◆ packHfRecords()

void L1GtPatternGenerator::packHfRecords ( const std::string &  resultName,
L1GtPatternMap allPatterns 
)
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.

191  {
192  // iterate over each pattern line
193  for (L1GtPatternMap::LineMap::iterator it = allPatterns.begin(); it != allPatterns.end(); ++it) {
194  // Get the HF bit counts and ring sums
195  uint32_t counts = it->second.get("hfBitCounts1");
196  uint32_t sums = it->second.get("hfRingEtSums1");
197 
198  // Bits 0..11 -> 4 bit counts
199  uint32_t hfPsbValue = (counts & 0xFFF) |
200  // Bit 12..14 ring 1 pos. rap. HF Et sum
201  (sums & 0x7) << 12 |
202  // Bits 16.. rest of the ET sums
203  (sums >> 3) << 16;
204  // TODO: Spec states non-data values for Bits 15, 31, 47 and 63.
205 
206  // Export computed value to pattern writer. */
207  it->second.push(resultName, hfPsbValue);
208  }
209 }

References L1GtPatternMap::begin(), dqmiodumpmetadata::counts, and L1GtPatternMap::end().

Referenced by analyze().

◆ packRegionalMuons()

uint32_t L1GtPatternGenerator::packRegionalMuons ( uint32_t  rawData)
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.

151  {
152  uint32_t invertMask = 0x0000FF00;
153  uint32_t toKeep = rawData & (~invertMask);
154  return toKeep | (~rawData & invertMask);
155 }

References l1tstage2_dqm_sourceclient-live_cfg::rawData.

Referenced by analyze().

Member Data Documentation

◆ m_bx

std::vector<int> L1GtPatternGenerator::m_bx
private

Definition at line 93 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_columnDefaults

std::vector<uint32_t> L1GtPatternGenerator::m_columnDefaults
private

Definition at line 94 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_columnLengths

std::vector<uint32_t> L1GtPatternGenerator::m_columnLengths
private

Definition at line 92 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_columnNames

std::vector<std::string> L1GtPatternGenerator::m_columnNames
private

Definition at line 91 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_cscTag

edm::InputTag L1GtPatternGenerator::m_cscTag
private

Definition at line 76 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_debug

bool L1GtPatternGenerator::m_debug
private

Definition at line 95 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_destPath

std::string L1GtPatternGenerator::m_destPath
private

an algorithm and a condition in that algorithm to test the object maps

Definition at line 81 of file L1GtPatternGenerator.h.

◆ m_dtTag

edm::InputTag L1GtPatternGenerator::m_dtTag
private

input tags for regional muon data

Definition at line 75 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_fileName

std::string L1GtPatternGenerator::m_fileName
private

output file name

Definition at line 84 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_fileStream

std::ofstream L1GtPatternGenerator::m_fileStream
private

Definition at line 85 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and endJob().

◆ m_footer

std::string L1GtPatternGenerator::m_footer
private

Definition at line 90 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_gctTag

edm::InputTag L1GtPatternGenerator::m_gctTag
private

input tag for GCT data

Definition at line 66 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_gmtTag

edm::InputTag L1GtPatternGenerator::m_gmtTag
private

input tag for GMT data

Definition at line 69 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_gtTag

edm::InputTag L1GtPatternGenerator::m_gtTag
private

input tag for GT data

Definition at line 72 of file L1GtPatternGenerator.h.

Referenced by extractGlobalTriggerData(), and L1GtPatternGenerator().

◆ m_header

std::string L1GtPatternGenerator::m_header
private

formatting instructions

Definition at line 89 of file L1GtPatternGenerator.h.

Referenced by beginJob(), and L1GtPatternGenerator().

◆ m_rpcbTag

edm::InputTag L1GtPatternGenerator::m_rpcbTag
private

Definition at line 77 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_rpcfTag

edm::InputTag L1GtPatternGenerator::m_rpcfTag
private

Definition at line 78 of file L1GtPatternGenerator.h.

Referenced by analyze(), and L1GtPatternGenerator().

◆ m_writer

std::unique_ptr<L1GtPatternWriter> L1GtPatternGenerator::m_writer
private

Definition at line 97 of file L1GtPatternGenerator.h.

Referenced by analyze(), beginJob(), and endJob().

L1GtPatternGenerator::m_rpcfTag
edm::InputTag m_rpcfTag
Definition: L1GtPatternGenerator.h:78
L1GctHFBitCounts::raw
uint16_t raw() const
the raw data
Definition: L1GctHFBitCounts.h:64
L1GctEtMiss::et
unsigned et() const
get the magnitude
Definition: L1GctEtMiss.h:56
L1GtPatternGenerator::m_dtTag
edm::InputTag m_dtTag
input tags for regional muon data
Definition: L1GtPatternGenerator.h:75
L1GtPatternGenerator::m_footer
std::string m_footer
Definition: L1GtPatternGenerator.h:90
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
L1GtPatternGenerator::extractGlobalTriggerData
void extractGlobalTriggerData(const edm::Event &iEvent, L1GtPatternMap &patterns)
Definition: L1GtPatternGenerator.cc:158
L1GtPatternGenerator::packRegionalMuons
static uint32_t packRegionalMuons(uint32_t rawValue)
Definition: L1GtPatternGenerator.cc:151
patZpeak.handle
handle
Definition: patZpeak.py:23
L1GtPatternGenerator::m_header
std::string m_header
formatting instructions
Definition: L1GtPatternGenerator.h:89
L1GtPatternGenerator::m_columnLengths
std::vector< uint32_t > m_columnLengths
Definition: L1GtPatternGenerator.h:92
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
L1GtPatternGenerator::m_gmtTag
edm::InputTag m_gmtTag
input tag for GMT data
Definition: L1GtPatternGenerator.h:69
L1GctEtMiss::phi
unsigned phi() const
get the Et
Definition: L1GctEtMiss.h:62
l1tstage2_dqm_sourceclient-live_cfg.rawData
rawData
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:162
L1GtPatternGenerator::m_fileStream
std::ofstream m_fileStream
Definition: L1GtPatternGenerator.h:85
extractRecordData
static void extractRecordData(const edm::Event &iEvent, L1GtPatternMap &allPatterns, const std::string &label, const std::string &instance, TResult(TRecord::*rawFunctionPtr)() const, const std::string &prefix, uint32_t(*packingFunction)(uint32_t)=nullptr)
Definition: L1GtPatternGenerator.cc:90
edm::Handle
Definition: AssociativeIterator.h:50
L1GtPatternMap::begin
LineMap::const_iterator begin() const
Definition: L1GtPatternMap.cc:25
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1GtPatternGenerator::m_debug
bool m_debug
Definition: L1GtPatternGenerator.h:95
L1GtPatternGenerator::m_rpcbTag
edm::InputTag m_rpcbTag
Definition: L1GtPatternGenerator.h:77
convertSQLiteXML.runNumber
runNumber
Definition: convertSQLiteXML.py:91
L1MuRegionalCand::getDataWord
unsigned getDataWord() const
return data word
Definition: L1MuRegionalCand.h:107
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
L1GctHtMiss::raw
uint32_t raw() const
get the data
Definition: L1GctHtMiss.h:56
L1GtPatternGenerator::packHfRecords
void packHfRecords(const std::string &resultName, L1GtPatternMap &allPatterns)
Definition: L1GtPatternGenerator.cc:191
L1GctEtHad::raw
uint16_t raw() const
get the data
Definition: L1GctEtHad.h:40
L1GctEtTotal::raw
uint16_t raw() const
get the data
Definition: L1GctEtTotal.h:40
L1GtPatternMap::getLine
L1GtPatternLine & getLine(int eventNr, int bxNr)
Definition: L1GtPatternMap.cc:20
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
L1GtPatternGenerator::m_cscTag
edm::InputTag m_cscTag
Definition: L1GtPatternGenerator.h:76
L1GtPatternLine
Definition: L1GtPatternLine.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtPatternMap::end
LineMap::const_iterator end() const
Definition: L1GtPatternMap.cc:26
L1GtPatternGenerator::m_fileName
std::string m_fileName
output file name
Definition: L1GtPatternGenerator.h:84
L1GtPatternGenerator::m_writer
std::unique_ptr< L1GtPatternWriter > m_writer
Definition: L1GtPatternGenerator.h:97
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
iEvent
int iEvent
Definition: GenABIO.cc:224
L1GtPatternGenerator::m_gctTag
edm::InputTag m_gctTag
input tag for GCT data
Definition: L1GtPatternGenerator.h:66
extractGlobalTriggerWord
static void extractGlobalTriggerWord(const std::vector< bool > input, L1GtPatternLine &line, const std::string &prefix)
Definition: L1GtPatternGenerator.cc:138
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
L1GtPatternGenerator::m_gtTag
edm::InputTag m_gtTag
input tag for GT data
Definition: L1GtPatternGenerator.h:72
L1GctHFRingEtSums::raw
uint16_t raw() const
get the raw data
Definition: L1GctHFRingEtSums.h:64
L1GtPatternMap
Definition: L1GtPatternMap.h:22
L1GtPatternGenerator::m_bx
std::vector< int > m_bx
Definition: L1GtPatternGenerator.h:93
Exception
Definition: hltDiff.cc:245
dqmiodumpmetadata.counts
counts
Definition: dqmiodumpmetadata.py:25
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1GctEmCand::raw
uint16_t raw() const
get the raw data
Definition: L1GctEmCand.h:56
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:234
L1MuGMTCand::getDataWord
unsigned getDataWord() const
get muon data word
Definition: L1MuGMTCand.h:64
L1GtPatternGenerator::m_columnDefaults
std::vector< uint32_t > m_columnDefaults
Definition: L1GtPatternGenerator.h:94
mps_splice.line
line
Definition: mps_splice.py:76
edm::InputTag
Definition: InputTag.h:15
L1GctJetCand::raw
uint16_t raw() const
get the raw data
Definition: L1GctJetCand.h:50
L1GtPatternGenerator::m_columnNames
std::vector< std::string > m_columnNames
Definition: L1GtPatternGenerator.h:91