FairRoot/PandaRoot
Public Member Functions | Protected Attributes | Private Attributes | List of all members
RhoIntColumn Class Reference

#include <RhoColumn.h>

Inheritance diagram for RhoIntColumn:
RhoColumn

Public Member Functions

 RhoIntColumn (const char *, const Int_t &, const Int_t &, TTree *)
 
virtual ~RhoIntColumn ()
 
virtual void SetDefValue ()
 
virtual void SetValue (const void *p, RhoColumn *)
 
const TStringGetLabel () const
 
TBranch * GetBrPointer ()
 
void * GetPointer ()
 
void SetPointer (void *p)
 
void SetUseDefValue (Int_t b)
 
const Int_t & GetUseDefValue () const
 

Protected Attributes

TString fLabel
 
Int_t fUseDefValue
 
void * fPointer
 
TBranch * fBranch
 

Private Attributes

Int_t fDefValue
 

Detailed Description

Definition at line 206 of file RhoColumn.h.

Constructor & Destructor Documentation

RhoIntColumn::RhoIntColumn ( const char *  l,
const Int_t &  v,
const Int_t &  d,
TTree *  tp 
)

Definition at line 113 of file RhoColumn.cxx.

References RhoColumn::fBranch, RhoColumn::fLabel, RhoColumn::fPointer, and TString.

113  :
114  RhoColumn ( l ),fDefValue ( d )
115 {
116  // Create a new branch:
117  fPointer = new Int_t;
118  * ( Int_t* ) fPointer = v;
119  TString leafs ( l ) ;
120  leafs += "/I";
121  fBranch = tp->Branch ( fLabel,fPointer,&*leafs,8000 );
122 }
TObjArray * d
RhoColumn(const char *l)
Definition: RhoColumn.h:125
Int_t fDefValue
Definition: RhoColumn.h:220
TBranch * fBranch
Definition: RhoColumn.h:152
__m128 v
Definition: P4_F32vec4.h:4
TString fLabel
Definition: RhoColumn.h:149
void * fPointer
Definition: RhoColumn.h:151
virtual RhoIntColumn::~RhoIntColumn ( )
inlinevirtual

Definition at line 210 of file RhoColumn.h.

References RhoColumn::fPointer.

210  {
211  delete ( Int_t* ) fPointer;
212  }
void * fPointer
Definition: RhoColumn.h:151

Member Function Documentation

TBranch* RhoColumn::GetBrPointer ( )
inlineinherited

Definition at line 131 of file RhoColumn.h.

References RhoColumn::fBranch.

131  {
132  return fBranch;
133  }
TBranch * fBranch
Definition: RhoColumn.h:152
const TString& RhoColumn::GetLabel ( ) const
inlineinherited
void* RhoColumn::GetPointer ( )
inlineinherited
const Int_t& RhoColumn::GetUseDefValue ( ) const
inlineinherited

Definition at line 143 of file RhoColumn.h.

References RhoColumn::fUseDefValue.

Referenced by RhoTuple::DumpData().

143  {
144  return fUseDefValue;
145  }
Int_t fUseDefValue
Definition: RhoColumn.h:150
virtual void RhoIntColumn::SetDefValue ( )
inlinevirtual

Implements RhoColumn.

Definition at line 213 of file RhoColumn.h.

References fDefValue, and RhoColumn::fPointer.

213  {
214  * ( Int_t* ) fPointer = fDefValue;
215  }
Int_t fDefValue
Definition: RhoColumn.h:220
void * fPointer
Definition: RhoColumn.h:151
void RhoColumn::SetPointer ( void *  p)
inlineinherited

Definition at line 137 of file RhoColumn.h.

References RhoColumn::fPointer, and p.

137  {
138  fPointer = p;
139  }
Double_t p
Definition: anasim.C:58
void * fPointer
Definition: RhoColumn.h:151
void RhoColumn::SetUseDefValue ( Int_t  b)
inlineinherited

Definition at line 140 of file RhoColumn.h.

References b, and RhoColumn::fUseDefValue.

Referenced by RhoTuple::ClearData(), RhoTuple::Column(), and RhoTuple::DumpData().

