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

Definition at line 70 of file THaOutput.h.

Classes

class  OutputExtras
 

Public Member Functions

virtual Int_t End ()
 
virtual TTreeGetTree () const
 
virtual Int_t Init (const char *filename="output.def")
 
virtual Int_t ProcEpics (THaEvData *ev, THaEpicsEvtHandler *han)
 
virtual Int_t Process ()
 
 THaOutput ()
 
virtual Bool_t TreeDefined () const
 
virtual ~THaOutput ()
 

Static Public Member Functions

static void SetVerbosity (Int_t level)
 

Protected Types

enum  EId {
  kVar = 1 , kForm , kCut , kH1f ,
  kH1d , kH2f , kH2d , kBlock ,
  kBegin , kEnd , kRate , kCount
}
 

Protected Member Functions

virtual Int_t Attach ()
 
virtual Int_t BuildBlock (const std::string &blockn)
 
void BuildList (const std::vector< std::string > &vdata)
 
virtual Int_t ChkHistTitle (Int_t key, const std::string &sline)
 
virtual void ErrFile (Int_t iden, const std::string &sline) const
 
virtual Int_t FindKey (const std::string &key) const
 
virtual Int_t LoadFile (const char *filename)
 
void Print () const
 
virtual std::string StripBracket (const std::string &var) const
 
std::string svPrefix (std::string &histype)
 

Static Protected Member Functions

static std::string CleanEpicsName (const std::string &var)
 
static std::vector< std::string > reQuote (const std::vector< std::string > &input)
 

Protected Attributes

std::vector< std::string > fArrayNames
 
std::vector< THaVar * > fArrays
 
std::vector< std::string > fCutdef
 
std::vector< std::string > fCutnames
 
std::vector< THaVform * > fCuts
 
std::vector< THaEpicsKey * > fEpicsKey
 
TTreefEpicsTree
 
Double_tfEpicsVar
 
TObjectfExtra
 
std::vector< std::string > fFormdef
 
std::vector< std::string > fFormnames
 
std::vector< THaVform * > fFormulas
 
std::vector< THaVhist * > fHistos
 
bool fInit
 
UInt_t fNvar
 
std::vector< THaOdata * > fOdata
 
TTreefTree
 
Double_tfVar
 
std::vector< THaVar * > fVariables
 
std::vector< std::string > fVarnames
 
std::vector< std::string > fVNames
 

Static Protected Attributes

static const Int_t fgNocut = -1
 
static Int_t fgVerbose = 1
 
static const Int_t kNbout = 4000
 

Private Member Functions

THaOutputoperator= (const THaOutput &)
 
 THaOutput (const THaOutput &)
 

Private Attributes

THaEvtTypeHandlerfEpicsHandler
 
Bool_t fFirstEpics
 
Bool_t fIsScalar
 
Bool_t fOpenEpics
 
Int_t iscut
 
Int_t nx
 
Int_t ny
 
std::string scut
 
std::string sfvarx
 
std::string sfvary
 
std::string stitle
 
Float_t xhi
 
Float_t xlo
 
Float_t yhi
 
Float_t ylo
 

#include <THaOutput.h>

Member Enumeration Documentation

◆ EId

enum THaOutput::EId
protected
Enumerator
kVar 
kForm 
kCut 
kH1f 
kH1d 
kH2f 
kH2d 
kBlock 
kBegin 
kEnd 
kRate 
kCount 

Definition at line 115 of file THaOutput.h.

Constructor & Destructor Documentation

◆ THaOutput() [1/2]

THaOutput::THaOutput ( )

Definition at line 171 of file THaOutput.cxx.

◆ ~THaOutput()

THaOutput::~THaOutput ( )
virtual

Definition at line 182 of file THaOutput.cxx.

◆ THaOutput() [2/2]

THaOutput::THaOutput ( const THaOutput )
private

Member Function Documentation

◆ Attach()

Int_t THaOutput::Attach ( )
protectedvirtual

