Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaOdata Class Reference

Definition at line 25 of file THaOutput.h.

Public Member Functions

void AddBranches (TTree *T, std::string name)
 
void Clear (Option_t *="")
 
Int_t Fill (Double_t dat)
 
Int_t Fill (Int_t i, Double_t dat)
 
Int_t Fill (Int_t n, const Double_t *array)
 
Double_t Get (Int_t index=0) const
 
THaOdataoperator= (const THaOdata &rhs)
 
Bool_t Resize (Int_t i)
 
 THaOdata (const THaOdata &other)
 
 THaOdata (int n=1)
 
virtual ~THaOdata ()
 

Public Attributes

Double_tdata
 
std::string name
 
Int_t ndata
 
Int_t nsize
 
TTreetree
 

#include <THaOutput.h>

Constructor & Destructor Documentation

◆ THaOdata() [1/2]

THaOdata::THaOdata ( int  n = 1)
inlineexplicit

Definition at line 29 of file THaOutput.h.

◆ THaOdata() [2/2]

THaOdata::THaOdata ( const THaOdata other)

Definition at line 121 of file THaOutput.cxx.

◆ ~THaOdata()

virtual THaOdata::~THaOdata ( )
inlinevirtual

Definition at line 33 of file THaOutput.h.

Member Function Documentation

◆ AddBranches()

void THaOdata::AddBranches ( TTree T,
std::string  name 
)

Definition at line 142 of file THaOutput.cxx.

◆ Clear()

void THaOdata::Clear ( Option_t = "")
inline

Definition at line 35 of file THaOutput.h.

◆ Fill() [1/3]

Int_t THaOdata::Fill ( Double_t  dat)
inline

Definition at line 49 of file THaOutput.h.

◆ Fill() [2/3]

Int_t THaOdata::Fill ( Int_t  i,
Double_t  dat 
)
inline

Definition at line 37 of file THaOutput.h.

◆ Fill() [3/3]

Int_t THaOdata::Fill ( Int_t  n,
const Double_t array 
)
inline

Definition at line 43 of file THaOutput.h.

◆ Get()

Double_t THaOdata::Get ( Int_t  index = 0) const
inline

Definition at line 50 of file THaOutput.h.

◆ operator=()

THaOdata & THaOdata::operator= ( const THaOdata rhs)

Definition at line 129 of file THaOutput.cxx.

◆ Resize()

Bool_t THaOdata::Resize ( Int_t  i)

Definition at line 155 of file THaOutput.cxx.

Member Data Documentation

◆ data

Double_t* THaOdata::data

Definition at line 59 of file THaOutput.h.

◆ name

std::string THaOdata::name

Definition at line 56 of file THaOutput.h.

◆ ndata

Int_t THaOdata::ndata

Definition at line 57 of file THaOutput.h.

◆ nsize

Int_t THaOdata::nsize

Definition at line 58 of file THaOutput.h.

◆ tree

TTree* THaOdata::tree

Definition at line 55 of file THaOutput.h.

Collaboration diagram for THaOdata:

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