Logo ROOT  
Reference Guide
RooVectorDataStore::RealVector Class Reference

Definition at line 195 of file RooVectorDataStore.h.

Public Member Functions

 RealVector (const RealVector &other, RooAbsReal *real=0)
 
 RealVector (RooAbsReal *arg, UInt_t initialCapacity=(1024/sizeof(double)))
 
 RealVector (UInt_t initialCapacity=(1024/sizeof(double)))
 
virtual ~RealVector ()
 
const RooAbsRealbufArg () const
 
std::vector< double > & data ()
 
const std::vector< double > & data () const
 
void fill ()
 
RooSpan< const doublegetRange (std::size_t first, std::size_t last) const
 
virtual TClassIsA () const
 
void load (std::size_t idx) const
 
void loadToNative (std::size_t idx) const
 
bool needRecalc ()
 
RooArgSetnset () const
 
RealVectoroperator= (const RealVector &other)
 
void reserve (Int_t siz)
 
void reset ()
 
void resize (Int_t siz)
 
void setBufArg (RooAbsReal *arg)
 
void setBuffer (RooAbsReal *real, double *newBuf)
 
void setDependents (const RooArgSet &deps)
 
void setNativeBuffer (double *newBuf=0)
 
void setNset (RooArgSet *newNset)
 
std::size_t size () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void write (Int_t i)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

std::vector< double_vec
 

Private Attributes

double_buf
 ! More...
 
double_nativeBuf
 ! More...
 
RooAbsReal_nativeReal
 Instance which our data belongs to. This is the variable in the dataset. More...
 
RooArgSet_nset
 ! More...
 
RooAbsReal_real
 Instance where we should write data into when load() is called. More...
 
RooChangeTracker_tracker
 

Friends

class RooVectorDataStore
 

#include <RooVectorDataStore.h>

Inheritance diagram for RooVectorDataStore::RealVector:
[legend]

Constructor & Destructor Documentation

◆ RealVector() [1/3]

RooVectorDataStore::RealVector::RealVector ( UInt_t  initialCapacity = ( 1024  / sizeof(double)))
inline

Definition at line 198 of file RooVectorDataStore.h.

◆ RealVector() [2/3]

RooVectorDataStore::RealVector::RealVector ( RooAbsReal arg,
UInt_t  initialCapacity = ( 1024  / sizeof(double)) 
)
inline

Definition at line 203 of file RooVectorDataStore.h.

◆ ~RealVector()

virtual RooVectorDataStore::RealVector::~RealVector ( )
inlinevirtual

Definition at line 208 of file RooVectorDataStore.h.

◆ RealVector() [3/3]

RooVectorDataStore::RealVector::RealVector ( const RealVector other,
RooAbsReal real = 0 
)
inline

Definition at line 213 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

const RooAbsReal * RooVectorDataStore::RealVector::bufArg ( ) const
inline

Definition at line 248 of file RooVectorDataStore.h.

◆ Class()

static TClass * RooVectorDataStore::RealVector::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooVectorDataStore::RealVector::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t RooVectorDataStore::RealVector::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 341 of file RooVectorDataStore.h.

◆ data() [1/2]

std::vector< double > & RooVectorDataStore::RealVector::data ( )
inline

Definition at line 328 of file RooVectorDataStore.h.

◆ data() [2/2]

const std::vector< double > & RooVectorDataStore::RealVector::data ( ) const
inline

Definition at line 324 of file RooVectorDataStore.h.

◆ DeclFileName()

static const char * RooVectorDataStore::RealVector::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 341 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::RealVector::fill ( )
inline

Definition at line 274 of file RooVectorDataStore.h.

◆ getRange()

RooSpan< const double > RooVectorDataStore::RealVector::getRange ( std::size_t  first,
std::size_t  last 
) const
inline

Definition at line 292 of file RooVectorDataStore.h.

◆ IsA()

