Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
RooStats::HistFactory::HistFactoryNavigation Class Reference

Definition at line 18 of file HistFactoryNavigation.h.

Public Member Functions

 HistFactoryNavigation (ModelConfig *mc)
 
 HistFactoryNavigation (const std::string &File, const std::string &WorkspaceName="combined", const std::string &ModelConfigName="ModelConfig")
 
 HistFactoryNavigation (RooAbsPdf *model, RooArgSet *observables)
 
virtual ~HistFactoryNavigation ()
 
void DrawChannel (const std::string &channel, RooDataSet *data=NULL)
 
double GetBinValue (int bin, const std::string &channel)
 
double GetBinValue (int bin, const std::string &channel, const std::string &sample)
 
TH1GetChannelHist (const std::string &channel, const std::string &name="")
 
RooAbsPdfGetChannelPdf (const std::string &channel)
 
std::vector< std::string > GetChannelSampleList (const std::string &channel)
 
THStackGetChannelStack (const std::string &channel, const std::string &name="")
 
RooAbsRealGetConstraintTerm (const std::string &parameter)
 
double GetConstraintUncertainty (const std::string &parameter)
 
TH1GetDataHist (RooDataSet *data, const std::string &channel, const std::string &name="")
 
int GetMaxBinToPrint () const
 
int GetMinBinToPrint () const
 
RooAbsPdfGetModel () const
 
RooArgSetGetObservableSet (const std::string &channel)
 
TH1GetSampleHist (const std::string &channel, const std::string &sample, const std::string &name="")
 
void PrintChannelParameters (const std::string &channel, bool IncludeConstantParams=false)
 
void PrintDataSet (RooDataSet *data, const std::string &channel="")
 
void PrintModelAndData (RooDataSet *data)
 
void PrintParameters (bool IncludeConstantParams=false)
 
void PrintSampleComponents (const std::string &channel, const std::string &sample)
 
void PrintSampleParameters (const std::string &channel, const std::string &sample, bool IncludeConstantParams=false)
 
void PrintState ()
 
void PrintState (const std::string &channel)
 
void ReplaceNode (const std::string &ToReplace, RooAbsArg *ReplaceWith)
 
RooAbsRealSampleFunction (const std::string &channel, const std::string &sample)
 
void SetConstant (const std::string &regExpr=".*", bool constant=true)
 
void SetMaxBinToPrint (int max)
 
void SetMinBinToPrint (int min)
 
RooRealVarvar (const std::string &varName) const
 

Protected Member Functions

void _GetNodes (ModelConfig *mc)
 
void _GetNodes (RooAbsPdf *model, const RooArgSet *observables)
 
std::map< std::string, RooAbsReal * > GetSampleFunctionMap (const std::string &channel)
 
TH1MakeHistFromRooFunction (RooAbsReal *func, RooArgList vars, std::string name="Hist")
 
void PrintMultiDimHist (TH1 *hist, int bin_print_width)
 
void SetPrintWidths (const std::string &channel)
 

Private Member Functions

RooArgSet _GetAllProducts (RooProduct *node)
 
RooAbsArgfindChild (const std::string &name, RooAbsReal *parent) const
 

Private Attributes

int _bin_print_width
 
int _label_print_width
 
int _maxBinToPrint
 
int _minBinToPrint
 
std::vector< std::string > fChannelNameVec
 
std::map< std::string, RooArgSet * > fChannelObservMap
 
std::map< std::string, RooAbsPdf *> fChannelPdfMap
 
std::map< std::string, std::map< std::string, RooAbsReal * > > fChannelSampleFunctionMap
 
std::map< std::string, RooAbsPdf *> fChannelSumNodeMap
 
RooAbsPdffModel
 
RooArgSetfObservables
 

#include <RooStats/HistFactory/HistFactoryNavigation.h>

Constructor & Destructor Documentation

◆ HistFactoryNavigation() [1/3]

RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation ( ModelConfig mc)

Definition at line 31 of file HistFactoryNavigation.cxx.

◆ HistFactoryNavigation() [2/3]

RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation ( const std::string &  File,
const std::string &  WorkspaceName = "combined",
const std::string &  ModelConfigName = "ModelConfig" 
)

Definition at line 75 of file HistFactoryNavigation.cxx.

◆ HistFactoryNavigation() [3/3]

RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation ( RooAbsPdf model,
RooArgSet observables 
)

Definition at line 141 of file HistFactoryNavigation.cxx.

◆ ~HistFactoryNavigation()

virtual RooStats::HistFactory::HistFactoryNavigation::~HistFactoryNavigation ( )
inlinevirtual

Definition at line 30 of file HistFactoryNavigation.h.

Member Function Documentation

◆ _GetAllProducts()

RooArgSet RooStats::HistFactory::HistFactoryNavigation::_GetAllProducts ( RooProduct node)
private

Definition at line 728 of file HistFactoryNavigation.cxx.

◆ _GetNodes() [1/2]

void RooStats::HistFactory::HistFactoryNavigation::_GetNodes ( ModelConfig mc)
protected

Definition at line 1241 of file HistFactoryNavigation.cxx.

◆ _GetNodes() [2/2]

void RooStats::HistFactory::HistFactoryNavigation::_GetNodes ( RooAbsPdf model,
const RooArgSet observables 
)
protected

Definition at line 761 of file HistFactoryNavigation.cxx.

◆ DrawChannel()

void RooStats::HistFactory::HistFactoryNavigation::DrawChannel ( const std::string &  channel,
RooDataSet data = NULL 
)

Definition at line 712 of file HistFactoryNavigation.cxx.

◆ findChild()

RooAbsArg * RooStats::HistFactory::HistFactoryNavigation::findChild ( const std::string &  name,
RooAbsReal parent 
) const
private

Definition at line 890 of file HistFactoryNavigation.cxx.

◆ GetBinValue() [1/2]

double RooStats::HistFactory::HistFactoryNavigation::GetBinValue ( int  bin,
const std::string &  channel 
)

Definition at line 474 of file HistFactoryNavigation.cxx.

◆ GetBinValue() [2/2]

double RooStats::HistFactory::HistFactoryNavigation::GetBinValue ( int  bin,
const std::string &  channel,
const std::string &  sample 
)

Definition at line 487 of file HistFactoryNavigation.cxx.

◆ GetChannelHist()

TH1 * RooStats::HistFactory::HistFactoryNavigation::GetChannelHist ( const std::string &  channel,
const std::string &  name = "" 
)

Definition at line 573 of file HistFactoryNavigation.cxx.

◆ GetChannelPdf()

RooAbsPdf * RooStats::HistFactory::HistFactoryNavigation::GetChannelPdf ( const std::string &  channel)

Definition at line 195 of file HistFactoryNavigation.cxx.

◆ GetChannelSampleList()

std::vector< std::string > RooStats::HistFactory::HistFactoryNavigation::GetChannelSampleList ( const std::string &  channel)

Definition at line 618 of file HistFactoryNavigation.cxx.

◆ GetChannelStack()

THStack * RooStats::HistFactory::HistFactoryNavigation::GetChannelStack ( const std::string &  channel,
const std::string &  name = "" 
)

Definition at line 633 of file HistFactoryNavigation.cxx.

◆ GetConstraintTerm()

RooAbsReal * RooStats::HistFactory::HistFactoryNavigation::GetConstraintTerm ( const std::string &  parameter)

Definition at line 946 of file HistFactoryNavigation.cxx.

◆ GetConstraintUncertainty()

double RooStats::HistFactory::HistFactoryNavigation::GetConstraintUncertainty ( const std::string &  parameter)

Definition at line 978 of file HistFactoryNavigation.cxx.

◆ GetDataHist()

TH1 * RooStats::HistFactory::HistFactoryNavigation::GetDataHist ( RooDataSet data,
const std::string &  channel,
const std::string &  name = "" 
)

Definition at line 654 of file HistFactoryNavigation.cxx.

◆ GetMaxBinToPrint()

int RooStats::HistFactory::HistFactoryNavigation::GetMaxBinToPrint ( ) const
inline

Definition at line 102 of file HistFactoryNavigation.h.

◆ GetMinBinToPrint()

int RooStats::HistFactory::HistFactoryNavigation::GetMinBinToPrint ( ) const
inline

Definition at line 105 of file HistFactoryNavigation.h.

◆ GetModel()

RooAbsPdf* RooStats::HistFactory::HistFactoryNavigation::GetModel ( ) const
inline

Definition at line 108 of file HistFactoryNavigation.h.

◆ GetObservableSet()

RooArgSet * RooStats::HistFactory::HistFactoryNavigation::GetObservableSet ( const std::string &  channel)

Definition at line 540 of file HistFactoryNavigation.cxx.

◆ GetSampleFunctionMap()

std::map< std::string, RooAbsReal * > RooStats::HistFactory::HistFactoryNavigation::GetSampleFunctionMap ( const std::string &  channel)
protected

Definition at line 501 of file HistFactoryNavigation.cxx.

◆ GetSampleHist()

TH1 * RooStats::HistFactory::HistFactoryNavigation::GetSampleHist ( const std::string &  channel,
const std::string &  sample,
const std::string &  name = "" 
)

Definition at line 555 of file HistFactoryNavigation.cxx.

◆ MakeHistFromRooFunction()

TH1 * RooStats::HistFactory::HistFactoryNavigation::MakeHistFromRooFunction ( RooAbsReal func,
RooArgList  vars,
std::string  name = "Hist" 
)
protected

Definition at line 1194 of file HistFactoryNavigation.cxx.

◆ PrintChannelParameters()

void RooStats::HistFactory::HistFactoryNavigation::PrintChannelParameters ( const std::string &  channel,
bool  IncludeConstantParams = false 
)

Definition at line 390 of file HistFactoryNavigation.cxx.

◆ PrintDataSet()

void RooStats::HistFactory::HistFactoryNavigation::PrintDataSet ( RooDataSet data,
const std::string &  channel = "" 
)

Definition at line 301 of file HistFactoryNavigation.cxx.

◆ PrintModelAndData()

void RooStats::HistFactory::HistFactoryNavigation::PrintModelAndData ( RooDataSet data)

Definition at line 339 of file HistFactoryNavigation.cxx.

◆ PrintMultiDimHist()

void RooStats::HistFactory::HistFactoryNavigation::PrintMultiDimHist ( TH1 hist,
int  bin_print_width 
)
protected

Definition at line 172 of file HistFactoryNavigation.cxx.

◆ PrintParameters()

void RooStats::HistFactory::HistFactoryNavigation::PrintParameters ( bool  IncludeConstantParams = false)

Definition at line 356 of file HistFactoryNavigation.cxx.

◆ PrintSampleComponents()

void RooStats::HistFactory::HistFactoryNavigation::PrintSampleComponents ( const std::string &  channel,
const std::string &  sample 
)

Definition at line 1087 of file HistFactoryNavigation.cxx.

◆ PrintSampleParameters()

void RooStats::HistFactory::HistFactoryNavigation::PrintSampleParameters ( const std::string &  channel,
const std::string &  sample,
bool  IncludeConstantParams = false 
)

Definition at line 431 of file HistFactoryNavigation.cxx.

◆ PrintState() [1/2]

void RooStats::HistFactory::HistFactoryNavigation::PrintState ( )

Definition at line 277 of file HistFactoryNavigation.cxx.

◆ PrintState() [2/2]

void RooStats::HistFactory::HistFactoryNavigation::PrintState ( const std::string &  channel)

