TFCSEnergyAndHitGANV2 class

Base classes

class TFCSParametrizationBinnedChain

Public types

enum FCSGANfreemem { kGANfreemem = BIT(17) }
Status bit for chain persistency.
enum FCSEnergyInitializationStatusBits { kOnlyScaleEnergy = BIT(18) }
Status bit for energy initialization.

Constructors, destructors, conversion operators

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

Public functions

void set_geometry(CaloGeo* geo) override
auto is_match_Ekin_bin(int) const -> bool override
auto is_match_calosample(int calosample) const -> bool override
auto is_match_all_Ekin_bin() const -> bool override
auto is_match_all_calosample() const -> bool override
auto GANfreemem() const -> bool
void set_GANfreemem()
void reset_GANfreemem()
auto OnlyScaleEnergy() const -> bool
void set_OnlyScaleEnergy()
void reset_OnlyScaleEnergy()
auto get_bin(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const -> int override
use the layer to be done as binning of the GAN chain
auto get_variable_text(TFCSSimulationState& simulstate, const TFCSTruthState*, const TFCSExtrapolationState*) const -> const std::string override
auto get_nr_of_init(unsigned int bin) const -> unsigned int
void set_nr_of_init(unsigned int bin, unsigned int ninit)
auto get_Binning() const -> const TFCSGANXMLParameters::Binning&
auto get_ExtrapolationWeights() const -> const TFCSGANEtaSlice::ExtrapolatorWeights
auto initializeNetwork(int const& pid, int const& etaMin, const std::string& FastCaloGANInputFolderName) -> bool
auto fillEnergy(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> bool
auto simulate(TFCSSimulationState& simulstate, const TFCSTruthState* truth, const TFCSExtrapolationState* extrapol) const -> FCSReturnCode override
Method in all derived classes to do some simulation.
void Print(Option_t* option = "") const override

Protected functions

void SetRegionAndSliceFromXML(int pid, int etaMax, std::string FastCaloGANInputFolderName)
do not persistify

Protected variables

CaloGeo* m_geo

Enum documentation

enum TFCSEnergyAndHitGANV2::FCSGANfreemem

Status bit for chain persistency.

Enumerators
kGANfreemem

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

enum TFCSEnergyAndHitGANV2::FCSEnergyInitializationStatusBits

Status bit for energy initialization.

Enumerators
kOnlyScaleEnergy

Set this bit in the TObject bit field the simulated energy should only be scaled by the GAN

Function documentation

void TFCSEnergyAndHitGANV2::set_geometry(CaloGeo* geo) override

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