/usr/include/root/RooStats/SPlot.h is in libroot-roofit-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | // @(#)root/roostats:$Id$
// Author: Kyle Cranmer 21/07/2008
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef RooStats_SPlot
#define RooStats_SPlot
class RooAbsReal;
class RooAbsPdf;
class RooFitResult;
class RooRealVar;
class RooSimultaneous;
#ifndef ROO_MSG_SERVICE
#include "RooMsgService.h"
#endif
#include "RooFitResult.h"
#include "RooRealVar.h"
#include "RooHist.h"
#include "RooPlot.h"
#include "RooDataSet.h"
namespace RooStats{
class SPlot: public TNamed {
public:
~SPlot();
SPlot();
SPlot(const SPlot &other);
SPlot(const char* name, const char* title);
SPlot(const char* name, const char* title, const RooDataSet &data);
SPlot(const char* name, const char* title,RooDataSet& data, RooAbsPdf* pdf,
const RooArgList &yieldsList,const RooArgSet &projDeps=RooArgSet(),
bool includeWeights=kTRUE, bool copyDataSet = kFALSE, const char* newName = "");
RooDataSet* SetSData(RooDataSet* data);
RooDataSet* GetSDataSet() const;
RooArgList GetSWeightVars() const;
Int_t GetNumSWeightVars() const;
void AddSWeight(RooAbsPdf* pdf, const RooArgList &yieldsTmp,
const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE);
Double_t GetSumOfEventSWeight(Int_t numEvent) const;
Double_t GetYieldFromSWeight(const char* sVariable) const;
Double_t GetSWeight(Int_t numEvent, const char* sVariable) const;
protected:
enum {
kOwnData = BIT(20)
};
RooArgList fSWeightVars;
// RooListProxy fSWeightVars;
RooDataSet* fSData;
ClassDef(SPlot,1) // Class used for making sPlots
};
}
#endif
|