PandaRoot
RhoDoubleArrColumn Class Reference

#include <RhoColumn.h>

Inheritance diagram for RhoDoubleArrColumn:
RhoColumn

Public Member Functions

 RhoDoubleArrColumn (const char *, const RhoHTAbsValVector< Double_t > &, const Double_t &, TTree *)
 
virtual ~RhoDoubleArrColumn ()
 
virtual void SetDefValue ()
 
virtual void SetValue (const void *, RhoColumn *cp=nullptr)
 
- Public Member Functions inherited from RhoColumn
 RhoColumn (const char *l)
 
virtual ~RhoColumn ()
 
const TString & GetLabel () const
 
TBranch * GetBrPointer ()
 
void * GetPointer ()
 
void SetPointer (void *p)
 
void SetUseDefValue (Int_t b)
 
const Int_t & GetUseDefValue () const
 

Additional Inherited Members

- Protected Attributes inherited from RhoColumn
TString fLabel
 
Int_t fUseDefValue
 
void * fPointer
 
TBranch * fBranch
 

Detailed Description

Definition at line 261 of file RhoColumn.h.

Constructor & Destructor Documentation

◆ RhoDoubleArrColumn()

RhoDoubleArrColumn::RhoDoubleArrColumn ( const char *  ,
const RhoHTAbsValVector< Double_t > &  ,
const Double_t &  ,
TTree *   
)

◆ ~RhoDoubleArrColumn()

virtual RhoDoubleArrColumn::~RhoDoubleArrColumn ( )
inlinevirtual

Definition at line 264 of file RhoColumn.h.

264 { delete[](Double_t *) fPointer; }
void * fPointer
Definition: RhoColumn.h:120

Member Function Documentation

◆ SetDefValue()

virtual void RhoDoubleArrColumn::SetDefValue ( )
inlinevirtual

Implements RhoColumn.

Definition at line 265 of file RhoColumn.h.

References i.

266  {
267  for (Int_t i = 0; i < fMax; ++i) {
268  ((Double_t *)fPointer)[i] = fDefValue;
269  }
270  }
unsigned int i
Definition: P4_F32vec4.h:21
void * fPointer
Definition: RhoColumn.h:120

◆ SetValue()

virtual void RhoDoubleArrColumn::SetValue ( const void *  ,
RhoColumn cp = nullptr 
)
virtual

Implements RhoColumn.


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