Commit a4c482cf authored by Oliver Majersky's avatar Oliver Majersky Committed by Nils Erik Krumnack
Browse files

AnalysisTop: crash when encountering unsupported config options

parent 8663b9e9
......@@ -64,8 +64,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -80,7 +78,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -57,8 +57,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -73,7 +71,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -64,8 +64,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -80,7 +78,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -64,8 +64,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -80,7 +78,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -64,8 +64,6 @@ PerfStats No
### Systematics configuration
Systematics All
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -80,7 +78,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -57,8 +57,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -73,7 +71,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -59,8 +59,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -75,7 +73,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -57,8 +57,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -73,7 +71,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -57,8 +57,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -73,7 +71,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -57,8 +57,6 @@ PerfStats No
### Systematics configuration
Systematics All
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -73,7 +71,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -77,8 +77,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -93,7 +91,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......
......@@ -60,7 +60,7 @@ VarRCJetRho 2
### Truth configuration
TruthCollectionName TruthParticles
TruthJetCollectionName AntiKt4TruthWZJets
TruthJetCollectionName AntiKt4TruthDressedWZJets
TruthLargeRJetCollectionName AntiKt10TruthTrimmedPtFrac5SmallR20Jets
TopPartonHistory ttbar
TopParticleLevel True
......@@ -77,8 +77,6 @@ PerfStats No
### Systematics configuration
Systematics Nominal
JetUncertainties_NPModel CategoryReduction
LargeRJetUncertainties_NPModel CategoryReduction
### Electron configuration
ElectronID TightLH
......@@ -93,7 +91,6 @@ PhotonID Tight
PhotonIDLoose Loose
PhotonIsolation FixedCutTight
PhotonIsolationLoose FixedCutLoose
PhotonUseRadiativeZ False
### Muon configuration
MuonQuality Medium
......@@ -132,7 +129,6 @@ BoostedJetTagging JSSWTopTaggerDNN:DNNTaggerTopQuarkInclusive50 JSSWTopTaggerDNN
BTaggingCaloJetWP MV2c10:FixedCutBEff_77 MV2c10:Continuous
BTaggingTrackJetWP MV2c10:FixedCutBEff_77 MV2c10:Continuous
# Example of how to remove systematics from b-tag EV
#BTaggingSystExcludedFromEV FT_EFF_JET_BJES_Response;FT_EFF_JET_EffectiveNP_1;FT_EFF_EG_RESOLUTION_ALL
# Saving bootstrapping weights
SaveBootstrapWeights False
......
......@@ -962,7 +962,6 @@ int main(int argc, char** argv) {
// check if we are using actual mu for mc16d or mc16e
if (isFirst && topConfig->isMC()) {
const int runNumber = topEvent.m_info->runNumber();
ATH_MSG_INFO("RunNumber: " << runNumber);
if (runNumber >= 300000) {
if ((!topConfig->isAFII() && topConfig->PileupActualMu_FS().size() == 0) ||
(topConfig->isAFII() && topConfig->PileupActualMu_AF().size() == 0)) {
......
......@@ -898,6 +898,10 @@ namespace top {
if (its != strings_.end()) {
its->second.m_data = value;
its->second.m_set = true;
} else {
ATH_MSG_ERROR("\n\nConfig file includes non-existant option: " << key
<< "\nThis option either does not exist anymore, or you have a typo.");
throw std::runtime_error("Unsupported config option.");
}
//// add dynamic keys
......
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