|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_FASTCALOSIMEVENT_TFCSEnergyBinParametrization_h
6 #define ISF_FASTCALOSIMEVENT_TFCSEnergyBinParametrization_h
16 const char *
title =
nullptr);
19 virtual void set_pdgid(
const std::set<int> &
ids)
override;
42 std::string prob_object_name);
50 void Print(Option_t *option =
"")
const override;
FCSReturnCode
Base class for all FastCaloSim parametrizations Functionality in derivde classes is provided through ...
int m_number_of_Ekin_bins
virtual void clear_pdgid() override
void set_number_of_Ekin_bins(int n_Ekin_bin)
current convention is to start Ekin_bin counting at 1, to be updated to start counting with 0
virtual bool load_pdgid_Ekin_bin_probability_from_file(int id, TFile *file, std::string prob_object_name)
virtual bool is_match_Ekin_bin(int Ekin_bin) const override
virtual int n_bins() const override
virtual void set_pdgid(int id) override
virtual void add_pdgid(int id) override
virtual void set_pdgid_Ekin_bin_probability(int id, std::vector< float > prob)
set_pdgid_Ekin_bin_probability(): format of probability should be a vector of float with probability ...
void Print(Option_t *option="") const override
virtual FCSReturnCode simulate(TFCSSimulationState &simulstate, const TFCSTruthState *truth, const TFCSExtrapolationState *extrapol) const override
Method in all derived classes to do some simulation.
std::map< int, std::vector< float > > m_pdgid_Ebin_probability
TFCSEnergyBinParametrization(const char *name=nullptr, const char *title=nullptr)