16 std::string_view tracks =
"NeulandPrimaryTracks",
17 std::string_view phits =
"NeulandPrimaryHits");
25 void SetEdepOpt(
double init,
double step,
double low,
double high) { fEdepOpt = { init, step, low, high }; }
26 void SetEdepOffOpt(
double init,
double step,
double low,
double high) { fEdepOffOpt = { init, step, low, high }; }
27 void SetNclusterOpt(
double init,
double step,
double low,
double high) { fNclusterOpt = { init, step, low, high }; }
30 fNclusterOffOpt = { init, step, low, high };
33 void SetUseHits(
bool is_hit_used) { fUseHits = is_hit_used; }
36 auto GetCut(
unsigned int nNeutrons,
double edep,
double edepoff,
double ncluster,
double nclusteroff) -> TCutG*;
37 auto WastedEfficiency(
const double* cut) -> double;
40 auto GetOrBuildHist(
unsigned int index) -> TH2D*;
50 std::array<double, 4> fEdepOpt;
51 std::array<double, 4> fEdepOffOpt;
52 std::array<double, 4> fNclusterOpt;
53 std::array<double, 4> fNclusterOffOpt;
56 std::map<unsigned int, TH2D*> fHists;
59 std::map<unsigned int, TCutG*> fCuts;
61 void Exec(Option_t* )
override;
63 void Print(Option_t* =
"")
const override;
64 auto Init() -> InitStatus
override;
NeuLAND number of clusters / energy - neutron multiplicity parameter storage.
void SetUseHits(bool is_hit_used)
auto Init() -> InitStatus override
void SetEdepOffOpt(double init, double step, double low, double high)
~R3BNeulandMultiplicityCalorimetricTrain() override
void SetEdepOpt(double init, double step, double low, double high)
auto operator=(const R3BNeulandMultiplicityCalorimetricTrain &) -> R3BNeulandMultiplicityCalorimetricTrain &=delete
R3BNeulandMultiplicityCalorimetricTrain(std::string_view clusters="NeulandClusters", std::string_view tracks="NeulandPrimaryTracks", std::string_view phits="NeulandPrimaryHits")
void FinishTask() override
void SetNclusterOffOpt(double init, double step, double low, double high)
R3BNeulandMultiplicityCalorimetricTrain(R3BNeulandMultiplicityCalorimetricTrain &&)=delete
R3BNeulandMultiplicityCalorimetricTrain(const R3BNeulandMultiplicityCalorimetricTrain &)=delete
void Print(Option_t *="") const override
void SetNclusterOpt(double init, double step, double low, double high)
void SetWeight(double weight)
void Exec(Option_t *) override
auto operator=(R3BNeulandMultiplicityCalorimetricTrain &&) -> R3BNeulandMultiplicityCalorimetricTrain &=delete
InputConnector< std::vector< ElementType > > InputVectorConnector