1 #ifndef PhysicsTools_SideBandSubtraction_h 2 #define PhysicsTools_SideBandSubtraction_h 5 #include "RooRealVar.h" 23 void print_plot(RooRealVar* printVar,
std::string outname);
24 Double_t getYield(
const std::vector<SbsRegion>& Regions, RooAbsPdf *PDF);
52 const std::vector<TH1F*>&
base,
55 void addSignalRegion(Double_t
min, Double_t
max);
56 void addSideBandRegion(Double_t
min, Double_t
max);
58 int doSubtraction(RooRealVar*
variable,Double_t stsratio,Int_t
index);
59 void doFastSubtraction(TH1F &Total, TH1F &Result,
SbsRegion& leftRegion,
SbsRegion& rightRegion);
64 void setDataSet(RooDataSet* newData);
65 RooFitResult* getFitResult();
66 std::vector<TH1F> getRawHistos();
67 std::vector<TH1F> getSBSHistos();
68 std::vector<TH1F*> getBaseHistos();
69 Double_t getSTSRatio();
70 void resetSBSProducts();
RooAbsPdf * BackgroundPDF
std::vector< TH1F > SideBandHistos
RooFitResult * fit_result
Double_t SignalSidebandRatio
std::vector< TH1F > SBSHistos
RooRealVar * SeparationVariable
std::vector< SbsRegion > SideBandRegions
base
Make Sure CMSSW is Setup ##.
std::vector< SbsRegion > SignalRegions
char data[epos_bytes_allocation]
std::vector< TH1F * > BaseHistos
std::vector< TH1F > RawHistos