ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooVectorDataStore::CatVector

class RooVectorDataStore::CatVector

Function Members (Methods)

public:
virtual~CatVector()
const RooAbsCategory*bufArg() const
RooVectorDataStore::CatVectorCatVector(UInt_t initialCapacity = (VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
RooVectorDataStore::CatVectorCatVector(RooAbsCategory* cat, UInt_t initialCapacity = (VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
RooVectorDataStore::CatVectorCatVector(const RooVectorDataStore::CatVector& other, RooAbsCategory* cat = 0)
static TClass*Class()
voidfill()
voidget(Int_t idx) const
voidgetNative(Int_t idx) const
virtual TClass*IsA() const
RooVectorDataStore::CatVector&operator=(const RooVectorDataStore::CatVector& other)
voidreserve(Int_t siz)
voidreset()
voidresize(Int_t siz)
voidsetBufArg(RooAbsCategory* arg)
voidsetBuffer(RooCatType* newBuf)
voidsetNativeBuffer(RooCatType* newBuf = 0)
virtual voidShowMembers(TMemberInspector&)
Int_tsize() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidwrite(Int_t i)

Data Members

private:
RooCatType*_buf!
RooAbsCategory*_cat
RooCatType*_nativeBuf!
vector<RooCatType>_vec
RooCatType*_vec0!

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Int_t fill()
 Write current row
void reserve(Int_t siz)
 reserve storage for nEvt entries
const RooArgSet* get(Int_t idx) const
const RooArgSet* getNative(Int_t idx) const
void reset()
RealVector& operator=(const RooVectorDataStore::CatVector& other)
void setBufArg(RooAbsCategory* arg)
{ _nativeReal = arg ; }
const RooAbsReal* bufArg() const
{ return _nativeReal ; }
void setBuffer(RooAbsReal* real, Double_t* newBuf)
void setNativeBuffer(RooCatType* newBuf = 0)
void write(Int_t i)
std::cout << "write(" << this << ") [" << i << "] nativeReal = " << _nativeReal << " = " << _nativeReal->GetName() << " real = " << _real << " buf = " << _buf << " value = " << *_buf << " native getVal() = " << _nativeReal->getVal() << " getVal() = " << _real->getVal() << std::endl ;
Int_t size() const
{ return _vec.size() ; }
void resize(Int_t siz)
CatVector(UInt_t initialCapacity = (VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
CatVector(RooAbsCategory* cat, UInt_t initialCapacity = (VECTOR_BUFFER_SIZE/sizeof(RooCatType)))
virtual ~CatVector()
CatVector(const RooVectorDataStore::CatVector& other, RooAbsCategory* cat = 0)