Go to the documentation of this file. 1 #ifndef PhysicsTools_SideBandSubtraction_h
2 #define PhysicsTools_SideBandSubtraction_h
5 #include "RooRealVar.h"
51 const std::vector<TH1F*>&
base,
void printResults(std::string prefix="")
std::vector< SbsRegion > SideBandRegions
void print_plot(RooRealVar *printVar, std::string outname)
void addSideBandRegion(Double_t min, Double_t max)
std::vector< SbsRegion > SignalRegions
void addSignalRegion(Double_t min, Double_t max)
std::vector< TH1F * > BaseHistos
std::vector< TH1F > RawHistos
RooFitResult * getFitResult()
void setDataSet(RooDataSet *newData)
Double_t getYield(const std::vector< SbsRegion > &Regions, RooAbsPdf *PDF)
std::vector< TH1F > getSBSHistos()
void doFastSubtraction(TH1F &Total, TH1F &Result, SbsRegion &leftRegion, SbsRegion &rightRegion)
RooAbsPdf * BackgroundPDF
std::vector< TH1F > SideBandHistos
RooFitResult * fit_result
Double_t SignalSidebandRatio
std::vector< TH1F > SBSHistos
int doSubtraction(RooRealVar *variable, Double_t stsratio, Int_t index)
char data[epos_bytes_allocation]
void saveResults(std::string outname)
std::vector< TH1F > getRawHistos()
std::vector< TH1F * > getBaseHistos()
RooRealVar * SeparationVariable