#include <FWPartialConfig.h>
Definition at line 42 of file FWPartialConfig.h.
◆ FWPartialConfigSaveGUI()
FWPartialConfigSaveGUI::FWPartialConfigSaveGUI |
( |
const char * |
path_out, |
|
|
const char * |
path_in, |
|
|
FWConfigurationManager * |
iCfg |
|
) |
| |
Definition at line 154 of file FWPartialConfig.cc.
156 TGHorizontalFrame*
hf =
new TGHorizontalFrame(
this);
157 AddFrame(
hf,
new TGLayoutHints(kLHintsRight | kLHintsBottom, 1, 1, 2, 4));
159 TGTextButton*
write =
new TGTextButton(
hf,
" Write ");
160 write->Connect(
"Clicked()",
"FWPartialConfigSaveGUI",
this,
"WriteConfig()");
161 hf->AddFrame(
write,
new TGLayoutHints(kLHintsExpandX, 2, 2, 0, 0));
163 TGTextButton* cancel =
new TGTextButton(
hf,
" Cancel ");
164 cancel->Connect(
"Clicked()",
"FWPartialConfigGUI",
this,
"Cancel()");
165 hf->AddFrame(cancel,
new TGLayoutHints(kLHintsExpandX, 2, 2, 0, 0));
167 AddFrame(
new TGLabel(
this, Form(
"Output file: %s", gSystem->BaseName(path_out))),
168 new TGLayoutHints(kLHintsLeft, 8, 2, 3, 3));
170 SetWindowName(
"Save Config");
References photonIsolationHIProducer_cfi::hf, and writeEcalDQMStatus::write.
◆ ~FWPartialConfigSaveGUI()
FWPartialConfigSaveGUI::~FWPartialConfigSaveGUI |
( |
| ) |
|
|
inlineoverride |
◆ ClassDefOverride()
◆ WriteConfig()
void FWPartialConfigSaveGUI::WriteConfig |
( |
| ) |
|
Definition at line 177 of file FWPartialConfig.cc.
183 if (
g.peek() == (
int)
'<') {
201 for (FWConfiguration::KeyValues::iterator it = cur_kv->begin(); it != cur_kv->end(); ++it) {
202 if (
key == it->first) {
205 for (FWConfiguration::KeyValues::iterator oldit = old_kv->begin(); oldit != old_kv->end(); ++oldit) {
206 if (
key == oldit->first) {
208 oldit->second.swap(it->second);
References HLTMuonOfflineAnalyzer_cff::destination, FrontierConditions_GlobalTag_cff::file, fwLog, g, mps_fire::i, createfilelist::int, fwlog::kError, crabWrapper::key, FWConfiguration::keyValues(), fwlog::kInfo, FWPartialConfigGUI::m_cfgMng, m_currFileName, FWPartialConfigGUI::m_entries, FWPartialConfigGUI::m_origConfig, m_outFileName, writedatasetfile::parser, python.rootplot.root2matplotlib::replace(), FWConfiguration::streamTo(), AlCaHLTBitMon_QueryRunRegistry::string, and FWConfigurationManager::to().
◆ m_currFileName
std::string FWPartialConfigSaveGUI::m_currFileName |
|
private |
◆ m_outFileName
std::string FWPartialConfigSaveGUI::m_outFileName |
|
private |