Hall C ROOT/C++ Analyzer (hcana)
THcTrigApp Class Reference

A mock spectrometer to hold all trigger related data.

This class behaves as a spectrometer apparatus, but it does not correspond to any physical spectrometer in the hall. Its purpose is to gather all the trigger related data.

Use only with THcTrigDet class.

Definition at line 14 of file THcTrigApp.h.

Public Member Functions

std::string GetKwPrefix ()
 Returns prefix used for parameters in param files. More...
virtual Int_t Reconstruct ()
 Does nothing and returns 0. More...
 THcTrigApp (const char *name, const char *description)
 A constructor. More...
virtual ~THcTrigApp ()
 A destructor. More...

Protected Member Functions

virtual Int_t DefineVariables (EMode mode=kDefine)
virtual Int_t ReadDatabase (const TDatime &date)
virtual Int_t ReadRunDatabase (const TDatime &date)

Protected Attributes

std::string fKwPrefix

Private Member Functions

 ClassDef (THcTrigApp, 0)
 THcTrigApp ()

#include <THcTrigApp.h>

Inheritance diagram for THcTrigApp:

Constructor & Destructor Documentation

THcTrigApp::THcTrigApp ( const char *  name,
const char *  description 

A constructor.

[in]nameName of the apparatus. Is typically "T".
[in]descriptionDescription of the apparatus.

Definition at line 57 of file THcTrigApp.cxx.

THcTrigApp::~THcTrigApp ( )

A destructor.

Definition at line 69 of file THcTrigApp.cxx.

THcTrigApp::THcTrigApp ( )

Definition at line 106 of file THcTrigApp.cxx.

Member Function Documentation

THcTrigApp::ClassDef ( THcTrigApp  ,
Int_t THcTrigApp::DefineVariables ( EMode  mode = kDefine)

Definition at line 93 of file THcTrigApp.cxx.

std::string THcTrigApp::GetKwPrefix ( )

Returns prefix used for parameters in param files.

All the parameters read by this apparatus are prefixed with the returned string.

Definition at line 78 of file THcTrigApp.cxx.

Int_t THcTrigApp::ReadDatabase ( const TDatime date)

Definition at line 88 of file THcTrigApp.cxx.

Int_t THcTrigApp::ReadRunDatabase ( const TDatime date)

Definition at line 83 of file THcTrigApp.cxx.

Int_t THcTrigApp::Reconstruct ( )

Does nothing and returns 0.

This function is usually responsible for reconstructing the event from the detectors in the spectrometer. Since this is a mock apparatus, we have a mock reconstruction.

Definition at line 72 of file THcTrigApp.cxx.

Member Data Documentation

std::string THcTrigApp::fKwPrefix

Definition at line 28 of file THcTrigApp.h.

Collaboration diagram for THcTrigApp:

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