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 = 100)
RooVectorDataStore::CatVectorCatVector(RooAbsCategory* cat, UInt_t initialCapacity = 100)
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)
voidreset()
voidresize(Int_t siz)
voidsetBufArg(RooAbsCategory* arg)
voidsetBuffer(RooCatType* newBuf)
voidsetNativeBuffer(RooCatType* newBuf = 0)
virtual voidShowMembers(TMemberInspector& insp)
Int_tsize() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
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)
cout << "write(" << this << ") [" << i << "] nativeReal = " << _nativeReal << " = " << _nativeReal->GetName() << " real = " << _real << " buf = " << _buf << " value = " << *_buf << " native getVal() = " << _nativeReal->getVal() << " getVal() = " << _real->getVal() << endl ;
Int_t size() const
{ return _vec.size() ; }
void resize(Int_t siz)
CatVector(UInt_t initialCapacity = 100)
CatVector(RooAbsCategory* cat, UInt_t initialCapacity = 100)
virtual ~CatVector()
CatVector(const RooVectorDataStore::CatVector& other, RooAbsCategory* cat = 0)