#include <XMLEventWriter.h>
Public Member Functions | |
void | endJob () override |
void | observeEventBegin (const edm::Event &iEvent) override |
void | observeEventEnd (const edm::Event &iEvent, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates) override |
void | observeProcesorEmulation (unsigned int iProcessor, l1t::tftype mtfType, const std::shared_ptr< OMTFinput > &input, const AlgoMuons &algoCandidates, const AlgoMuons &gbCandidates, const std::vector< l1t::RegionalMuonCand > &candMuons) override |
XMLEventWriter (const OMTFConfiguration *aOMTFConfig, std::string fName) | |
~XMLEventWriter () override | |
Public Member Functions inherited from IOMTFEmulationObserver | |
virtual void | beginRun (edm::EventSetup const &eventSetup) |
IOMTFEmulationObserver () | |
virtual | ~IOMTFEmulationObserver () |
Private Attributes | |
xercesc::DOMElement * | currentElement |
unsigned int | eventId = 0 |
unsigned int | eventNum = 0 |
std::string | fName |
const OMTFConfiguration * | omtfConfig |
XMLConfigWriter | xmlWriter |
Definition at line 21 of file XMLEventWriter.h.
XMLEventWriter::XMLEventWriter | ( | const OMTFConfiguration * | aOMTFConfig, |
std::string | fName | ||
) |
Definition at line 15 of file XMLEventWriter.cc.
References eventNum, XMLConfigWriter::initialiseXMLDocument(), and xmlWriter.
|
override |
Definition at line 22 of file XMLEventWriter.cc.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 74 of file XMLEventWriter.cc.
References XMLConfigWriter::finaliseXMLDocument(), fName, and xmlWriter.
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 59 of file XMLEventWriter.cc.
References currentElement, eventId, eventNum, iEvent, XMLConfigWriter::writeEventHeader(), and xmlWriter.
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 69 of file XMLEventWriter.cc.
References currentElement.
|
overridevirtual |
Dump only regions, where a candidate was found
Implements IOMTFEmulationObserver.
Definition at line 24 of file XMLEventWriter.cc.
References currentElement, makeMuonMisalignmentScenario::endcap, eventNum, input, l1t::omtf_neg, l1t::omtf_pos, XMLConfigWriter::writeAlgoMuon(), XMLConfigWriter::writeCandMuon(), XMLConfigWriter::writeEventData(), and xmlWriter.
|
private |
Definition at line 44 of file XMLEventWriter.h.
Referenced by observeEventBegin(), observeEventEnd(), and observeProcesorEmulation().
|
private |
Definition at line 50 of file XMLEventWriter.h.
Referenced by ntupleDataFormat.Event::eventIdStr(), and observeEventBegin().
|
private |
Definition at line 48 of file XMLEventWriter.h.
Referenced by observeEventBegin(), observeProcesorEmulation(), and XMLEventWriter().
|
private |
Definition at line 46 of file XMLEventWriter.h.
Referenced by endJob().
|
private |
Definition at line 42 of file XMLEventWriter.h.
|
private |
Definition at line 43 of file XMLEventWriter.h.
Referenced by endJob(), observeEventBegin(), observeProcesorEmulation(), and XMLEventWriter().