Hall C ROOT/C++ Analyzer (hcana)
|
Analyze Hall C Configuration events. (Event type 125).
Hall C Configuration events contain information such as FADC250 thresholds, mode settings, window settings, pulse mode settings, etc. or CAEN1190 window and resolution settings.
To analyze these events, add
gHaEvtHandlers->Add (new THcConfigEvtHandler("hallcpre","for evtype 125"));
to the analysis script. The first argument ("hallcpre") is an arbitrary name that will be used to construct THcParmList type parameters with names of the form ghallcpre_*. These parameters hold the configuration information that is found in the events.
All the configuation data can also be printed out with the PrintConfig method
Definition at line 18 of file THcConfigEvtHandler.h.
Classes | |
struct | CrateInfo_t |
Public Member Functions | |
virtual void | AddEventType (Int_t evtype) |
virtual Int_t | Analyze (THaEvData *evdata) |
virtual Int_t | GetNPED (Int_t crate) |
virtual Int_t | GetNSA (Int_t crate) |
virtual Int_t | GetNSB (Int_t crate) |
virtual EStatus | Init (const TDatime &run_time) |
virtual Int_t | IsPresent (Int_t crate) |
virtual void | MakeParms (Int_t roc) |
virtual void | PrintConfig () |
THcConfigEvtHandler (const char *name, const char *description) | |
virtual | ~THcConfigEvtHandler () |
Private Member Functions | |
void | DeleteCrateInfoMap () |
THcConfigEvtHandler & | operator= (const THcConfigEvtHandler &fh) |
THcConfigEvtHandler (const THcConfigEvtHandler &fh) | |
Private Attributes | |
std::map< Int_t, CrateInfo_t * > | CrateInfoMap |
#include <THcConfigEvtHandler.h>
THcConfigEvtHandler::THcConfigEvtHandler | ( | const char * | name, |
const char * | description | ||
) |
Definition at line 37 of file THcConfigEvtHandler.cxx.
|
virtual |
Definition at line 42 of file THcConfigEvtHandler.cxx.
|
private |
Definition at line 373 of file THcConfigEvtHandler.cxx.
Definition at line 78 of file THcConfigEvtHandler.cxx.
|
private |
Definition at line 57 of file THcConfigEvtHandler.cxx.
Definition at line 366 of file THcConfigEvtHandler.cxx.
Definition at line 352 of file THcConfigEvtHandler.cxx.
Definition at line 359 of file THcConfigEvtHandler.cxx.
|
virtual |
Definition at line 378 of file THcConfigEvtHandler.cxx.
Definition at line 345 of file THcConfigEvtHandler.cxx.
Add parameters to gHcParms for this roc
Definition at line 196 of file THcConfigEvtHandler.cxx.
|
private |
|
virtual |
Stub of method to pretty print the config data
Definition at line 286 of file THcConfigEvtHandler.cxx.
|
private |
Definition at line 73 of file THcConfigEvtHandler.h.