Logo ROOT  
Reference Guide
RooVectorDataStore::RealVector Class Reference

Definition at line 152 of file RooVectorDataStore.h.

Public Member Functions

 RealVector (const RealVector &other, RooAbsReal *real=0)
 
 RealVector (RooAbsReal *arg, UInt_t initialCapacity=(VECTOR_BUFFER_SIZE/sizeof(Double_t)))
 
 RealVector (UInt_t initialCapacity=(VECTOR_BUFFER_SIZE/sizeof(Double_t)))
 
virtual ~RealVector ()
 
const RooAbsRealbufArg () const
 
const std::vector< double > & data () const
 
void fill ()
 
RooSpan< const doublegetRange (std::size_t first, std::size_t last) const
 
void load (std::size_t idx) const
 
void loadToNative (std::size_t idx) const
 
Bool_t 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_t *newBuf)
 
void setDependents (const RooArgSet &deps)
 
void setNativeBuffer (Double_t *newBuf=0)
 
void setNset (RooArgSet *newNset)
 
std::size_t size () const
 
void write (Int_t i)
 

Protected Attributes

std::vector< double_vec
 

Private Attributes

Double_t_buf
 
Double_t_nativeBuf
 
RooAbsReal_nativeReal
 
RooArgSet_nset
 
RooAbsReal_real
 
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 = (VECTOR_BUFFER_SIZE / sizeof(Double_t)))
inline

Definition at line 155 of file RooVectorDataStore.h.

◆ RealVector() [2/3]

RooVectorDataStore::RealVector::RealVector ( RooAbsReal arg,
UInt_t  initialCapacity = (VECTOR_BUFFER_SIZE / sizeof(Double_t)) 
)
inline

Definition at line 160 of file RooVectorDataStore.h.

◆ ~RealVector()

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

Definition at line 165 of file RooVectorDataStore.h.

◆ RealVector() [3/3]

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

Definition at line 170 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

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

Definition at line 205 of file RooVectorDataStore.h.

◆ data()

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

Definition at line 281 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::RealVector::fill ( )
inline

Definition at line 231 of file RooVectorDataStore.h.

◆ getRange()

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

Definition at line 249 of file RooVectorDataStore.h.

◆ load()

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

Definition at line 244 of file RooVectorDataStore.h.

◆ loadToNative()

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

Definition at line 256 of file RooVectorDataStore.h.

◆ needRecalc()

Bool_t RooVectorDataStore::RealVector::needRecalc ( )
inline

Definition at line 226 of file RooVectorDataStore.h.

◆ nset()

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

Definition at line 202 of file RooVectorDataStore.h.

◆ operator=()

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

Definition at line 182 of file RooVectorDataStore.h.

◆ reserve()

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

Definition at line 277 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::RealVector::reset ( )
inline

Definition at line 240 of file RooVectorDataStore.h.

◆ resize()

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

Definition at line 262 of file RooVectorDataStore.h.

◆ setBufArg()

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

Definition at line 204 of file RooVectorDataStore.h.

◆ setBuffer()

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

Definition at line 207 of file RooVectorDataStore.h.

◆ setDependents()

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

Definition at line 219 of file RooVectorDataStore.h.

◆ setNativeBuffer()

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

Definition at line 215 of file RooVectorDataStore.h.

◆ setNset()

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

Definition at line 200 of file RooVectorDataStore.h.

◆ size()

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

Definition at line 260 of file RooVectorDataStore.h.

◆ write()

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

Definition at line 235 of file RooVectorDataStore.h.

Friends And Related Function Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 289 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

Double_t* RooVectorDataStore::RealVector::_buf
private

Definition at line 292 of file RooVectorDataStore.h.

◆ _nativeBuf

Double_t* RooVectorDataStore::RealVector::_nativeBuf
private

Definition at line 293 of file RooVectorDataStore.h.

◆ _nativeReal

RooAbsReal* RooVectorDataStore::RealVector::_nativeReal
private

Definition at line 290 of file RooVectorDataStore.h.

◆ _nset

RooArgSet* RooVectorDataStore::RealVector::_nset
private

Definition at line 295 of file RooVectorDataStore.h.

◆ _real

RooAbsReal* RooVectorDataStore::RealVector::_real
private

Definition at line 291 of file RooVectorDataStore.h.

◆ _tracker

RooChangeTracker* RooVectorDataStore::RealVector::_tracker
private

Definition at line 294 of file RooVectorDataStore.h.

◆ _vec

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

Definition at line 286 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::RealVector:
[legend]

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