TFCSPredictExtrapWeights class

Base classes

class TFCSLateralShapeParametrizationHitBase

Public types

enum FCSfreemem { kfreemem = BIT(17) }
enum TFCSPredictExtrapWeightsStatusBits { kUseHardcodedWeight = BIT(15) }

Constructors, destructors, conversion operators

TFCSPredictExtrapWeights(const char* name = nullptr, const char* title = nullptr, CaloGeo* geo = nullptr)
~TFCSPredictExtrapWeights() virtual

Public functions

void set_geometry(CaloGeo* geo) override
auto operator==(const TFCSParametrizationBase& ref) const -> bool override
auto simulate(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> FCSReturnCode override
Method in all derived classes to do some simulation.
auto simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) -> FCSReturnCode override
auto freemem() const -> bool
void set_freemem()
auto initializeNetwork(int pid, const std::string& etaBin, const std::string& FastCaloNNInputFolderName) -> bool
auto getNormInputs(const std::string& etaBin, const std::string& FastCaloTXTInputFolderName) -> bool
auto prepareInputs(TFCSSimulationState& simulstate, const float truthE) const -> std::map<std::string, double>
void Print(Option_t* option = "") const override
auto UseHardcodedWeight() const -> bool
void set_UseHardcodedWeight()
void reset_UseHardcodedWeight()

Protected variables

CaloGeo* m_geo

Enum documentation

enum TFCSPredictExtrapWeights::FCSfreemem

Enumerators
kfreemem

Set this bit in the TObject bit if the memory for m_input should be freed after reading in athena

Function documentation

void TFCSPredictExtrapWeights::set_geometry(CaloGeo* geo) override

Method to set the geometry access pointer. Loops over daughter objects if present

bool TFCSPredictExtrapWeights::operator==(const TFCSParametrizationBase& ref) const override

The == operator compares the content of instances. The implementation in the base class only returns true for a comparison with itself

FCSReturnCode TFCSPredictExtrapWeights::simulate_hit(Hit& hit, TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) override

simulated one hit position with some energy. As last step in TFCSLateralShapeParametrizationHitChain::simulate, the hit should be mapped into a cell and this cell recorded in simulstate. All hits/cells should be resacled such that their final sum is simulstate->E(sample)