<commit_before>#include <stdlib.h>

#include <TFile.h>

#include "MyXAODTools/MonoJetAna.h"
#include "MyXAODTools/Helper.h"
#include "CPAnalysisExamples/errorcheck.h"
#include "xAODBase/IParticleHelpers.h"

#include "xAODMuon/MuonContainer.h"
#include "xAODEgamma/ElectronContainer.h"
#include "xAODEgamma/ElectronAuxContainer.h"
#include "xAODEgamma/PhotonContainer.h"
#include "xAODJet/JetContainer.h"
#include "xAODJet/JetAuxContainer.h"
#include "xAODMissingET/MissingETContainer.h"
#include "xAODMissingET/MissingETAuxContainer.h"



MonoJetAna::MonoJetAna():
    AnalysisBase(),
    smearJet("smearjet"),
    m_singleJetTrigger{
        "HLT_j15", "HLT_j25", "HLT_j55", "HLT_j60",
        "HLT_j85", "HLT_j100", "HLT_j110", "HLT_j150",
        "HLT_j175", "HLT_200", "HLT_260", "HLT_j300",
        "HLT_j320", "HLT_j360", "HLT_j380", "HLT_j400"
    },
    m_JET_PT_CUT(100),
    m_MET_ET_CUT(100)
{
    m_doSmearing = false;
    if(APP_NAME==NULL) APP_NAME = "MonoJetAna";
    string maindir(getenv("ROOTCOREBIN"));
    m_susy_config = Form("%s/data/MyXAODTools/monojet.conf", maindir.c_str());

    trigger_map_ = {
        {"HLT_xe70", false},
        {"HLT_xe80_tc_lcw_L1XE50", false},
        {"HLT_xe90_mht_L1XE50", false},
        {"HLT_xe100_mht_L1XE50", false},
        {"HLT_xe110_mht_L1XE50", false},
        // electron
        // {"HLT_e24_lhmedium_L1EM18VH", false}, // 2015
        // {"HLT_e24_lhmedium_L1EM20VH", false}, // 2015
        // {"HLT_e24_lhtight_nod0_ivarloose", false}, // 2016
        // {"HLT_e26_lhtight_nod0_ivarloose", false}, // 2016
        // {"HLT_e60_lhmedium_nod0", false}, // 2016
        // {"HLT_e140_lhloose_nod0", false}, // 2016
        // {"HLT_e60_medium", false}, // 2016
        // // photon
        // {"HLT_g140_loose", false},
        // pre-scaled jet
        {"HLT_j15", false},
        {"HLT_j25", false},
        {"HLT_j55", false},
        {"HLT_j60", false},
        {"HLT_j85", false},
        {"HLT_j100", false},
        {"HLT_j110", false},
        {"HLT_j150", false},
        {"HLT_j175", false},
        {"HLT_j200", false},
        {"HLT_j260", false},
        {"HLT_j300", false},
        {"HLT_j320", false},
        {"HLT_j360", false},
        {"HLT_j380", false},
        {"HLT_j400", false}
    };

}<commit_msg>fix bug of missing a j<commit_after>#include <stdlib.h>

#include <TFile.h>

#include "MyXAODTools/MonoJetAna.h"
#include "MyXAODTools/Helper.h"
#include "CPAnalysisExamples/errorcheck.h"
#include "xAODBase/IParticleHelpers.h"

#include "xAODMuon/MuonContainer.h"
#include "xAODEgamma/ElectronContainer.h"
#include "xAODEgamma/ElectronAuxContainer.h"
#include "xAODEgamma/PhotonContainer.h"
#include "xAODJet/JetContainer.h"
#include "xAODJet/JetAuxContainer.h"
#include "xAODMissingET/MissingETContainer.h"
#include "xAODMissingET/MissingETAuxContainer.h"



MonoJetAna::MonoJetAna():
    AnalysisBase(),
    smearJet("smearjet"),
    m_singleJetTrigger{
        // Order matters, don't change.
        // Don't forget a "j", otherwise you would waste your whole weekend.
        "HLT_j400", "HLT_j380", "HLT_j360", "HLT_j320",
        "HLT_j300", "HLT_j260", "HLT_j200", "HLT_j175",
        "HLT_j150", "HLT_j110", "HLT_j100", "HLT_j85",
        "HLT_j60",  "HLT_j55",  "HLT_j25",  "HLT_j15"
    },
    m_JET_PT_CUT(100),
    m_MET_ET_CUT(100)
{
    m_doSmearing = false;
    if(APP_NAME==NULL) APP_NAME = "MonoJetAna";
    string maindir(getenv("ROOTCOREBIN"));
    m_susy_config = Form("%s/data/MyXAODTools/monojet.conf", maindir.c_str());

    trigger_map_ = {
        {"HLT_xe70", false},
        {"HLT_xe80_tc_lcw_L1XE50",  false},
        {"HLT_xe90_mht_L1XE50",     false},
        {"HLT_xe100_mht_L1XE50",    false},
        {"HLT_xe110_mht_L1XE50",    false},
        // electron
        // {"HLT_e24_lhmedium_L1EM18VH", false}, // 2015
        // {"HLT_e24_lhmedium_L1EM20VH", false}, // 2015
        // {"HLT_e24_lhtight_nod0_ivarloose", false}, // 2016
        // {"HLT_e26_lhtight_nod0_ivarloose", false}, // 2016
        // {"HLT_e60_lhmedium_nod0", false}, // 2016
        // {"HLT_e140_lhloose_nod0", false}, // 2016
        // {"HLT_e60_medium", false}, // 2016
        // // photon
        // {"HLT_g140_loose", false},
        // pre-scaled jet
        {"HLT_j15", false},
        {"HLT_j25", false},
        {"HLT_j55", false},
        {"HLT_j60", false},
        {"HLT_j85", false},
        {"HLT_j100", false},
        {"HLT_j110", false},
        {"HLT_j150", false},
        {"HLT_j175", false},
        {"HLT_j200", false},
        {"HLT_j260", false},
        {"HLT_j300", false},
        {"HLT_j320", false},
        {"HLT_j360", false},
        {"HLT_j380", false},
        {"HLT_j400", false}
    };

}
{'fraction_non_alphanumeric': 0.1672311600338696, 'fraction_numerical': 0.07281964436917866, 'mean_word_length': 2.9342214820982515, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1504360', 'n_tokens_mistral': 2203, 'n_tokens_neox': 1935, 'n_words': 280}