#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.
References photonIsolationHIProducer_cfi::hf, and writeEcalDQMStatus::write.
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");
std::string m_outFileName
FWPartialConfigGUI(const char *path, FWConfigurationManager *)
std::string m_currFileName
◆ ~FWPartialConfigSaveGUI()
FWPartialConfigSaveGUI::~FWPartialConfigSaveGUI |
( |
| ) |
|
|
inlineoverride |
◆ ClassDefOverride()
◆ WriteConfig()
void FWPartialConfigSaveGUI::WriteConfig |
( |
| ) |
|
Definition at line 177 of file FWPartialConfig.cc.
References HLTMuonOfflineAnalyzer_cff::destination, geometryDiff::file, fwLog, g, mps_fire::i, createfilelist::int, fwlog::kError, submitPVResolutionJobs::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().
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);
void to(FWConfiguration &) const
FWConfigurationManager * m_cfgMng
def replace(string, replacements)
std::vector< TGCheckButton * > m_entries
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
std::string m_outFileName
key
prepare the HTCondor submission files and eventually submit them
std::vector< std::pair< std::string, FWConfiguration > > KeyValues
FWConfiguration m_origConfig
const KeyValues * keyValues() const
std::string m_currFileName
static void streamTo(std::ostream &oTo, const FWConfiguration &iConfig, const std::string &name)
◆ m_currFileName
std::string FWPartialConfigSaveGUI::m_currFileName |
|
private |
◆ m_outFileName
std::string FWPartialConfigSaveGUI::m_outFileName |
|
private |