#ifndef ROO_SIM_SPLIT_GEN_CONTEXT
#define ROO_SIM_SPLIT_GEN_CONTEXT
#include "TList.h"
#include "RooAbsGenContext.h"
#include "RooArgSet.h"
#include <vector>
class RooSimultaneous;
class RooDataSet;
class RooAbsCategoryLValue ;
class RooSimSplitGenContext : public RooAbsGenContext {
public:
RooSimSplitGenContext(const RooSimultaneous &model, const RooArgSet &vars, Bool_t _verbose= kFALSE, Bool_t autoBinned=kTRUE, const char* binnedTag="");
virtual ~RooSimSplitGenContext();
virtual void setProtoDataOrder(Int_t* lut) ;
virtual void attach(const RooArgSet& params) ;
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const ;
virtual RooDataSet *generate(Double_t nEvents= 0, Bool_t skipInit=kFALSE, Bool_t extendedMode=kFALSE);
virtual void setExpectedData(Bool_t) ;
protected:
virtual void initGenerator(const RooArgSet &theEvent);
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining);
RooDataSet* createDataSet(const char* name, const char* title, const RooArgSet& obs) ;
RooSimSplitGenContext(const RooSimSplitGenContext& other) ;
RooAbsCategoryLValue* _idxCat ;
RooArgSet* _idxCatSet ;
const RooSimultaneous *_pdf ;
std::vector<RooAbsGenContext*> _gcList ;
std::vector<int> _gcIndex ;
TString _idxCatName ;
Int_t _numPdf ;
Double_t* _fracThresh ;
RooArgSet _allVarsPdf ;
TIterator* _proxyIter ;
ClassDef(RooSimSplitGenContext,0)
};
#endif
RooSimSplitGenContext.h:1 RooSimSplitGenContext.h:2 RooSimSplitGenContext.h:3 RooSimSplitGenContext.h:4 RooSimSplitGenContext.h:5 RooSimSplitGenContext.h:6 RooSimSplitGenContext.h:7 RooSimSplitGenContext.h:8 RooSimSplitGenContext.h:9 RooSimSplitGenContext.h:10 RooSimSplitGenContext.h:11 RooSimSplitGenContext.h:12 RooSimSplitGenContext.h:13 RooSimSplitGenContext.h:14 RooSimSplitGenContext.h:15 RooSimSplitGenContext.h:16 RooSimSplitGenContext.h:17 RooSimSplitGenContext.h:18 RooSimSplitGenContext.h:19 RooSimSplitGenContext.h:20 RooSimSplitGenContext.h:21 RooSimSplitGenContext.h:22 RooSimSplitGenContext.h:23 RooSimSplitGenContext.h:24 RooSimSplitGenContext.h:25 RooSimSplitGenContext.h:26 RooSimSplitGenContext.h:27 RooSimSplitGenContext.h:28 RooSimSplitGenContext.h:29 RooSimSplitGenContext.h:30 RooSimSplitGenContext.h:31 RooSimSplitGenContext.h:32 RooSimSplitGenContext.h:33 RooSimSplitGenContext.h:34 RooSimSplitGenContext.h:35 RooSimSplitGenContext.h:36 RooSimSplitGenContext.h:37 RooSimSplitGenContext.h:38 RooSimSplitGenContext.h:39 RooSimSplitGenContext.h:40 RooSimSplitGenContext.h:41 RooSimSplitGenContext.h:42 RooSimSplitGenContext.h:43 RooSimSplitGenContext.h:44 RooSimSplitGenContext.h:45 RooSimSplitGenContext.h:46 RooSimSplitGenContext.h:47 RooSimSplitGenContext.h:48 RooSimSplitGenContext.h:49 RooSimSplitGenContext.h:50 RooSimSplitGenContext.h:51 RooSimSplitGenContext.h:52 RooSimSplitGenContext.h:53 RooSimSplitGenContext.h:54 RooSimSplitGenContext.h:55 RooSimSplitGenContext.h:56 RooSimSplitGenContext.h:57 RooSimSplitGenContext.h:58 RooSimSplitGenContext.h:59 RooSimSplitGenContext.h:60 RooSimSplitGenContext.h:61 RooSimSplitGenContext.h:62 RooSimSplitGenContext.h:63 RooSimSplitGenContext.h:64 RooSimSplitGenContext.h:65 RooSimSplitGenContext.h:66