#include "hhypbasealgorithm.h" |
HHypBaseAlgorithm
class description - source file - inheritance tree (.pdf)
public:
HHypBaseAlgorithm(char* name_i = "0", Option_t* par = "0")
HHypBaseAlgorithm(const HHypBaseAlgorithm&)
virtual ~HHypBaseAlgorithm()
Bool_t base_execute()
Bool_t base_finalize()
Bool_t base_init()
Bool_t base_reinit()
static TClass* Class()
virtual Bool_t execute()
virtual Bool_t finalize()
Int_t GetExitChannelAlgIdx()
TFile* GetHFile()
HHypList* GetList()
Char_t* GetName()
TString* GetOpt(TString st)
Int_t GetSourceChannelAlgIdx()
virtual Bool_t init()
virtual TClass* IsA() const
HHypBaseAlgorithm& operator=(const HHypBaseAlgorithm&)
virtual Bool_t reinit()
void SetBeam(TLorentzVector* mybeam)
Bool_t SetExitChannelAlgIdx(Int_t e_id)
Bool_t SetExitList(Int_t e_list)
void SetHFile(TFile* file)
void SetHypChannel(HHypChannel* mychannel)
Bool_t SetInitList(Int_t i_list)
void SetParams(HHypRecPar* Params)
Bool_t SetSourceChannelAlgIdx(Int_t i_id)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Int_t sourceIdx The index number of the source hyplist object
Int_t exitIdx The index number of the hyplist object created in base_execute
Int_t exitList The physical exit list (see HHypChannel)
Int_t initList My physical init list
char* algoName ! Name of the algorithm (for printout, debugging...)
HHypList* mylist Pointer to the exitList (which THIS algorith may modify)
HHypRecPar* pParams pointer to container with params
TLorentzVector* beam ! Pointer to the total CM energy for missing mass calculations
HHypChannel* channel ! Pointer to the official channel list
TString s ! Option list
TFile* histofile ! Store optional information in this file
public:
Bool_t skip
HHypBaseAlgorithm
This is an abstract base class for all the algorithms which
are used in the HYP project. It privides some basic
data members, common functions and the standard methods
init, reinit, execute and finalize.
In addition, base_init, base_reinit, base_execute and base_finalize
are provided which should be called by the HHypReconstructor for
common features.
HHypBaseAlgorithm(char *name_i, Option_t par[])
Constructor
===========
Input parameters:
name_i: Pointer to the algorithm name
par: Option, which can be parsed by the implementation
~HHypBaseAlgorithm()
TString* GetOpt(TString st)
scan option list
try to extract option paramter
returns NULL if option was not set
HHypList* GetList(void)
Return the result HHypList of the specific algorithm
Bool_t SetSourceChannelAlgIdx(Int_t i_id)
Bool_t SetExitChannelAlgIdx(Int_t e_id)
Bool_t SetExitList(Int_t e_list)
Bool_t SetInitList(Int_t i_list)
Int_t GetSourceChannelAlgIdx()
Int_t GetExitChannelAlgIdx()
Char_t* GetName()
Bool_t base_execute()
base_execute should be executed by the reconstructor
BEFORE execute is called
In the case, when:
1. the algorithm is based on another algorithm AND
2. it should have an exit object
the exit object HHypList is created
Return code: kFALSE or kTRUE
Bool_t base_init()
Bool_t base_reinit()
Bool_t base_finalize()
Bool_t init()
Bool_t reinit()
Bool_t execute()
Bool_t finalize()
Inline Functions
void SetBeam(TLorentzVector* mybeam)
void SetHypChannel(HHypChannel* mychannel)
void SetParams(HHypRecPar* Params)
void SetHFile(TFile* file)
TFile* GetHFile()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HHypBaseAlgorithm HHypBaseAlgorithm(const HHypBaseAlgorithm&)
HHypBaseAlgorithm& operator=(const HHypBaseAlgorithm&)
Last update: 20/04/2005 by I. Froehlich
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.