Hall C ROOT/C++ Analyzer (hcana)
|
Hall C analyzer class.
Adds the following to the Hall A analyzer base class.
Definition at line 12 of file THcAnalyzer.h.
Public Member Functions | |
void | PrintReport (const char *templatefile, const char *ofile) |
void | SetPedestalEvtype (Int_t evtype) |
THcAnalyzer () | |
virtual | ~THcAnalyzer () |
Protected Attributes | |
Int_t | fPedestalEvtype |
Private Member Functions | |
void | LoadInfo () |
#include <THcAnalyzer.h>
THcAnalyzer::THcAnalyzer | ( | ) |
Definition at line 40 of file THcAnalyzer.cxx.
|
virtual |
Definition at line 46 of file THcAnalyzer.cxx.
|
private |
Create several THcParms variables in gHcParms containing run information such as
gen_run_number
- Current run gen_run_starting_event
- Id of first event analyzed gen_event_id_number
- Id of last event analyzed
Definition at line 134 of file THcAnalyzer.cxx.
void THcAnalyzer::PrintReport | ( | const char * | templatefile, |
const char * | ofile | ||
) |
Generate "reports" such as end of run scaler/efficiency sheets Reads a template file, copying that file to the output, replacing variables and expressions inside of braces ({}) with evaluated values. Similar but not identical to ENGINE/CTP report templates.
Definition at line 53 of file THcAnalyzer.cxx.
Definition at line 19 of file THcAnalyzer.h.
|
protected |
Definition at line 25 of file THcAnalyzer.h.