|
ATLAS Offline Software
|
#include <SUSYCrossSection.h>
|
| CrossSectionDB (const std::string &txtfilename="dev/PMGTools/PMGxsecDB_mc16.txt", bool usePathResolver=true, bool isExtended=false, bool usePMGTool=true) |
|
void | loadFile (const std::string &) |
|
void | extend (const std::string &) |
|
void | setExtended (bool isExtended=true) |
|
void | setUsePMGTool (bool usePMGTool=true) |
|
Process | process (int id, int proc=0) const |
|
Process | process (int id, int pdgId1, int pdgId2) const |
|
float | xsectTimesEff (int id, int proc=0) const |
|
float | xsectTimesEff (int id, int pdgId1, int pdgId2) const |
|
float | rawxsect (int id, int proc=0) const |
|
float | rawxsect (int id, int pdgId1, int pdgId2) const |
|
float | kfactor (int id, int proc=0) const |
|
float | kfactor (int id, int pdgId1, int pdgId2) const |
|
float | efficiency (int id, int proc=0) const |
|
float | efficiency (int id, int pdgId1, int pdgId2) const |
|
float | rel_uncertainty (int id, int proc=0) const |
|
float | rel_uncertainty (int id, int pdgId1, int pdgId2) const |
|
float | sumweight (int id, int proc=0) const |
|
float | sumweight (int id, int pdgId1, int pdgId2) const |
|
std::string | name (int id) const |
|
iterator | begin () const |
|
iterator | end () const |
|
Definition at line 28 of file SUSYCrossSection.h.
◆ iterator
◆ xsDB_t
◆ CrossSectionDB()
SUSY::CrossSectionDB::CrossSectionDB |
( |
const std::string & |
txtfilename = "dev/PMGTools/PMGxsecDB_mc16.txt" , |
|
|
bool |
usePathResolver = true , |
|
|
bool |
isExtended = false , |
|
|
bool |
usePMGTool = true |
|
) |
| |
◆ begin()
iterator SUSY::CrossSectionDB::begin |
( |
| ) |
const |
|
inline |
◆ efficiency() [1/2]
float SUSY::CrossSectionDB::efficiency |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ efficiency() [2/2]
float SUSY::CrossSectionDB::efficiency |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ end()
iterator SUSY::CrossSectionDB::end |
( |
| ) |
const |
|
inline |
◆ extend()
void SUSY::CrossSectionDB::extend |
( |
const std::string & |
txtfilename | ) |
|
Definition at line 167 of file SUSYCrossSection.cxx.
171 std::ifstream in(txtfilename.c_str());
173 while ( getline(in,
line) )
176 if ( !
line.empty() ){
177 while (
line[0] ==
' ' )
line.erase(0, 1);
180 if ( !
line.empty() && isdigit(
line[0]) ){
181 std::stringstream is(
line);
199 my_it->second.stat(
stat);
◆ kfactor() [1/2]
float SUSY::CrossSectionDB::kfactor |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ kfactor() [2/2]
float SUSY::CrossSectionDB::kfactor |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ loadFile()
void SUSY::CrossSectionDB::loadFile |
( |
const std::string & |
txtfilename | ) |
|
Definition at line 131 of file SUSYCrossSection.cxx.
135 std::ifstream in(txtfilename.c_str());
137 while ( getline(in,
line) ){
139 if ( !
line.empty() ){
140 while (
line[0] ==
' ' )
line.erase(0, 1);
143 if ( !
line.empty() && isdigit(
line[0]) ){
144 std::stringstream is(
line);
◆ my_find()
SUSY::CrossSectionDB::xsDB_t::iterator SUSY::CrossSectionDB::my_find |
( |
const int |
proc | ) |
|
|
private |
◆ name()
std::string SUSY::CrossSectionDB::name |
( |
int |
id | ) |
const |
|
inline |
◆ process() [1/2]
Process SUSY::CrossSectionDB::process |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ process() [2/2]
◆ rawxsect() [1/2]
float SUSY::CrossSectionDB::rawxsect |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ rawxsect() [2/2]
float SUSY::CrossSectionDB::rawxsect |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ rel_uncertainty() [1/2]
float SUSY::CrossSectionDB::rel_uncertainty |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ rel_uncertainty() [2/2]
float SUSY::CrossSectionDB::rel_uncertainty |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ setExtended()
void SUSY::CrossSectionDB::setExtended |
( |
bool |
isExtended = true | ) |
|
|
inline |
◆ setUsePMGTool()
void SUSY::CrossSectionDB::setUsePMGTool |
( |
bool |
usePMGTool = true | ) |
|
|
inline |
◆ sumweight() [1/2]
float SUSY::CrossSectionDB::sumweight |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ sumweight() [2/2]
float SUSY::CrossSectionDB::sumweight |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ xsectTimesEff() [1/2]
float SUSY::CrossSectionDB::xsectTimesEff |
( |
int |
id, |
|
|
int |
pdgId1, |
|
|
int |
pdgId2 |
|
) |
| const |
|
inline |
◆ xsectTimesEff() [2/2]
float SUSY::CrossSectionDB::xsectTimesEff |
( |
int |
id, |
|
|
int |
proc = 0 |
|
) |
| const |
|
inline |
◆ m_cache
xsDB_t SUSY::CrossSectionDB::m_cache |
|
private |
◆ m_extended
bool SUSY::CrossSectionDB::m_extended |
|
private |
◆ m_pmgxs
◆ m_usePMGTool
bool SUSY::CrossSectionDB::m_usePMGTool |
|
private |
◆ m_xsectDB
xsDB_t SUSY::CrossSectionDB::m_xsectDB |
|
private |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
unsigned int finalState(const int SUSY_Spart1_pdgId, const int SUSY_Spart2_pdgId)
xsDB_t::iterator my_find(const int proc)
float kfactor(int id, int proc=0) const
float rel_uncertainty(int id, int proc=0) const
float efficiency(int id, int proc=0) const
void setUsePMGTool(bool usePMGTool=true)
void setExtended(bool isExtended=true)
std::string name(int id) const
const std::string & name() const
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
float sumweight(int id, int proc=0) const
float rawxsect(int id, int proc=0) const
Process process(int id, int proc=0) const
float xsectTimesEff(int id, int proc=0) const
asg::AnaToolHandle< PMGTools::IPMGCrossSectionTool > m_pmgxs