Logo ROOT  
Reference Guide
RooVectorDataStore::RealVector Class Reference

Definition at line 150 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 153 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 158 of file RooVectorDataStore.h.

◆ ~RealVector()

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

Definition at line 163 of file RooVectorDataStore.h.

◆ RealVector() [3/3]

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

Definition at line 168 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

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

Definition at line 203 of file RooVectorDataStore.h.

◆ data()

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

Definition at line 279 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::RealVector::fill ( )
inline

Definition at line 229 of file RooVectorDataStore.h.

◆ getRange()

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

Definition at line 247 of file RooVectorDataStore.h.

◆ load()

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

Definition at line 242 of file RooVectorDataStore.h.

◆ loadToNative()

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

Definition at line 254 of file RooVectorDataStore.h.

◆ needRecalc()

Bool_t RooVectorDataStore::RealVector::needRecalc ( )
inline

Definition at line 224 of file RooVectorDataStore.h.

◆ nset()

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

Definition at line 200 of file RooVectorDataStore.h.

◆ operator=()

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

Definition at line 180 of file RooVectorDataStore.h.

◆ reserve()

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

Definition at line 275 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::RealVector::reset ( )
inline

Definition at line 238 of file RooVectorDataStore.h.

◆ resize()

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

Definition at line 260 of file RooVectorDataStore.h.

◆ setBufArg()

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

Definition at line 202 of file RooVectorDataStore.h.

◆ setBuffer()

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

Definition at line 205 of file RooVectorDataStore.h.

◆ setDependents()

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

Definition at line 217 of file RooVectorDataStore.h.

◆ setNativeBuffer()

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

Definition at line 213 of file RooVectorDataStore.h.

◆ setNset()

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

Definition at line 198 of file RooVectorDataStore.h.

◆ size()

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

Definition at line 258 of file RooVectorDataStore.h.

◆ write()

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

Definition at line 233 of file RooVectorDataStore.h.

Friends And Related Function Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 287 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

Double_t* RooVectorDataStore::RealVector::_buf
private

Definition at line 290 of file RooVectorDataStore.h.

◆ _nativeBuf

Double_t* RooVectorDataStore::RealVector::_nativeBuf
private

Definition at line 291 of file RooVectorDataStore.h.

◆ _nativeReal

RooAbsReal* RooVectorDataStore::RealVector::_nativeReal
private

Definition at line 288 of file RooVectorDataStore.h.

◆ _nset

RooArgSet* RooVectorDataStore::RealVector::_nset
private

Definition at line 293 of file RooVectorDataStore.h.

◆ _real

RooAbsReal* RooVectorDataStore::RealVector::_real
private

Definition at line 289 of file RooVectorDataStore.h.

◆ _tracker

RooChangeTracker* RooVectorDataStore::RealVector::_tracker
private

Definition at line 292 of file RooVectorDataStore.h.

◆ _vec

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

Definition at line 284 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::RealVector:
[legend]

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