#include <TFCSSimulationState.h>
Definition at line 32 of file TFCSSimulationState.h.
◆ Cellmap_t
◆ TFCSSimulationState()
TFCSSimulationState::TFCSSimulationState |
( |
CLHEP::HepRandomEngine * |
randomEngine = nullptr | ) |
|
◆ add_E()
void TFCSSimulationState::add_E |
( |
int |
sample, |
|
|
double |
Esample |
|
) |
| |
|
inline |
◆ AddAuxInfoCleanup()
◆ cells() [1/2]
◆ cells() [2/2]
◆ clear()
void TFCSSimulationState::clear |
( |
| ) |
|
◆ deposit()
◆ DoAuxInfoCleanup()
void TFCSSimulationState::DoAuxInfoCleanup |
( |
| ) |
|
◆ E() [1/2]
double TFCSSimulationState::E |
( |
| ) |
const |
|
inline |
◆ E() [2/2]
double TFCSSimulationState::E |
( |
int |
sample | ) |
const |
|
inline |
◆ Ebin()
int TFCSSimulationState::Ebin |
( |
| ) |
const |
|
inline |
◆ Efrac()
double TFCSSimulationState::Efrac |
( |
int |
sample | ) |
const |
|
inline |
◆ fnv1a_32()
static constexpr std::uint32_t TFCSSimulationState::fnv1a_32 |
( |
char const * |
s, |
|
|
std::size_t |
count |
|
) |
| |
|
inlinestaticconstexpr |
◆ get_SF()
double TFCSSimulationState::get_SF |
( |
| ) |
|
|
inline |
◆ getAuxIndex() [1/2]
std::uint32_t TFCSSimulationState::getAuxIndex |
( |
const char * |
s | ) |
|
|
static |
◆ getAuxIndex() [2/2]
std::uint32_t TFCSSimulationState::getAuxIndex |
( |
const std::string & |
s | ) |
|
|
static |
◆ getAuxInfo()
template<class T >
const T TFCSSimulationState::getAuxInfo |
( |
std::uint32_t |
index | ) |
const |
|
inline |
◆ hasAuxInfo()
bool TFCSSimulationState::hasAuxInfo |
( |
std::uint32_t |
index | ) |
const |
|
inline |
◆ is_valid()
bool TFCSSimulationState::is_valid |
( |
| ) |
const |
|
inline |
◆ level()
MSG::Level ISF_FCS::MLogging::level |
( |
| ) |
const |
|
inlineinherited |
Retrieve output level.
Definition at line 201 of file MLogging.h.
201 {
return msg().level(); }
◆ msg() [1/2]
MsgStream & ISF_FCS::MLogging::msg |
( |
| ) |
const |
|
inlineinherited |
Return a stream for sending messages directly (no decoration)
Definition at line 231 of file MLogging.h.
232 MsgStream *
ms = m_msg_tls.get();
◆ msg() [2/2]
MsgStream & ISF_FCS::MLogging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Return a decorated starting stream for sending messages.
Definition at line 240 of file MLogging.h.
◆ msgLvl()
bool ISF_FCS::MLogging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Check whether the logging system is active at the provided verbosity level.
Definition at line 222 of file MLogging.h.
◆ Print()
void TFCSSimulationState::Print |
( |
Option_t * |
option = "" | ) |
const |
Definition at line 40 of file TFCSSimulationState.cxx.
42 <<
" #cells=" <<
m_cells.size());
46 <<
")=" <<
E(
i) <<
" E" <<
i <<
"/E=" <<
Efrac(
i));
59 <<
" int=" <<
a.second.i
60 <<
" float=" <<
a.second.f <<
" double=" <<
a.second.d
61 <<
" void*=" <<
a.second.p);
◆ randomEngine()
CLHEP::HepRandomEngine* TFCSSimulationState::randomEngine |
( |
| ) |
|
|
inline |
◆ set_E() [1/2]
void TFCSSimulationState::set_E |
( |
double |
E | ) |
|
|
inline |
◆ set_E() [2/2]
void TFCSSimulationState::set_E |
( |
int |
sample, |
|
|
double |
Esample |
|
) |
| |
|
inline |
◆ set_Ebin()
void TFCSSimulationState::set_Ebin |
( |
int |
bin | ) |
|
|
inline |
◆ set_Efrac()
void TFCSSimulationState::set_Efrac |
( |
int |
sample, |
|
|
double |
Efracsample |
|
) |
| |
|
inline |
◆ set_SF()
void TFCSSimulationState::set_SF |
( |
double |
mysf | ) |
|
|
inline |
◆ setAuxInfo()
template<class T >
void TFCSSimulationState::setAuxInfo |
( |
std::uint32_t |
index, |
|
|
const T & |
val |
|
) |
| |
|
inline |
◆ setLevel()
void ISF_FCS::MLogging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
virtualinherited |
◆ setRandomEngine()
void TFCSSimulationState::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
engine | ) |
|
|
inline |
◆ startMsg()
std::string ISF_FCS::MLogging::startMsg |
( |
MSG::Level |
lvl, |
|
|
const std::string & |
file, |
|
|
int |
line |
|
) |
| |
|
staticinherited |
Make a message to decorate the start of logging.
Print a message for the start of logging.
Definition at line 116 of file MLogging.cxx.
120 auto last_slash =
file.find_last_of(
'/');
121 int path_len = last_slash == std::string::npos ? 0 : last_slash;
122 int trim_point = path_len;
123 int total_len =
file.length();
124 if (total_len - path_len > col1_len)
125 trim_point = total_len - col1_len;
126 std::string trimmed_name =
file.substr(trim_point);
128 "NIL",
"VERBOSE",
"DEBUG",
"INFO",
"WARNING",
"ERROR",
"FATAL",
"ALWAYS"};
129 std::string
level = LevelNames[lvl];
130 std::string level_string = std::string(
"(") +
level +
") ";
132 output << std::setw(col1_len) << std::right << trimmed_name <<
":"
133 << std::setw(col2_len) << std::left <<
line << std::setw(col3_len)
134 << std::right << level_string;
◆ ATLAS_THREAD_SAFE
boost::thread_specific_ptr<MsgStream> m_msg_tls ISF_FCS::MLogging::ATLAS_THREAD_SAFE |
|
inlinestaticprivateinherited |
Do not persistify!
MsgStream instance (a std::cout like with print-out levels)
Definition at line 215 of file MLogging.h.
◆ m_AuxInfo
std::unordered_map<std::uint32_t, AuxInfo_t> TFCSSimulationState::m_AuxInfo |
|
private |
◆ m_AuxInfoCleanup
◆ m_cells
◆ m_E
◆ m_Ebin
int TFCSSimulationState::m_Ebin |
|
private |
◆ m_Efrac
◆ m_Etot
double TFCSSimulationState::m_Etot |
|
private |
◆ m_nm
std::string ISF_FCS::MLogging::m_nm |
|
privateinherited |
◆ m_randomEngine
CLHEP::HepRandomEngine* TFCSSimulationState::m_randomEngine |
|
private |
The documentation for this class was generated from the following files: