Logo ROOT  
Reference Guide
RooFit::TestStatistics::RooBinnedL Class Reference

Definition at line 27 of file RooBinnedL.h.

Public Member Functions

 RooBinnedL (RooAbsPdf *pdf, RooAbsData *data)
 
ROOT::Math::KahanSum< doubleevaluatePartition (Section bins, std::size_t components_begin, std::size_t components_end) override
 Calculate and return likelihood on subset of data from firstEvent to lastEvent processed with a step size of 'stepSize'. More...
 
virtual std::string GetClassName () const override
 
- Public Member Functions inherited from RooFit::TestStatistics::RooAbsL
 RooAbsL (ClonePdfData in, std::size_t N_events, std::size_t N_components, Extended extended=Extended::Auto)
 Constructor that clones the pdf/data and owns those cloned copies. More...
 
 RooAbsL (const RooAbsL &other)
 
 RooAbsL (RooAbsPdf *pdf, RooAbsData *data, std::size_t N_events, std::size_t N_components, Extended extended=Extended::Auto)
 Constructor that does not clone pdf/data and uses the shared_ptr aliasing constructor to make it non-owning. More...
 
virtual ~RooAbsL ()=default
 
virtual void constOptimizeTestStatistic (RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt)
 Interface function signaling a request to perform constant term optimization. More...
 
virtual double defaultErrorLevel () const
 
virtual ROOT::Math::KahanSum< doubleevaluatePartition (Section events, std::size_t components_begin, std::size_t components_end)=0
 
virtual std::string GetClassName () const =0
 
virtual std::string GetInfo () const
 
virtual std::string GetName () const
 
std::size_t getNComponents () const
 
std::size_t getNEvents () const
 
virtual RooArgSetgetParameters ()
 
virtual std::string GetTitle () const
 
void initClones (RooAbsPdf &inpdf, RooAbsData &indata)
 
bool isExtended () const
 
virtual std::size_t numDataEntries () const
 Number of dataset entries. More...
 
void setSimCount (std::size_t value)
 

Private Attributes

std::vector< double_binw
 ! More...
 
bool _first = true
 ! More...
 

Additional Inherited Members

- Public Types inherited from RooFit::TestStatistics::RooAbsL
enum class  Extended { Auto , Yes , No }
 
- Static Public Member Functions inherited from RooFit::TestStatistics::RooAbsL
static bool isExtendedHelper (RooAbsPdf *pdf, Extended extended)
 
- Protected Attributes inherited from RooFit::TestStatistics::RooAbsL
std::shared_ptr< RooAbsDatadata_
 
bool extended_ = false
 
std::size_t N_components_ = 1
 
std::size_t N_events_ = 1
 
std::unique_ptr< RooArgSetnormSet_
 Pointer to set with observables used for normalization. More...
 
std::shared_ptr< RooAbsPdfpdf_
 
std::size_t sim_count_ = 1
 

#include <RooFit/TestStatistics/RooBinnedL.h>

Inheritance diagram for RooFit::TestStatistics::RooBinnedL:
[legend]

Constructor & Destructor Documentation

◆ RooBinnedL()

RooBinnedL::RooBinnedL ( RooAbsPdf pdf,
RooAbsData data 
)

Definition at line 41 of file RooBinnedL.cxx.

Member Function Documentation

◆ evaluatePartition()

ROOT::Math::KahanSum< double > RooBinnedL::evaluatePartition ( Section  bins,
std::size_t  components_begin,
std::size_t  components_end 
)
overridevirtual

Calculate and return likelihood on subset of data from firstEvent to lastEvent processed with a step size of 'stepSize'.

If this an extended likelihood and and the zero event is processed the extended term is added to the return likelihood.

Implements RooFit::TestStatistics::RooAbsL.

Definition at line 82 of file RooBinnedL.cxx.

◆ GetClassName()

virtual std::string RooFit::TestStatistics::RooBinnedL::GetClassName ( ) const
inlineoverridevirtual

Implements RooFit::TestStatistics::RooAbsL.

Definition at line 33 of file RooBinnedL.h.

Member Data Documentation

◆ _binw

std::vector<double> RooFit::TestStatistics::RooBinnedL::_binw
mutableprivate

!

Definition at line 37 of file RooBinnedL.h.

◆ _first

bool RooFit::TestStatistics::RooBinnedL::_first = true
mutableprivate

!

Definition at line 36 of file RooBinnedL.h.

Libraries for RooFit::TestStatistics::RooBinnedL:
[legend]

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