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

Definition at line 22 of file THaVhist.h.

Public Member Functions

Int_t CheckCut (Int_t index=0)
 
void CheckValidity ()
 
Int_t End ()
 
void ErrPrint () const
 
const string & GetCutStr () const
 
Int_t GetSize () const
 
const string & GetVarX () const
 
const string & GetVarY () const
 
Bool_t HasCut () const
 
Int_t Init ()
 
Bool_t IsScalar () const
 
Bool_t IsValid () const
 
void Print () const
 
Int_t Process ()
 
void ReAttach ()
 
void SetCut (const string &cut)
 
void SetCut (THaVform *cut)
 
void SetScalarTrue ()
 
void SetX (Int_t nbinx, Double_t xlo, Double_t xhi, const string &varx)
 
void SetX (THaVform *varx)
 
void SetY (Int_t nbiny, Double_t ylo, Double_t yhi, const string &vary)
 
void SetY (THaVform *vary)
 
 THaVhist (string type, string name, string title)
 
virtual ~THaVhist ()
 

Protected Types

enum  FEr {
  kOK = 0 , kNoBinX , kIllFox , kIllFoy ,
  kIllCut , kNoX , kAxiSiz , kCutSix ,
  kCutSiy , kUnk
}
 

Protected Member Functions

Int_t BookHisto (Int_t hfirst, Int_t hlast)
 
Bool_t FindEye (const string &var)
 
Bool_t FindEyeOffset (const string &var)
 
Int_t FindVarSize ()
 

Protected Attributes

THaVformfCut
 
Int_t fDebug
 
Int_t fEye
 
Int_t fEyeOffset
 
Bool_t fFirst
 
THaVformfFormX
 
THaVformfFormY
 
std::vector< TH1 * > fH1
 
Int_t fInitStat
 
Bool_t fMyCut
 
Bool_t fMyFormX
 
Bool_t fMyFormY
 
string fName
 
Int_t fNbinX
 
Int_t fNbinY
 
Bool_t fProc
 
Int_t fScalar
 
string fScut
 
Int_t fSize
 
string fTitle
 
string fType
 
string fVarX
 
string fVarY
 
Double_t fXhi
 
Double_t fXlo
 
Double_t fYhi
 
Double_t fYlo
 

Static Protected Attributes

static const int fgVERBOSE = 1
 
static const int fgVHIST_HUGE = 10000
 

Private Member Functions

THaVhistoperator= (const THaVhist &vhist)
 
 THaVhist (const THaVhist &vhist)
 

#include <THaVhist.h>

Member Enumeration Documentation

◆ FEr

enum THaVhist::FEr
protected
Enumerator
kOK 
kNoBinX 
kIllFox 
kIllFoy 
kIllCut 
kNoX 
kAxiSiz 
kCutSix 
kCutSiy 
kUnk 

Definition at line 70 of file THaVhist.h.

Constructor & Destructor Documentation

◆ THaVhist() [1/2]

THaVhist::THaVhist ( string  type,
string  name,
string  title 
)

Definition at line 43 of file THaVhist.cxx.

◆ ~THaVhist()

THaVhist::~THaVhist ( )
virtual

Definition at line 54 of file THaVhist.cxx.

◆ THaVhist() [2/2]

THaVhist::THaVhist ( const THaVhist vhist)
private

Member Function Documentation

◆ BookHisto()

Int_t THaVhist::BookHisto ( Int_t  hfirst,
Int_t  hlast 
)
protected

Definition at line 371 of file THaVhist.cxx.

◆ CheckCut()

Int_t THaVhist::CheckCut ( Int_t  index = 0)
inline

Definition at line 146 of file THaVhist.h.

◆ CheckValidity()

void THaVhist::CheckValidity ( )

Definition at line 65 of file THaVhist.cxx.

◆ End()

Int_t THaVhist::End ( )

Definition at line 540 of file THaVhist.cxx.

◆ ErrPrint()

void THaVhist::ErrPrint ( ) const

Definition at line 548 of file THaVhist.cxx.

◆ FindEye()

Bool_t THaVhist::FindEye ( const string &  var)
protected

Definition at line 213 of file THaVhist.cxx.

◆ FindEyeOffset()

Bool_t THaVhist::FindEyeOffset ( const string &  var)
protected

Definition at line 235 of file THaVhist.cxx.

◆ FindVarSize()

Int_t THaVhist::FindVarSize ( )
protected

Definition at line 267 of file THaVhist.cxx.

◆ GetCutStr()

const string & THaVhist::GetCutStr ( ) const
inline

Definition at line 39 of file THaVhist.h.

◆ GetSize()

Int_t THaVhist::GetSize ( ) const
inline

Definition at line 59 of file THaVhist.h.

◆ GetVarX()

const string & THaVhist::GetVarX ( ) const
inline

Definition at line 37 of file THaVhist.h.

◆ GetVarY()

const string & THaVhist::GetVarY ( ) const
inline

Definition at line 38 of file THaVhist.h.

◆ HasCut()

Bool_t THaVhist::HasCut ( ) const
inline

Definition at line 41 of file THaVhist.h.

◆ Init()

Int_t THaVhist::Init ( )

Definition at line 86 of file THaVhist.cxx.

◆ IsScalar()