Definition at line 217 of file HistFactoryNavigation.cxx.

◆ ReplaceNode()

void RooStats::HistFactory::HistFactoryNavigation::ReplaceNode ( const std::string &  ToReplace,
RooAbsArg ReplaceWith 
)

Definition at line 1047 of file HistFactoryNavigation.cxx.

◆ SampleFunction()

RooAbsReal * RooStats::HistFactory::HistFactoryNavigation::SampleFunction ( const std::string &  channel,
const std::string &  sample 
)

Definition at line 516 of file HistFactoryNavigation.cxx.

◆ SetConstant()

void RooStats::HistFactory::HistFactoryNavigation::SetConstant ( const std::string &  regExpr = ".*",
bool  constant = true 
)

Definition at line 1248 of file HistFactoryNavigation.cxx.

◆ SetMaxBinToPrint()

void RooStats::HistFactory::HistFactoryNavigation::SetMaxBinToPrint ( int  max)
inline

Definition at line 101 of file HistFactoryNavigation.h.

◆ SetMinBinToPrint()

void RooStats::HistFactory::HistFactoryNavigation::SetMinBinToPrint ( int  min)
inline

Definition at line 104 of file HistFactoryNavigation.h.

◆ SetPrintWidths()

void RooStats::HistFactory::HistFactoryNavigation::SetPrintWidths ( const std::string &  channel)
protected

Definition at line 285 of file HistFactoryNavigation.cxx.

◆ var()

RooRealVar * RooStats::HistFactory::HistFactoryNavigation::var ( const std::string &  varName) const

Definition at line 1289 of file HistFactoryNavigation.cxx.

Member Data Documentation

◆ _bin_print_width

int RooStats::HistFactory::HistFactoryNavigation::_bin_print_width
private

Definition at line 170 of file HistFactoryNavigation.h.

◆ _label_print_width

int RooStats::HistFactory::HistFactoryNavigation::_label_print_width
private

Definition at line 169 of file HistFactoryNavigation.h.

◆ _maxBinToPrint

int RooStats::HistFactory::HistFactoryNavigation::_maxBinToPrint
private

Definition at line 167 of file HistFactoryNavigation.h.

◆ _minBinToPrint

int RooStats::HistFactory::HistFactoryNavigation::_minBinToPrint
private

Definition at line 166 of file HistFactoryNavigation.h.

◆ fChannelNameVec

std::vector<std::string> RooStats::HistFactory::HistFactoryNavigation::fChannelNameVec
private

Definition at line 173 of file HistFactoryNavigation.h.

◆ fChannelObservMap

std::map< std::string, RooArgSet*> RooStats::HistFactory::HistFactoryNavigation::fChannelObservMap
private

Definition at line 182 of file HistFactoryNavigation.h.

◆ fChannelPdfMap

std::map< std::string, RooAbsPdf* > RooStats::HistFactory::HistFactoryNavigation::fChannelPdfMap
private

Definition at line 176 of file HistFactoryNavigation.h.

◆ fChannelSampleFunctionMap

std::map< std::string, std::map< std::string, RooAbsReal*> > RooStats::HistFactory::HistFactoryNavigation::fChannelSampleFunctionMap
private

Definition at line 186 of file HistFactoryNavigation.h.

◆ fChannelSumNodeMap

std::map< std::string, RooAbsPdf* > RooStats::HistFactory::HistFactoryNavigation::fChannelSumNodeMap
private

Definition at line 179 of file HistFactoryNavigation.h.

◆ fModel

RooAbsPdf* RooStats::HistFactory::HistFactoryNavigation::fModel
private

Definition at line 161 of file HistFactoryNavigation.h.

◆ fObservables

RooArgSet* RooStats::HistFactory::HistFactoryNavigation::fObservables
private

Definition at line 164 of file HistFactoryNavigation.h.


The documentation for this class was generated from the following files: