Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooVectorDataStore::RealVector Class Reference

Definition at line 194 of file RooVectorDataStore.h.

Public Member Functions

 RealVector (const RealVector &other, RooAbsReal *real=nullptr)
 
 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 ()
 
std::span< const doublegetRange (std::size_t first, std::size_t last) const
 
virtual TClassIsA () const
 
void load (std::size_t idx) const
 
bool needRecalc ()
 
RooArgSetnset () const
 
RealVectoroperator= (const RealVector &other)
 
void reserve (Int_t newSize)
 
void reset ()
 
void resize (Int_t newSize)
 
void setBufArg (RooAbsReal *arg)
 
void setBuffer (RooAbsReal *real, double *newBuf)
 
void setDependents (const RooArgSet &deps)
 
void setNativeBuffer (double *newBuf=nullptr)
 
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 constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

std::vector< double_vec
 

Private Attributes

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

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 197 of file RooVectorDataStore.h.

◆ RealVector() [2/3]

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

Definition at line 201 of file RooVectorDataStore.h.

◆ ~RealVector()

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

Definition at line 206 of file RooVectorDataStore.h.

◆ RealVector() [3/3]

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

Definition at line 211 of file RooVectorDataStore.h.

Member Function Documentation

◆ bufArg()

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

Definition at line 246 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 constexpr Version_t RooVectorDataStore::RealVector::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 336 of file RooVectorDataStore.h.

◆ data() [1/2]

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

Definition at line 323 of file RooVectorDataStore.h.

◆ data() [2/2]

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

Definition at line 319 of file RooVectorDataStore.h.

◆ DeclFileName()

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

Definition at line 336 of file RooVectorDataStore.h.

◆ fill()

void RooVectorDataStore::RealVector::fill ( )
inline

Definition at line 272 of file RooVectorDataStore.h.

◆ getRange()

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

Definition at line 291 of file RooVectorDataStore.h.

◆ IsA()

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

Reimplemented in RooVectorDataStore::RealFullVector.

Definition at line 336 of file RooVectorDataStore.h.

◆ load()

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

Definition at line 285 of file RooVectorDataStore.h.

◆ needRecalc()

bool RooVectorDataStore::RealVector::needRecalc ( )
inline

Definition at line 267 of file RooVectorDataStore.h.

◆ nset()

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

Definition at line 243 of file RooVectorDataStore.h.

◆ operator=()

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

Definition at line 223 of file RooVectorDataStore.h.

◆ reserve()

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

Definition at line 315 of file RooVectorDataStore.h.

◆ reset()

void RooVectorDataStore::RealVector::reset ( )
inline

Definition at line 281 of file RooVectorDataStore.h.

◆ resize()

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

Definition at line 300 of file RooVectorDataStore.h.

◆ setBufArg()

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

Definition at line 245 of file RooVectorDataStore.h.

◆ setBuffer()

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

Definition at line 248 of file RooVectorDataStore.h.

◆ setDependents()

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

Definition at line 260 of file RooVectorDataStore.h.

◆ setNativeBuffer()

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

Definition at line 256 of file RooVectorDataStore.h.

◆ setNset()

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

Definition at line 241 of file RooVectorDataStore.h.

◆ size()

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

Definition at line 298 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 336 of file RooVectorDataStore.h.

◆ write()

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

Definition at line 276 of file RooVectorDataStore.h.

Friends And Related Symbol Documentation

◆ RooVectorDataStore

friend class RooVectorDataStore
friend

Definition at line 329 of file RooVectorDataStore.h.

Member Data Documentation

◆ _buf

double* RooVectorDataStore::RealVector::_buf = nullptr
private

!

Definition at line 332 of file RooVectorDataStore.h.

◆ _nativeBuf

double* RooVectorDataStore::RealVector::_nativeBuf = nullptr
private

!

Definition at line 333 of file RooVectorDataStore.h.

◆ _nativeReal

RooAbsReal* RooVectorDataStore::RealVector::_nativeReal = nullptr
private

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

Definition at line 330 of file RooVectorDataStore.h.

◆ _nset

RooArgSet* RooVectorDataStore::RealVector::_nset = nullptr
private

!

Definition at line 335 of file RooVectorDataStore.h.

◆ _real

RooAbsReal* RooVectorDataStore::RealVector::_real = nullptr
private

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

Definition at line 331 of file RooVectorDataStore.h.

◆ _tracker

RooChangeTracker* RooVectorDataStore::RealVector::_tracker = nullptr
private

Definition at line 334 of file RooVectorDataStore.h.

◆ _vec

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

Definition at line 326 of file RooVectorDataStore.h.

Libraries for RooVectorDataStore::RealVector:

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