virtual TClass * RooVectorDataStore::RealVector::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in RooVectorDataStore::RealFullVector.

Definition at line 341 of file RooVectorDataStore.h.

◆ load()

void RooVectorDataStore::RealVector::load ( std::size_t  idx) const
inline

Definition at line 287 of file RooVectorDataStore.h.

◆ loadToNative()

void RooVectorDataStore::RealVector::loadToNative ( std::size_t  idx) const
inline

Definition at line 299 of file RooVectorDataStore.h.

◆ needRecalc()

bool RooVectorDataStore::RealVector::needRecalc ( )
inline

Definition at line 269 of file RooVectorDataStore.h.

◆ nset()

RooArgSet * RooVectorDataStore::RealVector::nset ( ) const
inline

Definition at line 245 of file RooVectorDataStore.h.

◆ operator=()

RealVector & RooVectorDataStore::RealVector::operator= ( const RealVector other)
inline

Definition at line 225 of file RooVectorDataStore.h.

◆ reserve()

void RooVectorDataStore::RealVector::reserve ( Int_t  siz)
inline

Definition at line 320 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::RealVector::reset ( )
inline

Definition at line 283 of file RooVectorDataStore.h.

◆ resize()

void RooVectorDataStore::RealVector::resize ( Int_t  siz)
inline

Definition at line 305 of file RooVectorDataStore.h.

◆ setBufArg()

void RooVectorDataStore::RealVector::setBufArg ( RooAbsReal arg)
inline

Definition at line 247 of file RooVectorDataStore.h.

◆ setBuffer()

void RooVectorDataStore::RealVector::setBuffer ( RooAbsReal real,
double newBuf 
)
inline

Definition at line 250 of file RooVectorDataStore.h.

◆ setDependents()

void RooVectorDataStore::RealVector::setDependents ( const RooArgSet deps)
inline

Definition at line 262 of file RooVectorDataStore.h.

◆ setNativeBuffer()

void RooVectorDataStore::RealVector::setNativeBuffer ( double newBuf = 0)
inline

Definition at line 258 of file RooVectorDataStore.h.

◆ setNset()

void RooVectorDataStore::RealVector::setNset ( RooArgSet newNset)
inline

Definition at line 243 of file RooVectorDataStore.h.

◆ size()

std::size_t RooVectorDataStore::RealVector::size ( ) const
inline

Definition at line 303 of file RooVectorDataStore.h.

◆ Streamer()

virtual void RooVectorDataStore::RealVector::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void RooVectorDataStore::RealVector::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 341 of file RooVectorDataStore.h.

◆ write()

void RooVectorDataStore::RealVector::write ( Int_t  i)
inline

Definition at line 278 of file RooVectorDataStore.h.

Friends And Related Function Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 334 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

double* RooVectorDataStore::RealVector::_buf
private

!

Definition at line 337 of file RooVectorDataStore.h.

◆ _nativeBuf

double* RooVectorDataStore::RealVector::_nativeBuf
private

!

Definition at line 338 of file RooVectorDataStore.h.

◆ _nativeReal

RooAbsReal* RooVectorDataStore::RealVector::_nativeReal
private

Instance which our data belongs to. This is the variable in the dataset.

Definition at line 335 of file RooVectorDataStore.h.

◆ _nset

RooArgSet* RooVectorDataStore::RealVector::_nset
private

!

Definition at line 340 of file RooVectorDataStore.h.

◆ _real

RooAbsReal* RooVectorDataStore::RealVector::_real
private

Instance where we should write data into when load() is called.

Definition at line 336 of file RooVectorDataStore.h.

◆ _tracker

RooChangeTracker* RooVectorDataStore::RealVector::_tracker
private

Definition at line 339 of file RooVectorDataStore.h.

◆ _vec

std::vector<double> RooVectorDataStore::RealVector::_vec
protected

Definition at line 331 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::RealVector:
[legend]

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