Bool_t THaVhist::IsScalar ( ) const
inline

Definition at line 58 of file THaVhist.h.

◆ IsValid()

Bool_t THaVhist::IsValid ( ) const
inline

Definition at line 42 of file THaVhist.h.

◆ operator=()

THaVhist & THaVhist::operator= ( const THaVhist vhist)
private

◆ Print()

void THaVhist::Print ( ) const

Definition at line 599 of file THaVhist.cxx.

◆ Process()

Int_t THaVhist::Process ( )

Definition at line 430 of file THaVhist.cxx.

◆ ReAttach()

void THaVhist::ReAttach ( )

Definition at line 204 of file THaVhist.cxx.

◆ SetCut() [1/2]

void THaVhist::SetCut ( const string &  cut)
inline

Definition at line 131 of file THaVhist.h.

◆ SetCut() [2/2]

void THaVhist::SetCut ( THaVform cut)
inline

Definition at line 138 of file THaVhist.h.

◆ SetScalarTrue()

void THaVhist::SetScalarTrue ( )
inline

Definition at line 36 of file THaVhist.h.

◆ SetX() [1/2]

void THaVhist::SetX ( Int_t  nbinx,
Double_t  xlo,
Double_t  xhi,
const string &  varx 
)
inline

Definition at line 97 of file THaVhist.h.

◆ SetX() [2/2]

void THaVhist::SetX ( THaVform varx)
inline

Definition at line 105 of file THaVhist.h.

◆ SetY() [1/2]

void THaVhist::SetY ( Int_t  nbiny,
Double_t  ylo,
Double_t  yhi,
const string &  vary 
)
inline

Definition at line 114 of file THaVhist.h.

◆ SetY() [2/2]

void THaVhist::SetY ( THaVform vary)
inline

Definition at line 122 of file THaVhist.h.

Member Data Documentation

◆ fCut

THaVform * THaVhist::fCut
protected

Definition at line 83 of file THaVhist.h.

◆ fDebug

Int_t THaVhist::fDebug
protected

Definition at line 85 of file THaVhist.h.

◆ fEye

Int_t THaVhist::fEye
protected

Definition at line 78 of file THaVhist.h.

◆ fEyeOffset

Int_t THaVhist::fEyeOffset
protected

Definition at line 78 of file THaVhist.h.

◆ fFirst

Bool_t THaVhist::fFirst
protected

Definition at line 80 of file THaVhist.h.

◆ fFormX

THaVform* THaVhist::fFormX
protected

Definition at line 83 of file THaVhist.h.

◆ fFormY

THaVform * THaVhist::fFormY
protected

Definition at line 83 of file THaVhist.h.

◆ fgVERBOSE

const int THaVhist::fgVERBOSE = 1
staticprotected

Definition at line 74 of file THaVhist.h.

◆ fgVHIST_HUGE

const int THaVhist::fgVHIST_HUGE = 10000
staticprotected

Definition at line 75 of file THaVhist.h.

◆ fH1

std::vector<TH1* > THaVhist::fH1
protected

Definition at line 82 of file THaVhist.h.

◆ fInitStat

Int_t THaVhist::fInitStat
protected

Definition at line 78 of file THaVhist.h.

◆ fMyCut

Bool_t THaVhist::fMyCut
protected

Definition at line 84 of file THaVhist.h.

◆ fMyFormX

Bool_t THaVhist::fMyFormX
protected

Definition at line 84 of file THaVhist.h.

◆ fMyFormY

Bool_t THaVhist::fMyFormY
protected

Definition at line 84 of file THaVhist.h.

◆ fName

string THaVhist::fName
protected

Definition at line 77 of file THaVhist.h.

◆ fNbinX

Int_t THaVhist::fNbinX
protected

Definition at line 78 of file THaVhist.h.

◆ fNbinY

Int_t THaVhist::fNbinY
protected

Definition at line 78 of file THaVhist.h.

◆ fProc

Bool_t THaVhist::fProc
protected

Definition at line 80 of file THaVhist.h.

◆ fScalar

Int_t THaVhist::fScalar
protected

Definition at line 78 of file THaVhist.h.

◆ fScut

string THaVhist::fScut
protected

Definition at line 77 of file THaVhist.h.

◆ fSize

Int_t THaVhist::fSize
protected

Definition at line 78 of file THaVhist.h.

◆ fTitle

string THaVhist::fTitle
protected

Definition at line 77 of file THaVhist.h.

◆ fType

string THaVhist::fType
protected

Definition at line 77 of file THaVhist.h.

◆ fVarX

string THaVhist::fVarX
protected

Definition at line 77 of file THaVhist.h.

◆ fVarY

string THaVhist::fVarY
protected

Definition at line 77 of file THaVhist.h.

◆ fXhi

Double_t THaVhist::fXhi
protected

Definition at line 79 of file THaVhist.h.

◆ fXlo

Double_t THaVhist::fXlo
protected

Definition at line 79 of file THaVhist.h.

◆ fYhi

Double_t THaVhist::fYhi
protected

Definition at line 79 of file THaVhist.h.

◆ fYlo

Double_t THaVhist::fYlo
protected

Definition at line 79 of file THaVhist.h.

Collaboration diagram for THaVhist:

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