140  {
141  fUseDefValue = b;
142  }
TTree * b
Int_t fUseDefValue
Definition: RhoColumn.h:150
virtual void RhoIntColumn::SetValue ( const void *  p,
RhoColumn  
)
inlinevirtual

Implements RhoColumn.

Definition at line 216 of file RhoColumn.h.

References RhoColumn::fPointer, and p.

216  {
217  * ( Int_t* ) fPointer = * ( const Int_t* ) p;
218  }
Double_t p
Definition: anasim.C:58
void * fPointer
Definition: RhoColumn.h:151

Member Data Documentation

TBranch* RhoColumn::fBranch
protectedinherited
Int_t RhoIntColumn::fDefValue
private

Definition at line 220 of file RhoColumn.h.

Referenced by SetDefValue().

TString RhoColumn::fLabel
protectedinherited
void* RhoColumn::fPointer
protectedinherited

Definition at line 151 of file RhoColumn.h.

Referenced by RhoColumn::GetPointer(), RhoBoolArrColumn::RhoBoolArrColumn(), RhoBoolColumn::RhoBoolColumn(), RhoBoolDynArrColumn::RhoBoolDynArrColumn(), RhoDoubleArrColumn::RhoDoubleArrColumn(), RhoDoubleColumn::RhoDoubleColumn(), RhoDoubleDynArrColumn::RhoDoubleDynArrColumn(), RhoFloatArrColumn::RhoFloatArrColumn(), RhoFloatColumn::RhoFloatColumn(), RhoFloatDynArrColumn::RhoFloatDynArrColumn(), RhoIntArrColumn::RhoIntArrColumn(), RhoIntColumn(), RhoIntDynArrColumn::RhoIntDynArrColumn(), RhoStringColumn::RhoStringColumn(), RhoBoolColumn::SetDefValue(), RhoBoolArrColumn::SetDefValue(), RhoBoolDynArrColumn::SetDefValue(), SetDefValue(), RhoIntArrColumn::SetDefValue(), RhoIntDynArrColumn::SetDefValue(), RhoFloatColumn::SetDefValue(), RhoFloatArrColumn::SetDefValue(), RhoFloatDynArrColumn::SetDefValue(), RhoDoubleColumn::SetDefValue(), RhoDoubleArrColumn::SetDefValue(), RhoDoubleDynArrColumn::SetDefValue(), RhoStringColumn::SetDefValue(), RhoColumn::SetPointer(), RhoBoolColumn::SetValue(), RhoBoolArrColumn::SetValue(), RhoBoolDynArrColumn::SetValue(), SetValue(), RhoIntArrColumn::SetValue(), RhoIntDynArrColumn::SetValue(), RhoFloatColumn::SetValue(), RhoFloatArrColumn::SetValue(), RhoFloatDynArrColumn::SetValue(), RhoDoubleColumn::SetValue(), RhoDoubleArrColumn::SetValue(), RhoDoubleDynArrColumn::SetValue(), RhoStringColumn::SetValue(), RhoBoolArrColumn::~RhoBoolArrColumn(), RhoBoolColumn::~RhoBoolColumn(), RhoBoolDynArrColumn::~RhoBoolDynArrColumn(), RhoDoubleArrColumn::~RhoDoubleArrColumn(), RhoDoubleColumn::~RhoDoubleColumn(), RhoDoubleDynArrColumn::~RhoDoubleDynArrColumn(), RhoFloatArrColumn::~RhoFloatArrColumn(), RhoFloatColumn::~RhoFloatColumn(), RhoFloatDynArrColumn::~RhoFloatDynArrColumn(), RhoIntArrColumn::~RhoIntArrColumn(), ~RhoIntColumn(), RhoIntDynArrColumn::~RhoIntDynArrColumn(), and RhoStringColumn::~RhoStringColumn().

Int_t RhoColumn::fUseDefValue
protectedinherited

Definition at line 150 of file RhoColumn.h.

Referenced by RhoColumn::GetUseDefValue(), and RhoColumn::SetUseDefValue().


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