Definition at line 436 of file THaOutput.cxx.

◆ BuildBlock()

Int_t THaOutput::BuildBlock ( const std::string &  blockn)
protectedvirtual

Definition at line 1123 of file THaOutput.cxx.

◆ BuildList()

void THaOutput::BuildList ( const std::vector< std::string > &  vdata)
protected

Definition at line 400 of file THaOutput.cxx.

◆ ChkHistTitle()

Int_t THaOutput::ChkHistTitle ( Int_t  key,
const std::string &  sline 
)
protectedvirtual

Definition at line 1072 of file THaOutput.cxx.

◆ CleanEpicsName()

string THaOutput::CleanEpicsName ( const std::string &  var)
staticprotected

Definition at line 917 of file THaOutput.cxx.

◆ End()

Int_t THaOutput::End ( )
virtual

Definition at line 604 of file THaOutput.cxx.

◆ ErrFile()

void THaOutput::ErrFile ( Int_t  iden,
const std::string &  sline 
) const
protectedvirtual

Definition at line 944 of file THaOutput.cxx.

◆ FindKey()

Int_t THaOutput::FindKey ( const std::string &  key) const
protectedvirtual

Definition at line 812 of file THaOutput.cxx.

◆ GetTree()

virtual TTree * THaOutput::GetTree ( ) const
inlinevirtual

Definition at line 82 of file THaOutput.h.

◆ Init()

Int_t THaOutput::Init ( const char *  filename = "output.def")
virtual

Definition at line 207 of file THaOutput.cxx.

◆ LoadFile()

Int_t THaOutput::LoadFile ( const char *  filename)
protectedvirtual

Definition at line 630 of file THaOutput.cxx.

◆ operator=()

THaOutput & THaOutput::operator= ( const THaOutput )
private

◆ Print()

void THaOutput::Print ( ) const
protected

Definition at line 1001 of file THaOutput.cxx.

◆ ProcEpics()

Int_t THaOutput::ProcEpics ( THaEvData ev,
THaEpicsEvtHandler han 
)
virtual

Definition at line 505 of file THaOutput.cxx.

◆ Process()

Int_t THaOutput::Process ( )
virtual

Definition at line 542 of file THaOutput.cxx.

◆ reQuote()

vector< string > THaOutput::reQuote ( const std::vector< std::string > &  input)
staticprotected

Definition at line 867 of file THaOutput.cxx.

◆ SetVerbosity()

void THaOutput::SetVerbosity ( Int_t  level)
static

Definition at line 1152 of file THaOutput.cxx.

◆ StripBracket()

string THaOutput::StripBracket ( const std::string &  var) const
protectedvirtual

Definition at line 844 of file THaOutput.cxx.

◆ svPrefix()

string THaOutput::svPrefix ( std::string &  histype)
protected

Definition at line 782 of file THaOutput.cxx.

◆ TreeDefined()

virtual Bool_t THaOutput::TreeDefined ( ) const
inlinevirtual

Definition at line 81 of file THaOutput.h.

Member Data Documentation

◆ fArrayNames

std::vector<std::string> THaOutput::fArrayNames
protected

Definition at line 106 of file THaOutput.h.

◆ fArrays

std::vector<THaVar* > THaOutput::fArrays
protected

Definition at line 107 of file THaOutput.h.

◆ fCutdef

std::vector<std::string> THaOutput::fCutdef
protected

Definition at line 105 of file THaOutput.h.

◆ fCutnames

std::vector<std::string> THaOutput::fCutnames
protected

Definition at line 105 of file THaOutput.h.

◆ fCuts

std::vector<THaVform* > THaOutput::fCuts
protected

Definition at line 108 of file THaOutput.h.

◆ fEpicsHandler

THaEvtTypeHandler* THaOutput::fEpicsHandler
private

Definition at line 139 of file THaOutput.h.

◆ fEpicsKey

std::vector<THaEpicsKey*> THaOutput::fEpicsKey
protected

