Skip to content

Commit

Permalink
Do not set default values for all conf params (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Apr 12, 2023
1 parent 3bf2a4d commit 48e4b0e
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,17 @@ namespace k4SimDelphes {
settings.GenParticleCollections =
toVecString(confReader->GetParam("EDM4HepOutput::GenParticleCollections"), {"GenParticle"});

settings.JetCollections = toVecString(confReader->GetParam("EDM4HepOutput::JetCollections"), {"Jet"});
settings.JetCollections = toVecString(confReader->GetParam("EDM4HepOutput::JetCollections"), {});

settings.MuonCollections = toVecString(confReader->GetParam("EDM4HepOutput::MuonCollections"), {"Muon"});
settings.MuonCollections = toVecString(confReader->GetParam("EDM4HepOutput::MuonCollections"), {});

settings.ElectronCollections =
toVecString(confReader->GetParam("EDM4HepOutput::ElectronCollections"), {"Electron"});
settings.ElectronCollections = toVecString(confReader->GetParam("EDM4HepOutput::ElectronCollections"), {});

settings.PhotonCollections = toVecString(confReader->GetParam("EDM4HepOutput::PhotonCollections"), {"Photon"});
settings.PhotonCollections = toVecString(confReader->GetParam("EDM4HepOutput::PhotonCollections"), {});

settings.MissingETCollections =
toVecString(confReader->GetParam("EDM4HepOutput::MissingETCollections"), {"MissingET"});
settings.MissingETCollections = toVecString(confReader->GetParam("EDM4HepOutput::MissingETCollections"), {});

settings.ScalarHTCollections =
toVecString(confReader->GetParam("EDM4HepOutput::ScalarHTCollections"), {"ScalarHT"});
settings.ScalarHTCollections = toVecString(confReader->GetParam("EDM4HepOutput::ScalarHTCollections"), {});

settings.RecoParticleCollectionName =
confReader->GetString("EDM4HepOutput::RecoParticleCollectionName", "ReconstructedParticles");
Expand Down

0 comments on commit 48e4b0e

Please sign in to comment.