Commit a181580a authored by Remi Mommsen's avatar Remi Mommsen Committed by Remi Mommsen
Browse files

references #144: add 'isGlobalRun' to parameters passed on to hltd

parent 5664a0ae
......@@ -74,6 +74,7 @@ namespace evb {
xdata::String whitelistName; // Name of the whitelist file
xdata::String fuWhitelist; // The FUs to whitelist as string
xdata::String hltinfoName; // Name of the file containing the HLT info
xdata::Boolean isGlobalRun; // Set to true if the configuration is for a global run
xdata::String daqSystem; // Idenfier of the DAQ system, e.g. 'cDAQ','904', etc
xdata::String daqInstance; // Idenfier of the DAQ instance, e.g. 'global','ecal','hcal', etc
xdata::String fuGroup; // Name of the group of FUs assigned to this BU
......@@ -131,6 +132,7 @@ namespace evb {
whitelistName("whitelist"),
fuWhitelist("[]"),
hltinfoName("hltinfo"),
isGlobalRun(false),
daqSystem(""),
daqInstance(""),
fuGroup(""),
......@@ -197,6 +199,7 @@ namespace evb {
params.add("whitelistName", &whitelistName);
params.add("fuWhitelist", &fuWhitelist);
params.add("hltinfoName", &hltinfoName);
params.add("isGlobalRun", &isGlobalRun);
params.add("daqSystem", &daqSystem);
params.add("daqInstance", &daqInstance);
params.add("fuGroup", &fuGroup);
......
......@@ -725,6 +725,7 @@ void evb::bu::DiskWriter::writeHLTinfo(const boost::filesystem::path& tmpDir) co
std::ofstream json(hltInfoPath.string().c_str());
json << "{" << std::endl;
json << " \"isGlobalRun\": \"" << configuration_->isGlobalRun.value_ << "\"," << std::endl;
json << " \"daqSystem\": \"" << configuration_->daqSystem.value_ << "\"," << std::endl;
json << " \"daqInstance\": \"" << configuration_->daqInstance.value_ << "\"," << std::endl;
json << " \"fuGroup\": \"" << configuration_->fuGroup.value_ << "\"" << std::endl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment