#include <HtrXmlPatternTool.h>
Public Member Functions | |
void | createHists () |
void | Fill (const HcalElectronicsId HEID, HBHEDigiCollection::const_iterator data) |
void | Fill (const HcalElectronicsId HEID, HFDigiCollection::const_iterator data) |
void | Fill (const HcalElectronicsId HEID, HODigiCollection::const_iterator data) |
HtrXmlPatternSet * | GetPatternSet () |
HtrXmlPatternTool (HtrXmlPatternToolParameters *m_params) | |
void | prepareDirs () |
void | writeXML () |
~HtrXmlPatternTool () | |
Private Attributes | |
HtrXmlPatternToolParameters * | m_params |
HtrXmlPatternSet * | m_patternSet |
HtrXmlPatternWriter | m_xmlWriter |
Definition at line 9 of file HtrXmlPatternTool.h.
HtrXmlPatternTool::HtrXmlPatternTool | ( | HtrXmlPatternToolParameters * | m_params | ) |
Definition at line 11 of file HtrXmlPatternTool.cc.
References i, HtrXmlPatternToolParameters::m_file_tag, m_params, m_patternSet, m_xmlWriter, ChannelPattern::NUM_CRATES, ChannelPattern::NUM_SLOTS, and HtrXmlPatternWriter::setTagName().
HtrXmlPatternTool::~HtrXmlPatternTool | ( | ) |
void HtrXmlPatternTool::createHists | ( | ) |
Definition at line 198 of file HtrXmlPatternTool.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, CommonMethods::cp(), ChannelPattern::getCoded(), HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HalfHtrData::getPattern(), ChannelPattern::getQuantized(), AnalysisDataFormats_SUSYBSMObjects::hp, i, HtrXmlPatternToolParameters::m_file_tag, HtrXmlPatternToolParameters::m_output_directory, m_params, m_patternSet, mergeVDriftHistosByStation::name, ChannelPattern::NUM_CRATES, ChannelPattern::NUM_SLOTS, ChannelPattern::SAMPLES, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HtrXmlPattern::endJob().
void HtrXmlPatternTool::Fill | ( | const HcalElectronicsId | HEID, |
HBHEDigiCollection::const_iterator | data | ||
) |
Definition at line 40 of file HtrXmlPatternTool.cc.
References dtNoiseDBValidation_cfg::cerr, CommonMethods::cp(), HcalElectronicsId::dccid(), ChannelPattern::Fill(), HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HalfHtrData::getPattern(), HcalElectronicsId::htrChanId(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), m_params, m_patternSet, HtrXmlPatternToolParameters::m_show_errors, HcalElectronicsId::readoutVMECrateId(), HalfHtrData::setDCC(), HalfHtrData::setSpigot(), and HcalElectronicsId::spigot().
Referenced by HtrXmlPattern::analyze().
void HtrXmlPatternTool::Fill | ( | const HcalElectronicsId | HEID, |
HFDigiCollection::const_iterator | data | ||
) |
Definition at line 65 of file HtrXmlPatternTool.cc.
References dtNoiseDBValidation_cfg::cerr, CommonMethods::cp(), HcalElectronicsId::dccid(), ChannelPattern::Fill(), HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HalfHtrData::getPattern(), HcalElectronicsId::htrChanId(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), m_params, m_patternSet, HtrXmlPatternToolParameters::m_show_errors, HcalElectronicsId::readoutVMECrateId(), HalfHtrData::setDCC(), HalfHtrData::setSpigot(), and HcalElectronicsId::spigot().
void HtrXmlPatternTool::Fill | ( | const HcalElectronicsId | HEID, |
HODigiCollection::const_iterator | data | ||
) |
Definition at line 90 of file HtrXmlPatternTool.cc.
References dtNoiseDBValidation_cfg::cerr, CommonMethods::cp(), HcalElectronicsId::dccid(), ChannelPattern::Fill(), HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HalfHtrData::getPattern(), HcalElectronicsId::htrChanId(), HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), m_params, m_patternSet, HtrXmlPatternToolParameters::m_show_errors, HcalElectronicsId::readoutVMECrateId(), HalfHtrData::setDCC(), HalfHtrData::setSpigot(), and HcalElectronicsId::spigot().
|
inline |
Definition at line 19 of file HtrXmlPatternTool.h.
References m_patternSet.
Referenced by HtrXmlPattern::do_hand_fill().
void HtrXmlPatternTool::prepareDirs | ( | ) |
Definition at line 115 of file HtrXmlPatternTool.cc.
References HtrXmlPatternToolParameters::m_output_directory, and m_params.
Referenced by HtrXmlPattern::endJob().
void HtrXmlPatternTool::writeXML | ( | ) |
Definition at line 119 of file HtrXmlPatternTool.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, HtrXmlPatternSet::getCrate(), CrateData::getHalfHtrData(), HtrXmlPatternToolParameters::m_file_tag, HtrXmlPatternToolParameters::m_output_directory, m_params, m_patternSet, HtrXmlPatternToolParameters::m_XML_file_mode, m_xmlWriter, mergeVDriftHistosByStation::name, ChannelPattern::NUM_CRATES, ChannelPattern::NUM_SLOTS, dbtoconf::out, AlCaHLTBitMon_QueryRunRegistry::string, estimatePileup_makeJSON::trunc, and HtrXmlPatternWriter::writePattern().
Referenced by HtrXmlPattern::endJob().
|
private |
Definition at line 22 of file HtrXmlPatternTool.h.
Referenced by createHists(), Fill(), HtrXmlPatternTool(), prepareDirs(), and writeXML().
|
private |
Definition at line 21 of file HtrXmlPatternTool.h.
Referenced by createHists(), Fill(), GetPatternSet(), HtrXmlPatternTool(), writeXML(), and ~HtrXmlPatternTool().
|
private |
Definition at line 23 of file HtrXmlPatternTool.h.
Referenced by HtrXmlPatternTool(), and writeXML().