33 MssmHbbAnalyser::MssmHbbAnalyser()
45 h1_[
"mssmhbb_mbb"] = std::make_shared<TH1F>(
"mbb",
"MSSM Hbb mbb", 30000,0,3000);
64 if ( ! Analyser::event(i) )
return false;
74 for (
int i = 1; i <=
config_->nJetsMin(); ++i )
80 for (
int j = i+1; j <=
config_->nJetsMin(); ++j )
91 for (
int i = 1; i <=
config_->nBJetsMin(); ++i )
131 if ( std::string(
h1_[
"cutflow"] -> GetXaxis()-> GetBinLabel(
cutflow_+1)) ==
"" )
133 if ( swap )
h1_[
"cutflow"] -> GetXaxis()-> SetBinLabel(
cutflow_+1,
"MSSMHbb Semileptonic: Jet-muon association -> Muon-Jet index 1");
134 else h1_[
"cutflow"] -> GetXaxis()-> SetBinLabel(
cutflow_+1,
"MSSMHbb Semileptonic: Jet-muon association");
144 if ( ! (jet1 -> muon() || jet2 -> muon()) )
return false;
145 if ( ! jet1 -> muon() && swap ) this->
jetSwap(r1,r2);
156 if ( std::string(
h1_[
"cutflow"] -> GetXaxis()-> GetBinLabel(
cutflow_+1)) ==
"" )
157 h1_[
"cutflow"] -> GetXaxis()-> SetBinLabel(
cutflow_+1,
"Fill MssmHbb tree");
173 mssmhbb_tree_ = std::make_shared<TTree>(
"mssmhbb",
"TTree with mbb and weight for FitModel");
181 if ( std::string(
h1_[
"cutflow"] -> GetXaxis()-> GetBinLabel(
cutflow_+1)) ==
"" )
182 h1_[
"cutflow"] -> GetXaxis()-> SetBinLabel(
cutflow_+1,
"Fill MssmHbb Histograms");
void fillMssmHbbHistograms()
virtual bool muonJet(const bool &swap=false)
virtual bool event(const int &i)
Read event and perform basic selections and actions.
std::shared_ptr< TTree > mssmhbb_tree_