|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef __SUSYCROSSSECTION__
6 #define __SUSYCROSSSECTION__
20 class IPMGCrossSectionTool;
26 unsigned int finalState(
const int SUSY_Spart1_pdgId,
const int SUSY_Spart2_pdgId);
31 CrossSectionDB(
const std::string& txtfilename =
"dev/PMGTools/PMGxsecDB_mc16.txt",
bool usePathResolver =
true,
bool isExtended =
false,
bool usePMGTool =
true);
36 void extend(
const std::string&);
79 return this->m_sample_id <
k.m_sample_id || (this->m_sample_id ==
k.m_sample_id && this->m_proc_id <
k.m_proc_id);
96 return p.xsect() *
p.kfactor() *
p.efficiency();
JetConstituentVector::iterator iterator
unsigned int finalState(const int SUSY_Spart1_pdgId, const int SUSY_Spart2_pdgId)
float rel_uncertainty(int id, int pdgId1, int pdgId2) const
Key(int _sample_id, int _proc_id)
CrossSectionDB(const std::string &txtfilename="dev/PMGTools/PMGxsecDB_mc16.txt", bool usePathResolver=true, bool isExtended=false, bool usePMGTool=true)
xsDB_t::iterator my_find(const int proc)
xsDB_t::const_iterator iterator
float kfactor(int id, int proc=0) const
float rel_uncertainty(int id, int proc=0) const
float kfactor(int id, int pdgId1, int pdgId2) const
Process(int id, const std::string &name, float cross_section, float kfactor, float efficiency, float relunc, float sumweight, float stat)
float efficiency(int id, int proc=0) const
void setUsePMGTool(bool usePMGTool=true)
void setExtended(bool isExtended=true)
std::string name(int id) const
Key(int _sample_id, const std::string &name)
const std::string & name() const
bool operator<(const Key &k) const
void extend(const std::string &)
Process process(int id, int pdgId1, int pdgId2) const
float sumweight(int id, int proc=0) const
float rawxsect(int id, int proc=0) const
float efficiency(int id, int pdgId1, int pdgId2) const
float sumweight(int id, int pdgId1, int pdgId2) const
float xsectTimesEff(int id, int pdgId1, int pdgId2) const
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...
std::map< Key, Process > xsDB_t
Process process(int id, int proc=0) const
float xsectTimesEff(int id, int proc=0) const
void loadFile(const std::string &)
asg::AnaToolHandle< PMGTools::IPMGCrossSectionTool > m_pmgxs
float rawxsect(int id, int pdgId1, int pdgId2) const