@@ -61,7 +61,29 @@ class samplePDFpValue : public SampleHandlerBase
6161 TH1* GetDataHist (const int Selection) override {return PolyHist[Selection];}
6262 TH1* GetMCHist (const int Selection) override {return PolyHist[Selection];}
6363 TH1* GetW2Hist (const int Selection) override {return PolyHist[Selection];}
64- TH1* GetPDFMode (const int Selection, const int Mode) override {return PolyHist[Selection];}
64+
65+
66+ std::string GetFlavourName (const int iSample, const int iChannel) const override {
67+ return " null" ; (void ) iSample; (void ) iChannel;
68+ };
69+ int GetNDim (const int Sample) const override { return 2 ; }
70+
71+ TH1 *Get1DVarHist (const int iSample, const std::string &ProjectionVar,
72+ const std::vector<KinematicCut> &EventSelectionVec = {}, int WeightStyle = 0 ,
73+ TAxis *Axis = nullptr , const std::vector<KinematicCut> &SubEventSelectionVec = {}) override {return PolyHist[iSample];}
74+ TH2* Get2DVarHist (const int iSample, const std::string& ProjectionVarX, const std::string& ProjectionVarY,
75+ const std::vector< KinematicCut >& EventSelectionVec = {},
76+ int WeightStyle = 0 , TAxis* AxisX = nullptr , TAxis* AxisY = nullptr ,
77+ const std::vector< KinematicCut >& SubEventSelectionVec = {}) override {return PolyHist[iSample];}
78+
79+
80+ TH1* Get1DVarHistByModeAndChannel (const int iSample, const std::string& ProjectionVar_Str,
81+ int kModeToFill = -1 , int kChannelToFill = -1 ,
82+ int WeightStyle = 0 , TAxis* Axis = nullptr ) override {return PolyHist[iSample];}
83+ TH2* Get2DVarHistByModeAndChannel (const int iSample, const std::string& ProjectionVar_StrX,
84+ const std::string& ProjectionVar_StrY, int kModeToFill = -1 ,
85+ int kChannelToFill = -1 , int WeightStyle = 0 ,
86+ TAxis* AxisX = nullptr , TAxis* AxisY = nullptr ) override {return PolyHist[iSample];}
6587
6688 std::vector<std::string> SampleBlarbTitle;
6789 std::vector<std::string> KinemBlarbTitle;
0 commit comments