#include <XMLEventWriter.h>
Public Member Functions | |
void | addProcesorData (std::string key, boost::property_tree::ptree &procDataTree) override |
void | endJob () override |
void | observeEventBegin (const edm::Event &iEvent) override |
void | observeEventEnd (const edm::Event &iEvent, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &finalCandidates) override |
void | observeProcesorBegin (unsigned int iProcessor, l1t::tftype mtfType) 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 | |
unsigned int | eventId = 0 |
unsigned int | eventNum = 0 |
boost::property_tree::ptree * | eventTree = nullptr |
std::string | fName |
const OMTFConfiguration * | omtfConfig |
boost::property_tree::ptree | procTree |
boost::property_tree::ptree | tree |
Definition at line 22 of file XMLEventWriter.h.
XMLEventWriter::XMLEventWriter | ( | const OMTFConfiguration * | aOMTFConfig, |
std::string | fName | ||
) |
Definition at line 21 of file XMLEventWriter.cc.
References eventNum, OMTFConfiguration::patternsVersion(), and BeamSplash_cfg::version.
|
override |
Definition at line 38 of file XMLEventWriter.cc.
|
inlineoverridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 30 of file XMLEventWriter.h.
References submitPVResolutionJobs::key, and procTree.
|
overridevirtual |
Implements IOMTFEmulationObserver.
Definition at line 212 of file XMLEventWriter.cc.
References fName, and MCScenario_CRAFT1_22X::write_xml().
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 198 of file XMLEventWriter.cc.
References eventId, eventNum, eventTree, and iEvent.
|
overridevirtual |
|
overridevirtual |
Reimplemented from IOMTFEmulationObserver.
Definition at line 40 of file XMLEventWriter.cc.
References makeMuonMisalignmentScenario::endcap, OmtfName::name(), l1t::omtf_neg, l1t::omtf_pos, omtfConfig, OmtfName::position(), and procTree.
|
overridevirtual |
Dump only regions, where a candidate was found
Implements IOMTFEmulationObserver.
Definition at line 53 of file XMLEventWriter.cc.
References makeMuonMisalignmentScenario::endcap, eventTree, input, OMTFConfiguration::nLayers(), OMTFConfiguration::nPhiBins(), l1t::omtf_neg, l1t::omtf_pos, omtfConfig, and procTree.
|
private |
Definition at line 61 of file XMLEventWriter.h.
Referenced by ntupleDataFormat.Event::eventIdStr(), and observeEventBegin().
|
private |
Definition at line 59 of file XMLEventWriter.h.
Referenced by observeEventBegin(), and XMLEventWriter().
|
private |
Definition at line 53 of file XMLEventWriter.h.
Referenced by observeEventBegin(), and observeProcesorEmulation().
|
private |
Definition at line 57 of file XMLEventWriter.h.
Referenced by endJob().
|
private |
Definition at line 49 of file XMLEventWriter.h.
Referenced by observeProcesorBegin(), and observeProcesorEmulation().
|
private |
Definition at line 55 of file XMLEventWriter.h.
Referenced by addProcesorData(), observeProcesorBegin(), and observeProcesorEmulation().
|
private |
Definition at line 51 of file XMLEventWriter.h.
Referenced by eventstfile.Events::__iter__(), svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), tree.Tree::branch_(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), SimpleTreeProducer.SimpleTreeProducer::process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), python.cmstools.EventTree::SetAlias(), eventstfile.Events::size(), eventstfile.Events::to(), tree.Tree::var(), and tree.Tree::vector().