7 std::cout <<
"Welcome to the MSSM neutral cross section tool (v1.0). In case of questions contact:" 9 <<
" Allison Mc Carn / ATLAS (allison.renae.mc.carn@cern.ch)," << std::endl
10 <<
" Trevor Vickey / ATLAS (trevor.vickey@cern.ch), " << std::endl
11 <<
" Felix Frensch / CMS (felix.frensch@cern.ch) " << std::endl
12 <<
" Roger Wolf / CMS (roger.wolf@cern.ch), " << std::endl
13 <<
" Stefan Liebler / Theory (stefan.liebler@desy.de), " << std::endl
14 <<
" Michael Spira / Theory (michael.spira@psi.ch), " << std::endl
15 <<
" Pietro Slavich / Theory (slavich@lpthe.jussieu.fr). " << std::endl;
19 std::cout <<
"Chose input file using the method mssm_xs_tools::setup()" << std::endl;
22 input_ =
new TFile(filename);
34 input_ =
new TFile(filename);
50 if(source.find(
"->")!=std::string::npos){
51 name = std::string(
"br")+
"_"+source.substr(0, source.find(
"->"))+
"_"+source.substr(source.find(
"->")+2);
63 return std::string(
"width")+
"_"+std::string(boson);
77 std::string
process = source.find(
"->")!=std::string::npos ? source.substr(0, source.find(
"->")) : std::string();
78 std::string uncert = source.find(
"::")!=std::string::npos ? source.substr(source.rfind(
"::")+2) : std::string();
79 std::string boson = source.substr(source.find(
"->")+2, source.rfind(
"::")-(source.find(
"->")+2));
82 name = std::string(
"xs")+
"_"+process+
"_"+boson+(uncert.empty()? uncert : std::string(
"_")+uncert);
94 return std::string(
"m")+
"_"+std::string(boson);
109 hists_[std::string(histname)] = (TH2F*)
input_->Get(histname.c_str());
111 if(!
hists_.find(histname)->second){
112 std::cout <<
"WARNING: required histogram " 113 <<
"[" << histname <<
"] " 114 <<
"does not exist in input file " 115 <<
"[" <<
input_->GetName() <<
"]" 126 nbinsX_ =
hists_.find(histname)->second->GetXaxis()->GetNbins();
127 nbinsY_ =
hists_.find(histname)->second->GetYaxis()->GetNbins();
129 std::cout <<
"MESSAGE: read histogram " 130 <<
"[" << histname <<
"] " 131 <<
"from input file " 132 <<
"[" <<
input_->GetName() <<
"]" 137 return hists_.find(histname)->second;