Definition at line 111 of file THaOutput.h.

◆ fEpicsTree

TTree * THaOutput::fEpicsTree
protected

Definition at line 112 of file THaOutput.h.

◆ fEpicsVar

Double_t * THaOutput::fEpicsVar
protected

Definition at line 102 of file THaOutput.h.

◆ fExtra

TObject* THaOutput::fExtra
protected

Definition at line 121 of file THaOutput.h.

◆ fFirstEpics

Bool_t THaOutput::fFirstEpics
private

Definition at line 143 of file THaOutput.h.

◆ fFormdef

std::vector<std::string> THaOutput::fFormdef
protected

Definition at line 104 of file THaOutput.h.

◆ fFormnames

std::vector<std::string> THaOutput::fFormnames
protected

Definition at line 104 of file THaOutput.h.

◆ fFormulas

std::vector<THaVform* > THaOutput::fFormulas
protected

Definition at line 108 of file THaOutput.h.

◆ fgNocut

const Int_t THaOutput::fgNocut = -1
staticprotected

Definition at line 118 of file THaOutput.h.

◆ fgVerbose

Int_t THaOutput::fgVerbose = 1
staticprotected

Definition at line 120 of file THaOutput.h.

◆ fHistos

std::vector<THaVhist* > THaOutput::fHistos
protected

Definition at line 109 of file THaOutput.h.

◆ fInit

bool THaOutput::fInit
protected

Definition at line 113 of file THaOutput.h.

◆ fIsScalar

Bool_t THaOutput::fIsScalar
private

Definition at line 143 of file THaOutput.h.

◆ fNvar

UInt_t THaOutput::fNvar
protected

Definition at line 101 of file THaOutput.h.

◆ fOdata

std::vector<THaOdata* > THaOutput::fOdata
protected

Definition at line 110 of file THaOutput.h.

◆ fOpenEpics

Bool_t THaOutput::fOpenEpics
private

Definition at line 143 of file THaOutput.h.

◆ fTree

TTree* THaOutput::fTree
protected

Definition at line 112 of file THaOutput.h.

◆ fVar

Double_t* THaOutput::fVar
protected

Definition at line 102 of file THaOutput.h.

◆ fVariables

std::vector<THaVar* > THaOutput::fVariables
protected

Definition at line 107 of file THaOutput.h.

◆ fVarnames

std::vector<std::string> THaOutput::fVarnames
protected

Definition at line 103 of file THaOutput.h.

◆ fVNames

std::vector<std::string> THaOutput::fVNames
protected

Definition at line 106 of file THaOutput.h.

◆ iscut

Int_t THaOutput::iscut
private

Definition at line 141 of file THaOutput.h.

◆ kNbout

const Int_t THaOutput::kNbout = 4000
staticprotected

Definition at line 117 of file THaOutput.h.

◆ nx

Int_t THaOutput::nx
private

Definition at line 141 of file THaOutput.h.

◆ ny

Int_t THaOutput::ny
private

Definition at line 141 of file THaOutput.h.

◆ scut

std::string THaOutput::scut
private

Definition at line 137 of file THaOutput.h.

◆ sfvarx

std::string THaOutput::sfvarx
private

Definition at line 137 of file THaOutput.h.

◆ sfvary

std::string THaOutput::sfvary
private

Definition at line 137 of file THaOutput.h.

◆ stitle

std::string THaOutput::stitle
private

Definition at line 137 of file THaOutput.h.

◆ xhi

Float_t THaOutput::xhi
private

Definition at line 142 of file THaOutput.h.

◆ xlo

Float_t THaOutput::xlo
private

Definition at line 142 of file THaOutput.h.

◆ yhi

Float_t THaOutput::yhi
private

Definition at line 142 of file THaOutput.h.

◆ ylo

Float_t THaOutput::ylo
private

Definition at line 142 of file THaOutput.h.

Collaboration diagram for THaOutput:

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