|
ATLAS Offline Software
|
Go to the documentation of this file.
22 ::Error(
"main()",
"Please provide a DSID to be checked!");
30 std::cout <<
"--- File Validation Mode ----" << std::endl;
34 std::cout <<
"--- Generator info Mode ----" << std::endl;
39 std::cout <<
"--- Wrapper Validation Mode ----" << std::endl;
43 SUSY::CrossSectionDB my_XsecDB(gSystem->ExpandPathName(
"$ROOTCOREBIN/data/SUSYTools/mc15_13TeV/"));
47 pmgxs.
setTypeAndName(
"PMGTools::PMGCrossSectionTool/PMGCrossSectionTool");
49 pmgxs->
readInfosFromDir(gSystem->ExpandPathName(
"$ROOTCOREBIN/data/PMGTools/"));
62 std::cout <<
"ST_CrossSection name : " << my_XsecDB.
name(
dsid) << std::endl;
63 std::cout <<
"ST_CrossSection xs : " << my_XsecDB.
xsectTimesEff(
dsid) << std::endl;
64 std::cout <<
"ST_CrossSection raw : " << my_XsecDB.
rawxsect(
dsid) << std::endl;
65 std::cout <<
"ST_CrossSection k : " << my_XsecDB.
kfactor(
dsid) << std::endl;
66 std::cout <<
"ST_CrossSection eff : " << my_XsecDB.
efficiency(
dsid) << std::endl;
69 std::cout <<
"PMG_CrossSection name : " << pmgxs->
getSampleName(
dsid) << std::endl;
72 std::cout <<
"PMG_CrossSection (k) : " << pmgxs->
getKfactor(
dsid) << std::endl;
73 std::cout <<
"PMG_CrossSection (eff) : " << pmgxs->
getFilterEff(
dsid) << std::endl;
76 std::cout <<
"STPMG_CrossSection name : " << my_XsecDBPMG.
name(
dsid) << std::endl;
77 std::cout <<
"STPMG_CrossSection xs : " << my_XsecDBPMG.
xsectTimesEff(
dsid) << std::endl;
78 std::cout <<
"STPMG_CrossSection raw : " << my_XsecDBPMG.
rawxsect(
dsid) << std::endl;
79 std::cout <<
"STPMG_CrossSection k : " << my_XsecDBPMG.
kfactor(
dsid) << std::endl;
80 std::cout <<
"STPMG_CrossSection eff : " << my_XsecDBPMG.
efficiency(
dsid) << std::endl;
87 std::string genname=
"SHOWER";
88 std::cout <<
id <<
"\t"
89 << genname << std::endl;
104 TString
cmd = Form(
"grep \"%d\" PMGTools/data/*.txt | cut -d: -f1 >> PMG_id_file.txt",
id);
107 std::string shortname = pmgxs->
getSampleName(
id).erase(0,18);
108 std::string delim=
"\t";
110 std::cout <<
id << delim
111 << shortname << delim
116 << my_XsecDB.
kfactor(
id) << delim
float rawxsect(int id) const
float kfactor(int id) const
float kfactor(int id, int proc=0) const
float xsectTimesEff(int id) const
float efficiency(int id, int proc=0) const
float efficiency(int id) const
std::string name(int id) const
int main(int argc, char *argv[])
float rawxsect(int id, int proc=0) const
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
Error
The different types of error that can be flagged in the L1TopoRDO.
std::string name(int id) const
float xsectTimesEff(int id, int proc=0) const