ATLAS Offline Software
|
#include <TFCSHistoLateralShapeParametrizationFCal.h>
Public Types | |
enum | FCSStatusBits { k_phi_symmetric } |
Status bit for FCS needs. More... | |
typedef std::map< TFCSParametrizationBase *, Duplicate_t > | FindDuplicates_t |
typedef std::map< std::string, FindDuplicates_t > | FindDuplicateClasses_t |
Public Member Functions | |
TFCSHistoLateralShapeParametrizationFCal (const char *name=nullptr, const char *title=nullptr) | |
~TFCSHistoLateralShapeParametrizationFCal () | |
virtual FCSReturnCode | simulate_hit (Hit &hit, TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) override |
simulated one hit position with weight that should be put into simulstate sometime later all hit weights should be resacled such that their final sum is simulstate->E(sample) someone also needs to map all hits into cells More... | |
virtual void | set_geometry (ICaloGeometry *geo) override |
will actually not store the geometry information, but rather used to check the validity of the 2D shape histogram More... | |
bool | is_phi_symmetric () const |
virtual void | set_phi_symmetric () |
virtual void | reset_phi_symmetric () |
void | set_number_of_hits (float nhits) |
set the integral of the histogram to the desired number of hits More... | |
float | get_number_of_expected_hits () const |
void | set_r_offset (float r_offset) |
set an offset in r on the simulated histogram More... | |
float | r_offset () const |
void | set_r_scale (float r_scale) |
set an scale factor for r on the simulated histogram More... | |
float | r_scale () const |
virtual double | get_sigma2_fluctuation (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override |
default for this class is to simulate get_number_of_expected_hits() hits, which gives fluctuations sigma^2=1/get_number_of_expected_hits() More... | |
virtual int | get_number_of_hits (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override |
default for this class is to simulate get_number_of_expected_hits() hits More... | |
bool | Initialize (TH2 *hist) |
Init from histogram. More... | |
bool | Initialize (const char *filepath, const char *histname) |
TFCS2DFunctionHistogram & | histogram () |
const TFCS2DFunctionHistogram & | histogram () const |
void | Print (Option_t *option="") const override |
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 | getMinWeight () const |
Get minimum and maximum value of weight for hit energy reweighting. More... | |
virtual float | getMaxWeight () const |
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 unsigned int | size () const |
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) const |
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) |
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, TFCSParametrizationBase *) |
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... | |
virtual bool | operator== (const TFCSParametrizationBase &ref) const |
The == operator compares the content of instances. More... | |
virtual FCSReturnCode | simulate (TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const |
Method in all derived classes to do some simulation. 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 Public Member Functions | |
static std::string | startMsg (MSG::Level lvl, const std::string &file, int line) |
Make a message to decorate the start of logging. More... | |
Protected Member Functions | |
bool | compare (const TFCSParametrizationBase &ref) const |
Protected Attributes | |
TFCS2DFunctionHistogram | m_hist |
Histogram to be used for the shape simulation. More... | |
float | m_nhits |
float | m_r_offset |
float | m_r_scale |
Static Protected Attributes | |
static constexpr double | init_Ekin_nominal = 0 |
static constexpr double | init_Ekin_min = 0 |
Do not persistify! More... | |
static constexpr double | init_Ekin_max = 14000000 |
Do not persistify! More... | |
static constexpr double | init_eta_nominal = 0 |
Do not persistify! More... | |
static constexpr double | init_eta_min = -100 |
Do not persistify! More... | |
static constexpr double | init_eta_max = 100 |
Do not persistify! More... | |
Private Attributes | |
int | m_Ekin_bin |
int | m_calosample |
std::set< int > | m_pdgid |
double | m_Ekin_nominal |
double | m_Ekin_min |
double | m_Ekin_max |
double | m_eta_nominal |
double | m_eta_min |
double | m_eta_max |
std::string | m_nm |
Message source name. More... | |
Static Private Attributes | |
static boost::thread_specific_ptr< MsgStream > m_msg_tls | ATLAS_THREAD_SAFE |
Do not persistify! More... | |
Definition at line 14 of file TFCSHistoLateralShapeParametrizationFCal.h.
|
inherited |
Definition at line 142 of file TFCSParametrizationBase.h.
|
inherited |
Definition at line 141 of file TFCSParametrizationBase.h.
|
inherited |
Status bit for FCS needs.
Enumerator | |
---|---|
k_phi_symmetric | Set this bit to simulate phi symmetric histograms. |
Definition at line 27 of file TFCSHistoLateralShapeParametrization.h.
TFCSHistoLateralShapeParametrizationFCal::TFCSHistoLateralShapeParametrizationFCal | ( | const char * | name = nullptr , |
const char * | title = nullptr |
||
) |
Definition at line 21 of file TFCSHistoLateralShapeParametrizationFCal.cxx.
TFCSHistoLateralShapeParametrizationFCal::~TFCSHistoLateralShapeParametrizationFCal | ( | ) |
Definition at line 26 of file TFCSHistoLateralShapeParametrizationFCal.cxx.
|
virtualinherited |
Reimplemented in TFCSEnergyBinParametrization.
Definition at line 35 of file TFCSParametrization.cxx.
|
inlineinherited |
Definition at line 34 of file TFCSLateralShapeParametrization.h.
|
inlinevirtualinherited |
Method in all derived classes to delete objects stored in the simulstate AuxInfo.
Definition at line 130 of file TFCSParametrizationBase.h.
|
inherited |
Definition at line 18 of file TFCSParametrization.cxx.
|
virtualinherited |
Reimplemented in TFCSEnergyBinParametrization.
Definition at line 37 of file TFCSParametrization.cxx.
|
protectedinherited |
Definition at line 32 of file TFCSLateralShapeParametrization.cxx.
|
inlineinherited |
Definition at line 31 of file TFCSLateralShapeParametrization.h.
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inlineoverridevirtualinherited |
|
inherited |
Definition at line 90 of file TFCSParametrizationBase.cxx.
|
virtualinherited |
Get hit energy from layer energy and number of hits.
Definition at line 31 of file TFCSLateralShapeParametrizationHitBase.cxx.
|
inlineinherited |
Definition at line 43 of file TFCSHistoLateralShapeParametrization.h.
|
overridevirtualinherited |
default for this class is to simulate get_number_of_expected_hits() hits
Reimplemented from TFCSLateralShapeParametrizationHitBase.
Definition at line 88 of file TFCSHistoLateralShapeParametrization.cxx.
|
overridevirtualinherited |
default for this class is to simulate get_number_of_expected_hits() hits, which gives fluctuations sigma^2=1/get_number_of_expected_hits()
Reimplemented from TFCSLateralShapeParametrizationHitBase.
Definition at line 79 of file TFCSHistoLateralShapeParametrization.cxx.
|
virtualinherited |
Reimplemented in TFCSHistoLateralShapeWeight.
Definition at line 46 of file TFCSLateralShapeParametrizationHitBase.cxx.
|
virtualinherited |
Get minimum and maximum value of weight for hit energy reweighting.
Reimplemented in TFCSHistoLateralShapeWeight.
Definition at line 42 of file TFCSLateralShapeParametrizationHitBase.cxx.
|
inlineinherited |
Definition at line 79 of file TFCSHistoLateralShapeParametrization.h.
|
inlineinherited |
Definition at line 80 of file TFCSHistoLateralShapeParametrization.h.
|
inherited |
Definition at line 200 of file TFCSHistoLateralShapeParametrization.cxx.
|
inherited |
Init from histogram.
The integral of the histogram is used as number of expected hits to be generated
Definition at line 188 of file TFCSHistoLateralShapeParametrization.cxx.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrization.
Definition at line 29 of file TFCSLateralShapeParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 25 of file TFCSParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrization.
Definition at line 24 of file TFCSLateralShapeParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 28 of file TFCSParametrization.h.
|
inlinevirtualinherited |
Definition at line 66 of file TFCSParametrizationBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 20 of file TFCSLateralShapeParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 18 of file TFCSParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 15 of file TFCSLateralShapeParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 21 of file TFCSParametrization.h.
|
inlineoverridevirtualinherited |
Reimplemented from TFCSParametrizationBase.
Definition at line 15 of file TFCSParametrization.h.
|
inlineinherited |
Definition at line 36 of file TFCSHistoLateralShapeParametrization.h.
|
inlineinherited |
|
inlineinherited |
Return a stream for sending messages directly (no decoration)
Definition at line 231 of file MLogging.h.
|
inlineinherited |
Return a decorated starting stream for sending messages.
Definition at line 240 of file MLogging.h.
|
inlineinherited |
Check whether the logging system is active at the provided verbosity level.
Definition at line 222 of file MLogging.h.
|
inlinevirtualinherited |
The == operator compares the content of instances.
The implementation in the base class only returns true for a comparison with itself
Reimplemented in TFCSHitCellMappingWiggle, TFCSLateralShapeParametrizationHitNumberFromE, TFCSHitCellMapping, and TFCSPredictExtrapWeights.
Definition at line 119 of file TFCSParametrizationBase.h.
|
inlinevirtualinherited |
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.
Definition at line 106 of file TFCSParametrizationBase.h.
|
inlinevirtualinherited |
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.
Definition at line 99 of file TFCSParametrizationBase.h.
|
inlineoverridevirtualinherited |
|
overrideinherited |
Definition at line 219 of file TFCSHistoLateralShapeParametrization.cxx.
|
inlineinherited |
Definition at line 47 of file TFCSHistoLateralShapeParametrization.h.
|
inlineinherited |
Definition at line 51 of file TFCSHistoLateralShapeParametrization.h.
|
inherited |
Definition at line 142 of file TFCSParametrizationBase.cxx.
|
inherited |
Definition at line 200 of file TFCSParametrizationBase.cxx.
|
inlinevirtualinherited |
Definition at line 84 of file TFCSParametrizationBase.h.
|
inlinevirtualinherited |
Definition at line 38 of file TFCSHistoLateralShapeParametrization.h.
|
inherited |
Definition at line 21 of file TFCSLateralShapeParametrization.cxx.
|
inlinevirtualinherited |
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.
Reimplemented in TFCSParametrizationChain, and TFCSLateralShapeParametrizationHitChain.
Definition at line 113 of file TFCSParametrizationBase.h.
|
virtualinherited |
Definition at line 55 of file TFCSParametrization.cxx.
|
inherited |
Definition at line 17 of file TFCSLateralShapeParametrization.cxx.
|
virtualinherited |
|
virtualinherited |
Definition at line 45 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 43 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 39 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 61 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 53 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 51 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 47 of file TFCSParametrization.cxx.
|
overridevirtualinherited |
will actually not store the geometry information, but rather used to check the validity of the 2D shape histogram
Reimplemented from TFCSParametrizationBase.
Definition at line 39 of file TFCSHistoLateralShapeParametrization.cxx.
|
inlinevirtualinherited |
Definition at line 83 of file TFCSParametrizationBase.h.
|
inherited |
set the integral of the histogram to the desired number of hits
Definition at line 98 of file TFCSHistoLateralShapeParametrization.cxx.
|
virtualinherited |
Reimplemented in TFCSEnergyBinParametrization.
Definition at line 33 of file TFCSParametrization.cxx.
|
virtualinherited |
Reimplemented in TFCSEnergyBinParametrization.
Definition at line 28 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 72 of file TFCSParametrization.cxx.
|
virtualinherited |
Definition at line 25 of file TFCSLateralShapeParametrization.cxx.
|
inlinevirtualinherited |
Definition at line 37 of file TFCSHistoLateralShapeParametrization.h.
|
inlineinherited |
set an offset in r on the simulated histogram
Definition at line 46 of file TFCSHistoLateralShapeParametrization.h.
|
inlineinherited |
set an scale factor for r on the simulated histogram
Definition at line 50 of file TFCSHistoLateralShapeParametrization.h.
|
virtualinherited |
|
virtualinherited |
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 in TFCSEnergyAndHitGAN, TFCSEnergyAndHitGANV2, TFCSParametrizationChain, TFCSEnergyInterpolationSpline, TFCSEnergyInterpolationPiecewiseLinear, TFCSEnergyBinParametrization, TFCSEnergyInterpolationHistogram, TFCSLateralShapeParametrizationHitChain, TFCSParametrizationBinnedChain, TFCSParametrizationPDGIDSelectChain, TFCSPCAEnergyParametrization, TFCSVoxelHistoLateralCovarianceFluctuations, TFCSLateralShapeParametrizationFluctChain, TFCSEnergyInterpolationLinear, TFCSPredictExtrapWeights, TFCSInitWithEkin, TFCSInvisibleParametrization, TFCSParametrizationPlaceholder, and TFCSEnergyRenormalization.
Definition at line 32 of file TFCSParametrizationBase.cxx.
|
overridevirtual |
simulated one hit position with weight that should be put into simulstate sometime later all hit weights should be resacled such that their final sum is simulstate->E(sample) someone also needs to map all hits into cells
Reimplemented from TFCSHistoLateralShapeParametrization.
Definition at line 29 of file TFCSHistoLateralShapeParametrizationFCal.cxx.
|
inlinevirtualinherited |
Some derived classes have daughter instances of TFCSParametrizationBase objects The size() and operator[] methods give general access to these daughters.
Reimplemented in TFCSLateralShapeParametrizationHitChain, and TFCSParametrizationChain.
Definition at line 93 of file TFCSParametrizationBase.h.
|
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.
|
inlinestaticprivateinherited |
Do not persistify!
MsgStream instance (a std::cout like with print-out levels)
Definition at line 215 of file MLogging.h.
|
staticconstexprprotectedinherited |
Do not persistify!
Definition at line 155 of file TFCSParametrizationBase.h.
|
staticconstexprprotectedinherited |
Do not persistify!
Definition at line 154 of file TFCSParametrizationBase.h.
|
staticconstexprprotectedinherited |
Definition at line 153 of file TFCSParametrizationBase.h.
|
staticconstexprprotectedinherited |
Do not persistify!
Definition at line 158 of file TFCSParametrizationBase.h.
|
staticconstexprprotectedinherited |
Do not persistify!
Definition at line 157 of file TFCSParametrizationBase.h.
|
staticconstexprprotectedinherited |
Do not persistify!
Definition at line 156 of file TFCSParametrizationBase.h.
|
privateinherited |
Definition at line 47 of file TFCSLateralShapeParametrization.h.
|
privateinherited |
Definition at line 46 of file TFCSLateralShapeParametrization.h.
|
privateinherited |
Definition at line 64 of file TFCSParametrization.h.
|
privateinherited |
Definition at line 64 of file TFCSParametrization.h.
|
privateinherited |
Definition at line 64 of file TFCSParametrization.h.
|
privateinherited |
Definition at line 65 of file TFCSParametrization.h.
|
privateinherited |
Definition at line 65 of file TFCSParametrization.h.
|
privateinherited |
Definition at line 65 of file TFCSParametrization.h.
|
protectedinherited |
Histogram to be used for the shape simulation.
Definition at line 96 of file TFCSHistoLateralShapeParametrization.h.
|
protectedinherited |
Definition at line 97 of file TFCSHistoLateralShapeParametrization.h.
|
privateinherited |
Message source name.
Definition at line 211 of file MLogging.h.
|
privateinherited |
Definition at line 63 of file TFCSParametrization.h.
|
protectedinherited |
Definition at line 98 of file TFCSHistoLateralShapeParametrization.h.
|
protectedinherited |
Definition at line 99 of file TFCSHistoLateralShapeParametrization.h.