77 static Bool_t
ExitResidue(
const TString &exit, Int_t z_beam, Int_t a_beam,
92 Double_t e_in, e_out, e_eff, e_eff_lo, e_eff_hi;
93 Double_t n_reac, n_denom;
94 Double_t sigma, stat, sys;
97 struct ChannelResult {
99 std::vector<TalysCurve> talys;
100 std::vector<Point> points;
113 const std::vector<TalysCurve> &talys, Int_t reac, Point &pt);
114 void CompareReference(
const ChannelResult &r)
const;
116 void Draw(
const std::vector<const ChannelResult *> &rs,
117 const TString &name)
const;
119 static Long64_t ReadCount(TFile &f,
const char *name, Bool_t &ok);
120 static TGraph *Clipped(TGraph *g, Double_t e_lo, Double_t e_hi);
121 static Double_t EffectiveEnergy(TGraph *axn, Double_t e_out, Double_t e_in);
122 static TCutG *ScaledCut(TCutG *cut, Double_t scale);
123 static Double_t CountInCut(TH2F *scatter, TCutG *cut, Double_t scale);
124 static Double_t Enclosed(Double_t nsigma);
126 TFile *cache_ =
nullptr;
127 Long64_t n_seen_ = 0, n_beam_ = 0;
128 Double_t n_gas_ = 0.0, areal_ = 0.0;
129 Double_t dE_[18], e_strip0_ = 0.0, cm_frac_ = 0.0, e_mid_[17];
130 std::vector<TString> talys_labels_;
131 std::vector<std::map<std::pair<Int_t, Int_t>, TGraph *>> talys_raw_;
133 Int_t prev_reac_ = -1;
134 Double_t prev_true_ = 0.0, prev_migrate_ = 0.0;
static Bool_t ExitResidue(const TString &exit, Int_t z_beam, Int_t a_beam, Int_t &z, Int_t &a)
Residual nucleus left by a named exit channel.