54 Error(
"TFoamMaxwt",
"COPY CONSTRUCTOR NOT TESTED!");
82 if (&
From ==
this)
return *
this;
109 std::cout<<
"00000000000000000000000000000000000000000000000000000000000000000000000"<<std::endl;
110 std::cout<<
"00 -->wtLim: No_evt ="<<
fNent<<
" <Wt> = "<<
aveWt<<
" wtLim= "<<
wtLim<<std::endl;
111 std::cout<<
"00 -->wtLim: For eps = "<<eps <<
" EFFICIENCY <Wt>/wtLim= "<<
MCeff<<std::endl;
112 std::cout<<
"00000000000000000000000000000000000000000000000000000000000000000000000"<<std::endl;
136 if( (
sum == 0.0) || (
sumWt == 0.0) ) {
137 std::cout<<
"TFoamMaxwt::Make: zero content of histogram !!!,sum,sumWt ="<<
sum<<
sumWt<<std::endl;
161 std::cout<<
"+++++ wtLim undefined. Higher upper limit in histogram"<<std::endl;
162 }
else if(
ibX == 1) {
165 std::cout<<
"+++++ wtLim undefined. Lower upper limit or more bins "<<std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t wmax
Small auxiliary class for controlling MC weight.
void Make(Double_t, Double_t &)
Calculates Efficiency= aveWt/wtLim for a given tolerance level epsilon<<1 To be called at the end of ...
void Fill(Double_t)
Filling analyzed weight.
TFoamMaxwt()
Constructor for streamer.
void Reset()
Resetting weight analysis.
TH1D * fWtHst1
Histogram of the weight wt.
Double_t fNent
No. of MC events.
Int_t fnBin
No. of bins on the weight distribution.
void GetMCeff(Double_t, Double_t &, Double_t &)
Calculates Efficiency= aveWt/wtLim for a given tolerance level epsilon<<1 using information stored in...
Double_t fwmax
Maximum analyzed weight.
TH1D * fWtHst2
Histogram of wt filled with wt.
TFoamMaxwt & operator=(const TFoamMaxwt &)
substitution =
~TFoamMaxwt() override
Destructor.
1-D histogram with a double per channel (see TH1 documentation)
void Reset(Option_t *option="") override
Reset.
virtual void SetDirectory(TDirectory *dir)
By default, when a histogram is created, it is added to the list of histogram objects in the current ...
void Print(Option_t *option="") const override
Print some global quantities for this histogram.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.
static uint64_t sum(uint64_t i)