GammaCombo  Rev:Unversioneddirectory
Public Member Functions | Private Attributes | List of all members
FitResultCache Class Reference

Helper class for the scan methods. More...

#include <FitResultCache.h>

Collaboration diagram for FitResultCache:
Collaboration graph
[legend]

Public Member Functions

 FitResultCache (OptParser *arg, int roundrobinsize=4)
 
const RooArgSet * getParsAtFunctionCall ()
 
const RooArgSet * getParsAtGlobalMin ()
 
const RooArgSet * getRoundRobinNminus (int n)
 Get an entry from the round robin database. More...
 
void initRoundRobinDB (const RooArgSet *set)
 Initialize all round robin slots to the parameters contained in set. More...
 
void storeParsAtFunctionCall (const RooArgSet *set)
 Store the parameters held by set. More...
 
void storeParsAtGlobalMin (const RooArgSet *set)
 Store the parameters held by set. More...
 
void storeParsRoundRobin (const RooArgSet *set)
 Store the parameters held by set into the round robin database. More...
 
 ~FitResultCache ()
 

Private Attributes

OptParser_arg
 command line arguments More...
 
RooDataSet * _parsAtFunctionCall
 
RooDataSet * _parsAtGlobalMin
 
vector< RooDataSet * > _parsRoundRobin
 
int _roundrobinid
 id of currently active round robin cell More...
 
int _roundrobinsize
 size of the round robin database More...
 

Detailed Description

Helper class for the scan methods.

Store several parameter points that are needed at various points at the scan. The points are handled in the format of RooFitResults, hence the name. We need

Definition at line 27 of file FitResultCache.h.

Constructor & Destructor Documentation

§ FitResultCache()

FitResultCache::FitResultCache ( OptParser arg,
int  roundrobinsize = 4 
)

Definition at line 3 of file FitResultCache.cpp.

§ ~FitResultCache()

FitResultCache::~FitResultCache ( )

Definition at line 15 of file FitResultCache.cpp.

Member Function Documentation

§ getParsAtFunctionCall()

const RooArgSet* FitResultCache::getParsAtFunctionCall ( )
inline

Definition at line 39 of file FitResultCache.h.

§ getParsAtGlobalMin()

const RooArgSet* FitResultCache::getParsAtGlobalMin ( )
inline

Definition at line 40 of file FitResultCache.h.

§ getRoundRobinNminus()

const RooArgSet * FitResultCache::getRoundRobinNminus ( int  n)

Get an entry from the round robin database.

Ownership stays with FitResultCache.

Parameters
n- the point we want to get, 0 is the most recent one

Definition at line 90 of file FitResultCache.cpp.

§ initRoundRobinDB()

void FitResultCache::initRoundRobinDB ( const RooArgSet *  set)

Initialize all round robin slots to the parameters contained in set.

Parameters
set- the set of parameters to be saved

Definition at line 77 of file FitResultCache.cpp.

§ storeParsAtFunctionCall()

void FitResultCache::storeParsAtFunctionCall ( const RooArgSet *  set)

Store the parameters held by set.

Can only be called once per instance of FitResultCache.

Parameters
set- the set of parameters to be saved

Definition at line 30 of file FitResultCache.cpp.

§ storeParsAtGlobalMin()

void FitResultCache::storeParsAtGlobalMin ( const RooArgSet *  set)

Store the parameters held by set.

Can only be called once per instance of FitResultCache.

Parameters
set- the set of parameters to be saved

Definition at line 48 of file FitResultCache.cpp.

§ storeParsRoundRobin()

void FitResultCache::storeParsRoundRobin ( const RooArgSet *  set)

Store the parameters held by set into the round robin database.

Parameters
set- the set of parameters to be saved

Definition at line 61 of file FitResultCache.cpp.

Member Data Documentation

§ _arg

OptParser* FitResultCache::_arg
private

command line arguments

Definition at line 40 of file FitResultCache.h.

§ _parsAtFunctionCall

RooDataSet* FitResultCache::_parsAtFunctionCall
private

Definition at line 47 of file FitResultCache.h.

§ _parsAtGlobalMin

RooDataSet* FitResultCache::_parsAtGlobalMin
private

Definition at line 48 of file FitResultCache.h.

§ _parsRoundRobin

vector<RooDataSet*> FitResultCache::_parsRoundRobin
private

Definition at line 49 of file FitResultCache.h.

§ _roundrobinid

int FitResultCache::_roundrobinid
private

id of currently active round robin cell

Definition at line 46 of file FitResultCache.h.

§ _roundrobinsize

int FitResultCache::_roundrobinsize
private

size of the round robin database

Definition at line 45 of file FitResultCache.h.


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