1 #ifndef PhysicsTools_SideBandSubtraction_h 2 #define PhysicsTools_SideBandSubtraction_h 5 #include "RooRealVar.h" 22 Double_t getYield(
const std::vector<SbsRegion>&
Regions, RooAbsPdf*
PDF);
51 const std::vector<TH1F*>&
base,
54 void addSignalRegion(Double_t
min, Double_t
max);
55 void addSideBandRegion(Double_t
min, Double_t
max);
57 int doSubtraction(RooRealVar*
variable, Double_t stsratio, Int_t
index);
63 void setDataSet(RooDataSet* newData);
64 RooFitResult* getFitResult();
65 std::vector<TH1F> getRawHistos();
66 std::vector<TH1F> getSBSHistos();
67 std::vector<TH1F*> getBaseHistos();
68 Double_t getSTSRatio();
69 void resetSBSProducts();
RooAbsPdf * BackgroundPDF
std::vector< TH1F > SideBandHistos
RooFitResult * fit_result
Double_t SignalSidebandRatio
std::vector< TH1F > SBSHistos
RooRealVar * SeparationVariable
std::vector< SbsRegion > SideBandRegions
std::vector< SbsRegion > SignalRegions
char data[epos_bytes_allocation]
std::vector< TH1F * > BaseHistos
std::vector< TH1F > RawHistos