|
ATLAS Offline Software
|
#include <TFCSLateralShapeParametrizationHitChain.h>
|
| TFCSLateralShapeParametrizationHitChain (const char *name=nullptr, const char *title=nullptr) |
|
| TFCSLateralShapeParametrizationHitChain (TFCSLateralShapeParametrizationHitBase *hitsim) |
|
virtual FCSReturnCode | init_hit (TFCSLateralShapeParametrizationHitBase::Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const |
|
virtual FCSReturnCode | simulate (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override |
| Method in all derived classes to do some simulation. More...
|
|
virtual unsigned int | size () const override |
| Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters. More...
|
|
virtual const TFCSParametrizationBase * | operator[] (unsigned int ind) const override |
| Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters. More...
|
|
virtual TFCSParametrizationBase * | operator[] (unsigned int ind) override |
| Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters. More...
|
|
virtual void | set_daughter (unsigned int ind, TFCSParametrizationBase *param) override |
| Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter method allows to change these daughters - expert use only! The original element at this position is not deleted. More...
|
|
const Chain_t & | chain () const |
|
Chain_t & | chain () |
|
void | push_back (const Chain_t::value_type &value) |
|
void | push_back_init (const Chain_t::value_type &value) |
|
unsigned int | get_nr_of_init () const |
|
void | set_nr_of_init (unsigned int ninit) |
|
virtual void | set_number_of_hits_simul (TFCSLateralShapeParametrizationHitBase *sim) |
| set which instance should determine the number of hits More...
|
|
virtual int | get_number_of_hits (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const |
| Call get_number_of_hits() only once, as it could contain a random number. More...
|
|
virtual float | get_E_hit (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const |
| Get hit energy from layer energy and number of hits. More...
|
|
virtual float | get_sigma2_fluctuation (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const |
| Give the effective size sigma^2 of the fluctuations that should be generated. More...
|
|
virtual float | getMinWeight () const |
| Get minimum and maximum value of weight for hit energy reweighting. More...
|
|
virtual float | getMaxWeight () const |
|
void | Print (Option_t *option="") const override |
| Do not persistify! More...
|
|
bool | is_match_Ekin_bin (int bin) const override |
|
bool | is_match_calosample (int calosample) const override |
|
virtual bool | is_match_all_Ekin_bin () const override |
|
virtual bool | is_match_all_calosample () const override |
|
int | Ekin_bin () const |
|
void | set_Ekin_bin (int bin) |
|
int | calosample () const |
|
void | set_calosample (int cs) |
|
virtual void | set_pdgid_Ekin_eta_Ekin_bin_calosample (const TFCSLateralShapeParametrization &ref) |
|
void | clear () |
|
virtual bool | is_match_pdgid (int id) const override |
|
virtual bool | is_match_Ekin (float Ekin) const override |
|
virtual bool | is_match_eta (float eta) const override |
|
virtual bool | is_match_all_Ekin () const override |
|
virtual bool | is_match_all_eta () const override |
|
const std::set< int > & | pdgid () const override |
|
double | Ekin_nominal () const override |
|
double | Ekin_min () const override |
|
double | Ekin_max () const override |
|
double | eta_nominal () const override |
|
double | eta_min () const override |
|
double | eta_max () const override |
|
virtual void | set_pdgid (int id) |
|
virtual void | set_pdgid (const std::set< int > &ids) |
|
virtual void | add_pdgid (int id) |
|
virtual void | clear_pdgid () |
|
virtual void | set_Ekin_nominal (double min) |
|
virtual void | set_Ekin_min (double min) |
|
virtual void | set_Ekin_max (double max) |
|
virtual void | set_eta_nominal (double min) |
|
virtual void | set_eta_min (double min) |
|
virtual void | set_eta_max (double max) |
|
virtual void | set_Ekin (const TFCSParametrizationBase &ref) |
|
virtual void | set_eta (const TFCSParametrizationBase &ref) |
|
virtual void | set_Ekin_eta (const TFCSParametrizationBase &ref) |
|
virtual void | set_pdgid_Ekin_eta (const TFCSParametrizationBase &ref) |
|
virtual bool | is_match_all_pdgid () const |
|
virtual void | set_match_all_pdgid () |
|
virtual void | reset_match_all_pdgid () |
|
virtual void | set_geometry (ICaloGeometry *geo) |
| Method to set the geometry access pointer. More...
|
|
virtual bool | operator== (const TFCSParametrizationBase &ref) const |
| The == operator compares the content of instances. More...
|
|
virtual void | CleanAuxInfo (TFCSSimulationState &) const |
| Method in all derived classes to delete objects stored in the simulstate AuxInfo. More...
|
|
void | FindDuplicates (FindDuplicateClasses_t &dup) |
|
void | RemoveDuplicates () |
|
void | RemoveNameTitle () |
|
bool | msgLvl (const MSG::Level lvl) const |
| Check whether the logging system is active at the provided verbosity level. More...
|
|
MsgStream & | msg () const |
| Return a stream for sending messages directly (no decoration) More...
|
|
MsgStream & | msg (const MSG::Level lvl) const |
| Return a decorated starting stream for sending messages. More...
|
|
MSG::Level | level () const |
| Retrieve output level. More...
|
|
virtual void | setLevel (MSG::Level lvl) |
| Update outputlevel. More...
|
|
|
static std::string | startMsg (MSG::Level lvl, const std::string &file, int line) |
| Make a message to decorate the start of logging. More...
|
|
◆ Chain_t
◆ FindDuplicateClasses_t
◆ FindDuplicates_t
◆ FCSStatusBits
Status bit for FCS needs.
Enumerator |
---|
kMatchAllPDGID | Set this bit in the TObject bit field if valid for all PDGID.
|
Definition at line 52 of file TFCSParametrizationBase.h.
◆ TFCSLateralShapeParametrizationHitChain() [1/2]
TFCSLateralShapeParametrizationHitChain::TFCSLateralShapeParametrizationHitChain |
( |
const char * |
name = nullptr , |
|
|
const char * |
title = nullptr |
|
) |
| |
◆ TFCSLateralShapeParametrizationHitChain() [2/2]
◆ add_pdgid()
void TFCSParametrization::add_pdgid |
( |
int |
id | ) |
|
|
virtualinherited |
◆ calosample()
int TFCSLateralShapeParametrization::calosample |
( |
| ) |
const |
|
inlineinherited |
◆ chain() [1/2]
Chain_t& TFCSLateralShapeParametrizationHitChain::chain |
( |
| ) |
|
|
inline |
◆ chain() [2/2]
const Chain_t& TFCSLateralShapeParametrizationHitChain::chain |
( |
| ) |
const |
|
inline |
◆ CleanAuxInfo()
◆ clear()
void TFCSParametrization::clear |
( |
| ) |
|
|
inherited |
◆ clear_pdgid()
void TFCSParametrization::clear_pdgid |
( |
| ) |
|
|
virtualinherited |
◆ compare()
◆ Ekin_bin()
int TFCSLateralShapeParametrization::Ekin_bin |
( |
| ) |
const |
|
inlineinherited |
◆ Ekin_max()
double TFCSParametrization::Ekin_max |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ Ekin_min()
double TFCSParametrization::Ekin_min |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ Ekin_nominal()
double TFCSParametrization::Ekin_nominal |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ eta_max()
double TFCSParametrization::eta_max |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ eta_min()
double TFCSParametrization::eta_min |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ eta_nominal()
double TFCSParametrization::eta_nominal |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ FindDuplicates()
Definition at line 90 of file TFCSParametrizationBase.cxx.
92 for (
unsigned int i = 0;
i <
size(); ++
i)
97 auto checkexist = dup.find(param);
98 if (checkexist != dup.end()) {
100 << param->GetName());
101 if (checkexist->second.replace) {
104 << refparam <<
"=" << refparam->GetName()
105 <<
", duplicate is " << param <<
"=" << param->GetName()
106 <<
" index " <<
i <<
" of " <<
this);
107 dup[refparam].mother.push_back(
this);
108 dup[refparam].index.push_back(
i);
113 dup[param] = Duplicate_t();
114 for (
auto &
ref : dup) {
117 if (param == refparam)
120 if (refparam ==
nullptr)
123 if (
ref.second.replace)
126 if (*param == *refparam) {
128 << refparam <<
"=" << refparam->GetName()
129 <<
", duplicate is " << param <<
"=" << param->GetName()
130 <<
" index " <<
i <<
" of " <<
this);
131 dup[param].replace = refparam;
132 dup[refparam].mother.push_back(
this);
133 dup[refparam].index.push_back(
i);
◆ get_E_hit()
◆ get_nr_of_init()
unsigned int TFCSLateralShapeParametrizationHitChain::get_nr_of_init |
( |
| ) |
const |
|
inline |
◆ get_number_of_hits()
◆ get_sigma2_fluctuation()
◆ getMaxWeight()
float TFCSLateralShapeParametrizationHitChain::getMaxWeight |
( |
| ) |
const |
|
virtual |
◆ getMinWeight()
float TFCSLateralShapeParametrizationHitChain::getMinWeight |
( |
| ) |
const |
|
virtual |
◆ init_hit()
◆ is_match_all_calosample()
virtual bool TFCSLateralShapeParametrization::is_match_all_calosample |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_all_Ekin()
virtual bool TFCSParametrization::is_match_all_Ekin |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_all_Ekin_bin()
virtual bool TFCSLateralShapeParametrization::is_match_all_Ekin_bin |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_all_eta()
virtual bool TFCSParametrization::is_match_all_eta |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_all_pdgid()
virtual bool TFCSParametrizationBase::is_match_all_pdgid |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ is_match_calosample()
bool TFCSLateralShapeParametrization::is_match_calosample |
( |
int |
calosample | ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_Ekin()
virtual bool TFCSParametrization::is_match_Ekin |
( |
float |
Ekin | ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_Ekin_bin()
bool TFCSLateralShapeParametrization::is_match_Ekin_bin |
( |
int |
bin | ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_eta()
virtual bool TFCSParametrization::is_match_eta |
( |
float |
eta | ) |
const |
|
inlineoverridevirtualinherited |
◆ is_match_pdgid()
virtual bool TFCSParametrization::is_match_pdgid |
( |
int |
id | ) |
const |
|
inlineoverridevirtualinherited |
◆ 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.
◆ operator==()
◆ operator[]() [1/2]
◆ operator[]() [2/2]
◆ pdgid()
const std::set<int>& TFCSParametrization::pdgid |
( |
| ) |
const |
|
inlineoverridevirtualinherited |
◆ Print()
void TFCSLateralShapeParametrizationHitChain::Print |
( |
Option_t * |
option = "" | ) |
const |
|
override |
Do not persistify!
Definition at line 448 of file TFCSLateralShapeParametrizationHitChain.cxx.
451 bool shortprint =
opt.Index(
"short") >= 0;
453 TString optprint =
opt;
454 optprint.ReplaceAll(
"short",
"");
458 ATH_MSG_INFO(optprint <<
"#:Number of hits simulation:");
464 for (
auto hititr =
m_chain.begin(); hititr != hitloopstart; ++hititr) {
471 for (
auto hititr = hitloopstart; hititr !=
m_chain.end(); ++hititr) {
◆ PropagateMSGLevel()
void TFCSLateralShapeParametrizationHitChain::PropagateMSGLevel |
( |
MSG::Level |
level | ) |
const |
|
protected |
◆ push_back()
void TFCSLateralShapeParametrizationHitChain::push_back |
( |
const Chain_t::value_type & |
value | ) |
|
|
inline |
◆ push_back_init()
void TFCSLateralShapeParametrizationHitChain::push_back_init |
( |
const Chain_t::value_type & |
value | ) |
|
◆ RemoveDuplicates()
void TFCSParametrizationBase::RemoveDuplicates |
( |
| ) |
|
|
inherited |
Definition at line 142 of file TFCSParametrizationBase.cxx.
146 std::set<TFCSParametrizationBase *> dellist;
147 for (
auto &dupiter : dupclasses) {
149 for (
auto onedup : dup) {
150 if (onedup.second.mother.empty())
154 for (
unsigned int i = 0;
i < onedup.second.mother.size(); ++
i) {
155 int index = onedup.second.index[
i];
158 unsigned int delcount = dup[delparam].mother.
size();
161 << delparam <<
"=" << delparam->GetName() <<
" index "
162 <<
index <<
" of " << mother <<
", has " << delcount
163 <<
" other replacements attached. Deleting");
165 dellist.insert(delparam);
168 << delparam <<
"=" << delparam->GetName() <<
" index "
169 <<
index <<
" of " << mother <<
", has " << delcount
170 <<
" other replacements attached. Skipping");
180 std::map<std::string, int> ndel;
181 for (
auto *delparam : dellist) {
183 bool present = dup2.find(delparam) != dup2.end();
186 << delparam->GetName()
187 <<
" still referenced somewhere!");
190 << delparam->GetName());
191 ++ndel[delparam->ClassName()];
195 for (
auto &del : ndel)
196 ATH_MSG_INFO(
"Deleted " << del.second <<
" duplicate objects of class "
◆ RemoveNameTitle()
void TFCSParametrizationBase::RemoveNameTitle |
( |
| ) |
|
|
inherited |
◆ reset_match_all_pdgid()
virtual void TFCSParametrizationBase::reset_match_all_pdgid |
( |
| ) |
|
|
inlinevirtualinherited |
◆ set_calosample()
void TFCSLateralShapeParametrization::set_calosample |
( |
int |
cs | ) |
|
|
inherited |
◆ set_daughter()
◆ set_Ekin()
◆ set_Ekin_bin()
void TFCSLateralShapeParametrization::set_Ekin_bin |
( |
int |
bin | ) |
|
|
inherited |
◆ set_Ekin_eta()
◆ set_Ekin_max()
void TFCSParametrization::set_Ekin_max |
( |
double |
max | ) |
|
|
virtualinherited |
◆ set_Ekin_min()
void TFCSParametrization::set_Ekin_min |
( |
double |
min | ) |
|
|
virtualinherited |
◆ set_Ekin_nominal()
void TFCSParametrization::set_Ekin_nominal |
( |
double |
min | ) |
|
|
virtualinherited |
◆ set_eta()
◆ set_eta_max()
void TFCSParametrization::set_eta_max |
( |
double |
max | ) |
|
|
virtualinherited |
◆ set_eta_min()
void TFCSParametrization::set_eta_min |
( |
double |
min | ) |
|
|
virtualinherited |
◆ set_eta_nominal()
void TFCSParametrization::set_eta_nominal |
( |
double |
min | ) |
|
|
virtualinherited |
◆ set_geometry()
void TFCSParametrizationBase::set_geometry |
( |
ICaloGeometry * |
geo | ) |
|
|
virtualinherited |
◆ set_match_all_pdgid()
virtual void TFCSParametrizationBase::set_match_all_pdgid |
( |
| ) |
|
|
inlinevirtualinherited |
◆ set_nr_of_init()
void TFCSLateralShapeParametrizationHitChain::set_nr_of_init |
( |
unsigned int |
ninit | ) |
|
|
inline |
◆ set_number_of_hits_simul()
◆ set_pdgid() [1/2]
void TFCSParametrization::set_pdgid |
( |
const std::set< int > & |
ids | ) |
|
|
virtualinherited |
◆ set_pdgid() [2/2]
void TFCSParametrization::set_pdgid |
( |
int |
id | ) |
|
|
virtualinherited |
◆ set_pdgid_Ekin_eta()
◆ set_pdgid_Ekin_eta_Ekin_bin_calosample()
◆ setLevel()
void ISF_FCS::MLogging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
virtualinherited |
◆ simulate()
Method in all derived classes to do some simulation.
Result should be returned in simulstate.
Simulate all energies in calo layers for energy parametrizations. Simulate cells for shape simulation.
Reimplemented from TFCSParametrizationBase.
Reimplemented in TFCSLateralShapeParametrizationFluctChain.
Definition at line 233 of file TFCSLateralShapeParametrizationHitChain.cxx.
251 const float Elayer = simulstate.
E(cs);
257 if (Ehit * Elayer <= 0) {
258 ATH_MSG_ERROR(
"TFCSLateralShapeParametrizationHitChain::simulate(): Ehit "
259 "and Elayer have different sign! Ehit="
260 << Ehit <<
" Elayer=" << Elayer);
266 int nhit = TMath::Nint(Elayer / Ehit);
274 ATH_MSG_DEBUG(
"E(" << cs <<
")=" << simulstate.
E(cs) <<
" #hits~" << nhit);
282 bool our_chainA =
false;
283 if (cs > 0 && cs < 8 && cs != 4)
285 if (nhit >
MIN_GPU_HITS && our_chainA && simulstate.get_geold() !=
nullptr) {
287 "running FastCaloSim in GPU, nhits = " << nhit <<
" ; Ehit = " << Ehit);
306 args.rd4h = simulstate.get_gpu_rand();
310 bool reweight =
false;
320 ->is_phi_symmetric();
326 if (ichn == 2 &&
m_chain.size() == 4) {
333 if ((ichn == 2 &&
m_chain.size() == 3) ||
334 (ichn == 3 &&
m_chain.size() == 4)) {
348 for (
unsigned int ii = 0; ii <
args.ct; ++ii) {
353 m_geo->getDDE(cs, cellele->
eta(), cellele->
phi());
354 sumEhit +=
args.hitcells_E_h[ii].energy;
356 if (std::abs(sumEhit) > std::abs(Elayer))
357 simulstate.
deposit(cell_h,
args.hitcells_E_h[ii].energy);
368 int retry_warning = 1;
381 for (
auto hititr = hitloopstart; hititr !=
m_chain.end(); ++hititr) {
398 retry_warning = retry >> 1;
399 if (retry_warning < 1)
408 if (((ihit == 20 * nhit) || (ihit == 100 * nhit)) && ihit >= 100) {
410 "TFCSLateralShapeParametrizationHitChain::simulate(): Iterated "
411 << ihit <<
" times, expected " << nhit <<
" times. Deposited E("
412 << cs <<
")=" << sumEhit <<
" expected E=" << Elayer);
414 if (ihit >= 1000 * nhit && ihit >= 1000) {
415 ATH_MSG_DEBUG(
"TFCSLateralShapeParametrizationHitChain::simulate():"
416 " Aborting hit chain, iterated "
417 << ihit <<
" times, expected " << nhit
418 <<
" times. Deposited E(" << cs <<
")=" << sumEhit
419 <<
" expected E=" << Elayer <<
", caused by:");
424 if (ifail >= retry) {
425 ATH_MSG_ERROR(
"TFCSLateralShapeParametrizationHitChain::simulate(): "
426 "simulate_hit call failed after "
427 << ifail <<
"/" << retry
428 <<
"retries, total fails=" << itotalfail);
433 if (ifail >= retry_warning) {
435 " retry simulate_hit calls "
436 << ifail <<
"/" << retry
437 <<
", total fails=" << itotalfail);
440 }
while (std::abs(sumEhit) < std::abs(Elayer));
◆ size()
unsigned int TFCSLateralShapeParametrizationHitChain::size |
( |
| ) |
const |
|
overridevirtual |
◆ 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.
◆ init_Ekin_max
constexpr double TFCSParametrizationBase::init_Ekin_max = 14000000 |
|
staticconstexprprotectedinherited |
◆ init_Ekin_min
constexpr double TFCSParametrizationBase::init_Ekin_min = 0 |
|
staticconstexprprotectedinherited |
◆ init_Ekin_nominal
constexpr double TFCSParametrizationBase::init_Ekin_nominal = 0 |
|
staticconstexprprotectedinherited |
◆ init_eta_max
constexpr double TFCSParametrizationBase::init_eta_max = 100 |
|
staticconstexprprotectedinherited |
◆ init_eta_min
constexpr double TFCSParametrizationBase::init_eta_min = -100 |
|
staticconstexprprotectedinherited |
◆ init_eta_nominal
constexpr double TFCSParametrizationBase::init_eta_nominal = 0 |
|
staticconstexprprotectedinherited |
◆ m_calosample
int TFCSLateralShapeParametrization::m_calosample |
|
privateinherited |
◆ m_chain
Chain_t TFCSLateralShapeParametrizationHitChain::m_chain |
|
protected |
◆ m_Ekin_bin
int TFCSLateralShapeParametrization::m_Ekin_bin |
|
privateinherited |
◆ m_Ekin_max
double TFCSParametrization::m_Ekin_max |
|
privateinherited |
◆ m_Ekin_min
double TFCSParametrization::m_Ekin_min |
|
privateinherited |
◆ m_Ekin_nominal
double TFCSParametrization::m_Ekin_nominal |
|
privateinherited |
◆ m_eta_max
double TFCSParametrization::m_eta_max |
|
privateinherited |
◆ m_eta_min
double TFCSParametrization::m_eta_min |
|
privateinherited |
◆ m_eta_nominal
double TFCSParametrization::m_eta_nominal |
|
privateinherited |
◆ m_ninit
unsigned int TFCSLateralShapeParametrizationHitChain::m_ninit = 0 |
|
private |
◆ m_nm
std::string ISF_FCS::MLogging::m_nm |
|
privateinherited |
◆ m_number_of_hits_simul
◆ m_pdgid
std::set<int> TFCSParametrization::m_pdgid |
|
privateinherited |
◆ s_max_sigma2_fluctuation
constexpr float TFCSLateralShapeParametrizationHitChain::s_max_sigma2_fluctuation = 1000 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
GeoGpu * get_geoPtr() const
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Call get_number_of_hits() only once, as it could contain a random number.
virtual void set_daughter(unsigned int, TFCSParametrizationBase *)
Some derived classes have daughter instances of TFCSParametrizationBase objects The set_daughter meth...
virtual void set_Ekin_nominal(double min)
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
virtual FCSReturnCode simulate_hit(Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol)
simulated one hit position with some energy.
static constexpr double init_Ekin_max
Do not persistify!
bool compare(const TFCSParametrizationBase &ref) const
Do not persistify!
static constexpr double init_eta_nominal
Do not persistify!
virtual void set_pdgid_Ekin_eta_Ekin_bin_calosample(const TFCSLateralShapeParametrization &ref)
static constexpr double init_Ekin_min
Do not persistify!
#define IsA
Declare the TObject style functions.
double Ekin_max() const override
static constexpr double init_eta_min
Do not persistify!
Scalar eta() const
pseudorapidity method
MSG::Level level() const
Retrieve output level.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
virtual FCSReturnCode init_hit(TFCSLateralShapeParametrizationHitBase::Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
virtual void set_pdgid_Ekin_eta(const TFCSParametrizationBase &ref)
void FindDuplicates(FindDuplicateClasses_t &dup)
void Print(Option_t *option="") const override
void PropagateMSGLevel(MSG::Level level) const
virtual void set_Ekin_max(double max)
static constexpr double init_eta_max
Do not persistify!
#define ATH_MSG_VERBOSE(x)
CUDA_HOSTDEV float phi() const
cell phi
virtual double get_sigma2_fluctuation(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Give the effective size sigma^2 of the fluctuations that should be generated by the amount of generat...
virtual void set_Ekin(const TFCSParametrizationBase &ref)
virtual void set_eta(const TFCSParametrizationBase &ref)
TFCSLateralShapeParametrization(const char *name=nullptr, const char *title=nullptr)
virtual unsigned int size() const override
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...
IMessageSvc * getMessageSvc(bool quiet=false)
virtual void set_eta_max(double max)
virtual float get_E_hit(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Get hit energy from layer energy and number of hits.
virtual float getMaxWeight() const
virtual void set_pdgid(int id)
virtual void set_Ekin_eta(const TFCSParametrizationBase &ref)
CUDA_HOSTDEV float eta() const
cell eta
void simulate_hits(float, int, Chain0_Args &, bool)
void set_calosample(int cs)
static constexpr float s_max_sigma2_fluctuation
MsgStream & msg() const
Return a stream for sending messages directly (no decoration)
virtual void set_Ekin_min(double min)
unsigned int get_nr_of_init() const
void set_Ekin_bin(int bin)
void deposit(const CaloDetDescrElement *cellele, float E)
std::map< std::string, FindDuplicates_t > FindDuplicateClasses_t
std::string m_nm
Message source name.
unsigned long get_ncells() const
double Ekin_min() const override
std::map< TFCSParametrizationBase *, Duplicate_t > FindDuplicates_t
const CaloDetDescrElement_Gpu * index2cell(unsigned long index)
TFCSLateralShapeParametrizationHitBase * m_number_of_hits_simul
double eta_max() const override
virtual int get_number_of_hits(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const
Call get_number_of_hits() only once per shower simulation, as it could be calculated with random numb...
double eta_min() const override
virtual void set_eta_nominal(double min)
static constexpr double init_Ekin_nominal
#define ATH_MSG_WARNING(x)
const boost::regex ref(r_ef)
constexpr std::enable_if_t< is_bitmask_v< E >, E & > reset(E &lhs, E rhs)
Convenience function to clear bits in a class enum bitmask.
virtual void set_eta_min(double min)
@ kMatchAllPDGID
Set this bit in the TObject bit field if valid for all PDGID.
virtual unsigned int size() const
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operat...
const Chain_t & chain() const
bool msgLvl(const MSG::Level lvl) const
Check whether the logging system is active at the provided verbosity level.
void Print(Option_t *option="") const override
Do not persistify!