PandaRoot
RhoFloatArrColumn Class Reference

#include <RhoColumn.h>

Inheritance diagram for RhoFloatArrColumn:
RhoColumn

Public Member Functions

 RhoFloatArrColumn (const char *, const RhoHTAbsValVector< Float_t > &, const Float_t &, TTree *)
 
 RhoFloatArrColumn (const char *, const TVector &, const Float_t &, TTree *)
 
virtual ~RhoFloatArrColumn ()
 
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 230 of file RhoColumn.h.

Constructor & Destructor Documentation

◆ RhoFloatArrColumn() [1/2]

RhoFloatArrColumn::RhoFloatArrColumn ( const char *  ,
const RhoHTAbsValVector< Float_t > &  ,
const Float_t &  ,
TTree *   
)

◆ RhoFloatArrColumn() [2/2]

RhoFloatArrColumn::RhoFloatArrColumn ( const char *  ,
const TVector &  ,
const Float_t &  ,
TTree *   
)

◆ ~RhoFloatArrColumn()

virtual RhoFloatArrColumn::~RhoFloatArrColumn ( )
inlinevirtual

Definition at line 234 of file RhoColumn.h.

234 { delete[](Float_t *) fPointer; }
void * fPointer
Definition: RhoColumn.h:132

Member Function Documentation

◆ SetDefValue()

virtual void RhoFloatArrColumn::SetDefValue ( )
inlinevirtual

Implements RhoColumn.

Definition at line 235 of file RhoColumn.h.

References i.

236  {
237  for (Int_t i = 0; i < fMax; ++i) {
238  ((Float_t *)fPointer)[i] = fDefValue;
239  }
240  }
unsigned int i
Definition: P4_F32vec4.h:33
void * fPointer
Definition: RhoColumn.h:132

◆ SetValue()

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

Implements RhoColumn.


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