GET library
|
#include <GETActarEventReader.hh>
Public Member Functions | |
Constructor and destructor | |
GETActarEventReader (bool construct=true) | |
virtual | ~GETActarEventReader () |
Read of event files functions | |
virtual int | Open () |
virtual bool | IsOpen () |
virtual int | Close () |
virtual int | RunInit () |
virtual int | RunStart () |
virtual int | RunStop () |
virtual int | FileOpen () |
virtual void | FileClose () |
virtual void | ResetFileList () |
virtual void | Reset () |
virtual void | Quit () |
virtual bool | RunChanged () const |
virtual int | CreateEvent () |
virtual int | ReadEvent () |
Graphical user interface modifications | |
virtual void | Construct () |
virtual void | SetColorMode () |
virtual void | UpdateDisplay () |
virtual int | HistoEventSlot (Int_t event, const GEVPage *page_ptr, const GEVPad *pad_ptr, const TH1 *histo_ptr, const Double_t x, const Double_t y) |
virtual int | HistoClickedSlot (const GEVPage *page_ptr, const GEVPad *pad_ptr, const TH1 *histo_ptr, const Double_t x, const Double_t y) |
virtual void | PadPlaneButton1Click (const TH2 *hpad, int ix, int iy) |
virtual void | PadPlaneButton1DoubleClick (const TH2 *hpad, int ix, int iy) |
virtual void | PadPlaneButton2Click (const TH2 *hpad, int ix, int iy) |
virtual void | PadPlaneButton2DoubleClick (const TH2 *hpad, int ix, int iy) |
Analysis configuration function | |
virtual int | ProcessCmdLine (int &argc, char **argv, bool supp=true) |
virtual void | ProcessLineHelp () const |
virtual void | SetDefaultAnalysis (const string &ana) |
virtual void | SetLookupTable (const string <file) |
virtual void | ReadInitConfig () |
virtual void | ReadRunConfig () |
virtual int | ReadConfigFile (const string &cfg) |
virtual int | ReadConfigFile (FILE *fp) |
virtual bool | ConfigCommand (const GString &code, const GString &args="", FILE *fptr=NULL) |
virtual bool | ConfigCommandLine (const string &cmd, FILE *fptr=NULL) |
virtual void | GETInit () |
virtual GETActarTpcAnalyser * | DefineAnalyser () |
virtual void | SetGETInitConfigFile (const string &cfg) |
virtual void | SetGETRunConfigFile (const string &cfg) |
Analysis definition | |
string | GetCoBoId (int i) const |
string | GetAsAdId (int i) const |
string | GetAGetId (int i) const |
string | GetChannelId (int i) const |
string | GetIndexId (int i) const |
string | GetPadId (int ix, int iy) const |
string | GetElecId (int i) const |
string | GetElecId (int co, int as, int ag, int ch) const |
virtual void | PresetChannelParam (const string &def, bool hdef=false) |
virtual void | PresetChannelParam (int cobo, int asad, int aget, int chan, bool hdef=false) |
virtual void | PresetChannelParam (int ich0=0, int ich1=-1, bool hdef=false) |
virtual void | PresetPadParam (const string &def, bool hdef=false) |
virtual void | PresetPadParam (int ix0, int ix1, int iy0, int iy1, bool hdef=false) |
virtual int | DefinePadSpectrum (int ix, int iy, bool fill=false) |
virtual int | DefineElecSpectrum (u_int cobo, u_int asad, u_int aget, u_int chan, bool fill=false) |
virtual int | DefineChannelSpectrum (int ich, bool fill=false) |
virtual int | DefineChannelSpectrum (int ich, const string &name, bool fill=false) |
virtual void | PresetAgetPage (const string &def) |
virtual void | PresetAgetPage (int cobo, int asad, int aget) |
virtual void | PresetAnalysis () |
virtual void | PresetSystemAnalysis () |
virtual void | PresetLoadedAnalysis () |
virtual void | AnalysisStart () |
virtual void | AnalysisStop () |
virtual void | AnalysisEvent () |
virtual void | IncrementSpectra () const |
Selected events output files | |
virtual bool | SetSelectedEventsFilter (const string &filter, const string &dir, u_int nmax=0) |
virtual int | OpenSelectedEventsFile (u_int nf) |
virtual int | CloseSelectedEventsFile (u_int nf) |
virtual int | CloseSelectedEventsFiles () |
virtual int | WriteSelectedEvent () |
Standard user hooks function | |
virtual int | UserEventDefine () |
virtual int | UserRunStart () |
virtual int | UserNewFile () |
virtual int | UserEvent () |
virtual int | UserUpdate () |
virtual int | UserRefresh () |
virtual int | UserRunStop () |
virtual int | UserReset () |
virtual int | UserQuit () |
virtual int | UserFit () |
User hooks function from GETActarTpc class | |
virtual int | UserRawEvent () |
virtual int | UserCorEvent () |
ROOT related function | |
ClassDef (GETActarEventReader, 0) | |
![]() | |
GETActarTpc (u_int nx=0, u_int ny=0, u_int dim=0, double dt=0.01L) | |
virtual | ~GETActarTpc () |
virtual int | Init (u_int nx, u_int ny, u_int n, double dt) |
virtual GETHitMask * | SetHitMask (GETHitMaskXY *mask) |
const GETHitMaskXY * | GetPadMask () const |
GETHitMaskXY * | GetPadMask () |
virtual int | ExtractCoboFrame () |
virtual GETChannel * | GetMaxSignalChannel (int *ipx=NULL, int *ipy=NULL, int *ipt=NULL) |
virtual int | GetSignalBoundaries (int &ixmin, int &ixmax, int &iymin, int &iymax, int &itmin, int &itmax) |
virtual int | GetSignalBoundaries (int &ixmin, int &ixmax, int &iymin, int &iymax) |
virtual int | GetSignalBoundaries (double &xmin, double &xmax, double &ymin, double &ymax, double &tmin, double &tmax) |
virtual int | GetSignalBoundaries (double &xmin, double &xmax, double &ymin, double &ymax) |
ClassDef (GETActarTpc, 0) | |
![]() | |
GETSystem (u_int n_cobo=1, u_int dim=0, double dt=0.01L) | |
virtual | ~GETSystem () |
virtual int | ResetConfig () |
virtual int | InitConfig () |
const GETCfgSetup * | GetConfig () const |
GETCfgSetup * | GetConfig () |
virtual int | ReadXMLConfig (const string &fname) |
virtual int | Init (u_int n_cobo, u_int n, double dt) |
virtual void | ClearEvent () |
u_int | GetBadReadCount () const |
const GETData * | GetBadReadData () const |
GETData * | GetBadReadData () |
void | SetBadDataCorrection (bool b) |
bool | ChannelHasData (u_int ic) const |
u_int | CalcMultiplicity (bool fpn=true) |
u_int | GetChannelMultiplicity () const |
u_int | GetAGetMultiplicity () const |
u_int | GetAsAdMultiplicity () const |
u_int | GetCoBoMultiplicity () const |
virtual string | GetObjectId () const |
virtual u_int | GetChildrenNumber () const |
virtual const GETObject * | GetChild (u_int i) const |
virtual GETObject * | GetChild (u_int i) |
const GETCoBo & | operator[] (u_int n) const |
GETCoBo & | operator[] (u_int n) |
virtual u_int | GetCoBoNumber () const |
virtual u_int | GetAsAdNumber () const |
virtual int | GetChannelIndex (const GETChannel *ch) |
const GETLookupTable & | LookupTable () const |
GETLookupTable & | LookupTable () |
virtual u_int | GetChannelCount () const |
virtual int | GetChannelIndex (int ix, int iy) const |
virtual GETChannel * | GetChannel (int ix, int iy) const |
virtual GETChannel * | GetChannel (u_int n) |
virtual int | GetTestChannelIndex () |
virtual GETChannel * | GetTestChannel () |
virtual GETChannel * | SetTestChannel (int i) |
virtual GETHitMask * | SetHitMask (GETHitMask *mask) |
GETHitMask * | GetHitMask () const |
virtual int | SetAnalyser (GETSystemAnalyser *a) |
GETSystemAnalyser * | GetAnalyser () const |
virtual int | SetCalibProcess (const string &calib_file, u_short opt=0) |
virtual int | SetBaselineCorrection (const string &bl_file) |
virtual int | SetTimeCorrectionProcess (const string &shift_file) |
virtual int | SetOutputSmoothing (double width) |
virtual int | SetAutoBaseline (u_short num_lo, u_short num_hi, u_short off_lo=0, u_short off_hi=0) |
virtual int | SetAutoBLoffset (u_short itmin, u_short itmax) |
virtual int | SetResponseFunctions (const string &rf_file) |
virtual int | SetAsAdResponseFunctions (const string &rf_file) |
virtual int | OpenRunFile (const string &fname) |
virtual int | OpenRunSerie (const string &pattern, const string &serie) |
virtual int | CloseRunFile () |
void | IncrEventCount () |
u_int | GetEventCount () const |
string | GetRunFileName () const |
bool | IsRunFileOpen () const |
GETRunFile * | GetRunFile () |
MFMCommonFrame * | GetCurrentMFMFrame () |
int | GetAcqEventNumber () const |
uint64_t | GetAcqEventTimeStamp () const |
double | GetAcqEventTimeSec () const |
virtual void | SelectAnalysis (u_short sel) |
virtual void | SetAnalysis (u_short sel, bool b=true) |
virtual void | SetInputRecAnalysis (bool b=true) |
virtual void | SetRawDataAnalysis (bool b=true) |
virtual void | SetCorDataAnalysis (bool b=true) |
u_short | GetAnalysisFlags () const |
bool | AnalyseInputRec () const |
bool | AnalyseRawData () const |
bool | AnalyseCorData () const |
virtual int | AnalyseEvent () |
virtual int | AnalyseRawEvent () |
virtual int | AnalyseCorEvent () |
virtual bool | AnalysingRaw () const |
virtual bool | AnalysingCor () const |
virtual int | ExtractXMLFileHeaderFrame () |
virtual int | ExtractCoboTopoFrame () |
virtual int | ExtractEbyedatFrame () |
virtual int | ExtractMergeFrame () |
virtual int | ProcessFrameData (MFMCommonFrame *frame) |
virtual int | ProcessEbyedatFrameData (MFMEbyedatFrame *frame) |
virtual int | ProcessMergeFrameData (MFMMergeFrame *frame) |
virtual int | ProcessCoBoFrameData (MFMCoboFrame *frame) |
u_int | GetCoBoFrameRead () const |
u_int | GetCoBoFrameError () const |
u_int | GetCoBoFrameRecover () const |
virtual void | ClearCoBoDataRead () |
virtual int | CheckCoBoData (u_int cobo, u_int asad, u_int &aget, u_int &chan, u_int &buck, u_int val) |
virtual u_int | CheckCoBoFrameBadChannels (int ico, int ias) |
virtual u_int | CorrectCoBoFrameBadData (int ico, int ias) |
virtual GETChannel * | GetMaximumChannel (u_short info=GET::signalOut, bool integ=false) |
void | SetOutputData0correction (u_int n) |
void | SetOutputDataNcorrection (u_int n) |
u_int | GetOutputData0correction () const |
u_int | GetOutputDataNcorrection () const |
virtual int | OutputCorrectData0 () |
virtual int | OutputCorrectDataN () |
virtual int | OutputCorrectFPN (u_int opt_fpn=GET::CoBoCorrectFPN4) |
virtual int | ZeroSuppression (double thr=0.) |
virtual int | UserAnyFrame (MFMCommonFrame &frame) |
virtual int | UserMergeFrame (MFMMergeFrame &frame) |
virtual int | UserCoBoFrame (MFMCoboFrame &frame) |
virtual int | UserEbyedatFrame (MFMEbyedatFrame &frame) |
ClassDef (GETSystem, 0) | |
virtual void | SetZeroSuppressMode (double thr=0.) |
virtual void | SetSaturationValue (int val) |
virtual int | GetSaturationValue () const |
virtual int | GetSaturationCount () const |
virtual bool | IsChannelSaturated (u_int ich) |
virtual bool | IsChannelSaturated (const GETChannel &ch) |
![]() | |
GETObject () | |
virtual | ~GETObject () |
int | GetId () const |
virtual string | GetFullId () const |
virtual u_int | GetSignalChannelCount () const |
virtual u_int | GetTotalChannelCount () const |
virtual GETChannel * | GetSignalChannel (u_int n) |
virtual GETChannel * | GetTotalChannel (u_int n) |
const GETObject * | GetParent () const |
GETObject * | GetParent () |
virtual void | SetTimeStep (double dt) |
u_int | GetSampleDim () |
double | GetTimeStep () |
virtual void | SetReadoutFlag (bool b=true) |
bool | GetReadoutFlag () const |
virtual u_int | GetReadoutMultiplicity (bool fpn=true) const |
virtual double | GetSignalSum (u_short info=GET::signalOut) |
virtual void | InitLocalData (u_int n, double dt) |
virtual void | ValidDataSet () |
virtual void | ValidSimulSet () |
virtual void | SetResponse (GETResponse *ptr, bool recur=true, bool fpn=false) |
virtual void | SetResponse (GETResponse &obj, bool recur=true, bool fpn=false) |
virtual void | SetFilter (GETFilter *ptr, bool recur=true, bool fpn=false) |
virtual void | SetFilter (GETFilter &obj, bool recur=true, bool fpn=false) |
virtual void | SetNoiseIn (GETSignalModifier *ptr, bool recur=true, bool fpn=false) |
virtual void | SetNoiseIn (GETSignalModifier &obj, bool recur=true, bool fpn=false) |
virtual void | SetNoiseOut (GETSignalModifier *ptr, bool recur=true, bool fpn=false) |
virtual void | SetNoiseOut (GETSignalModifier &obj, bool recur=true, bool fpn=false) |
virtual void | SetOutputCorrection (GETProcess *ptr, bool recur=true, bool fpn=false) |
virtual void | SetOutputCorrection (GETProcess &obj, bool recur=true, bool fpn=false) |
virtual void | RemoveOutputCorrection () |
virtual void | SetOutputCorrectionList (bool warn=true) |
virtual void | AddOutputCorrection (GETProcess *ptr, bool recur=true, bool fpn=false) |
virtual void | AddOutputCorrection (GETProcess &obj, bool recur=true, bool fpn=false) |
GETResponse * | GetResponse (bool force=true) |
GETFilter * | GetFilter (bool force=true) |
GETSignalModifier * | GetNoiseIn (bool force=true) |
GETSignalModifier * | GetNoiseOut (bool force=true) |
GETProcess * | GetOutputCorrection (bool force=true) |
virtual int | ProcessData (bool in_noise=true) |
virtual int | ProcessOutFromTst (bool in_noise=true, bool out_noise=true) |
virtual int | ProcessRecFromOut (bool out_corr=true) |
virtual int | ProcessOutputCorrection () |
ClassDef (GETObject, 0) | |
Protected Attributes | |
Additions to the GUI | |
TGNumberEntryField * | w_anal_stat_mfm |
MFM event number. | |
Variables related to GET system | |
bool | get_init |
GET initialization flag. | |
u_int | get_dim |
GET system channels size. | |
double | get_dt |
GET system time step. | |
u_int | get_nx |
ACTAR TPC pads number along X. | |
u_int | get_ny |
ACTAR TPC pads number along X. | |
double | time_ref |
Run reference time (1st event) in sec. | |
double | vdrift |
Signal drift velocity: if defined, use Z distance instead of time. | |
GETActarTpcAnalyser * | get_analyser |
Pointer to the analyser object associated to GET system. | |
int | current_run_num |
Run number of current file. | |
int | prev_run_num |
Run number of previous file. | |
bool | run_changed |
Indicate whether a new run has started (from run number) | |
string | get_init_default |
Default file for GET system initialization. | |
string | get_init_cfg |
File for GET system initialization. | |
string | get_run_cfg |
File for GET system run parameters. | |
string | get_lookup_table |
File for GET system look-up table. | |
bool | get_lt_rpad |
Whether the look-up table file contains the pad number. | |
bool | get_lt_invxy |
Whether the look-up table file has inverted X-Y pads. | |
Variables related to histograms created from GET data | |
TH2 * | h_full_raw |
Full raw data summary histogram. | |
TH2 * | h_full_out |
Full output corrected data summary histogram. | |
TH1 * | h_max_raw |
Raw data max amplitude summary histogram. | |
TH1 * | h_max_cor |
Corrected data max amplitude summary histogram. | |
TH1 * | h_time_raw |
Raw data time summary histogram. | |
TH1 * | h_time_cor |
Corrected data time summary histogram. | |
TH3 * | h_exyt |
X-Y and T pads signal amplitude histogram. | |
TH2 * | h_dxy |
X-Y histogram for pads with data. | |
TH2 * | h_hxy |
X-Y pads hits histogram. | |
TH2 * | h_txy |
X-Y pads signal time histogram. | |
TH2 * | h_exy |
X-Y pads signal amplitude histogram. | |
TH2 * | h_ext |
X-T pads signal amplitude histogram. | |
TH2 * | h_eyt |
X-T pads signal amplitude histogram. | |
TH1 * | h_ex |
X signal projection histogram. | |
TH1 * | h_ey |
X signal projection histogram. | |
TH1 * | h_et |
X signal projection histogram. | |
int | tdim_nt |
Number of bins of the time axis for the XY-T 3D histogram. | |
double | tdim_t0 |
Lower value of the time axis for the XY-T 3D histogram. | |
double | tdim_t1 |
Upper value of the time axis for the XY-T 3D histogram. | |
bool | hok_full_raw |
Test for full raw event histogram creation. | |
bool | hok_full_out |
Test for full corrected event histogram creation. | |
bool | hok_pads_xyt_e |
Test for XY+T pads amplitude histograms creation. | |
bool | hok_pads_xy_d |
Test for XY histograms for pads data creation. | |
bool | hok_pads_xy_h |
Test for XY pads hits histograms creation. | |
bool | hok_pads_xy_t |
Test for XY pads time histograms creation. | |
bool | hok_pads_xy_e |
Test for XY pads amplitude histograms creation. | |
bool | hok_pads_xt_e |
Test for XT pads amplitude histograms creation. | |
bool | hok_pads_yt_e |
Test for YT pads amplitude histograms creation. | |
bool | hok_pads_x_e |
Test for X projection histograms creation. | |
bool | hok_pads_y_e |
Test for Y projection histograms creation. | |
bool | hok_pads_t_e |
Test for T projection histograms creation. | |
bool | hok_channels |
Indicates that some single channel histograms are defined. | |
bool * | hok_chan_out |
Create histograms associated to channels array parameters. | |
bool | hok_pads |
Indicates that some single pad histograms are defined. | |
bool * | hok_pad_out |
Create pad histograms associated to channels array parameters. | |
bool | hok_elec |
Indicates that some single electronics channels histograms are defined. | |
bool * | hok_elec_out |
Create electronics channels histograms associated to channels array parameters. | |
bool * | aget_page |
AGet signal pages creation flags. | |
Variables related to parameters created from GET data | |
bool | pok_data_read |
Test for data read per channel array parameter creation. | |
bool | pok_max_raw |
Test for channel raw maximum summary array parameter creation. | |
bool | pok_max_cor |
Test for channel corrected maximum summary array parameter creation. | |
bool | pok_time_raw |
Test for channel raw time summary array parameter creation. | |
bool | pok_time_cor |
Test for channel corrected time summary array parameter creation. | |
bool | pok_channels |
Indicates that some single channel parameters are defined. | |
bool * | pok_chan_out |
Test for single channels array parameters creation (output signal) | |
int | ip_evtnum |
Parameter index for event number. | |
int | ip_evtacq |
Parameter index for event number in GET acquisition. | |
int | ip_evttime |
Parameter index for event time (sec.) in GET acquisition. | |
int | ip_max_raw |
Parameter index for array of maximum values for raw signals. | |
int | ip_max_cor |
Parameter index for array of maximum values for corrected signals. | |
int | ip_time_raw |
Parameter index for array of time values for raw signals. | |
int | ip_time_cor |
Parameter index for array of time values for corrected signals. | |
int | ip_eamp_all |
Parameter index for GET signal sum of channels maximum (all channels) | |
int | ip_eamp_thr |
Parameter index for GET signal sum of channels maximum (channels above threshold) | |
int | ip_eint_all |
Parameter index for GET signal sum of channels integral (all channels) | |
int | ip_eint_thr |
Parameter index for GET signal sum of channels integral (channels above threshold) | |
int | ip_mmax_sum |
Parameter index for GET signal sum from multiple maxima analysis. | |
int | ip_max_signal |
Parameter index for maximum signal value. | |
int | ip_max_channel |
Parameter index for channel number maximum signal. | |
int | ip_read_mult |
Readout channels multiplicity parameter. | |
int | ip_pads_mult |
Multiplicity of pads above (soft) threshold. | |
int | ip_saturation_count |
parameter for number of saturated channels | |
int | ip_noise |
Parameter for array of channels noise. | |
int | ip_data_read |
Readout data number per channel parameter. | |
int | ip_data_chk |
Parameter for data checks. | |
int | ip_base_chk |
Parameter for baseline fluctuation check. | |
int | ip_resol_amp |
Parameter for amplitude resolution analysis. | |
int | ip_xmin |
Parameter index for pads signal boundaries. | |
int | ip_xmax |
Parameter index for pads signal boundaries. | |
int | ip_xlen |
Parameter index for pads signal boundaries. | |
int | ip_ymin |
Parameter index for pads signal boundaries. | |
int | ip_ymax |
Parameter index for pads signal boundaries. | |
int | ip_ylen |
Parameter index for pads signal boundaries. | |
int | ip_tmin |
Parameter index for pads signal boundaries. | |
int | ip_tmax |
Parameter index for pads signal boundaries. | |
int | ip_tlen |
Parameter index for pads signal boundaries. | |
int * | ip_chan_out |
Parameter index for single channels output signal. | |
int * | ip_chan_rec |
Parameter index for single channels reconstructed signal. | |
int * | ip_chan_fit |
Parameter index for single channels fitted signal. | |
int | read_mult |
Readout channels multiplicity (with FPN) | |
int | pads_mult |
Pads multiplicity. | |
int | bad_events |
Number of bad events in the run. | |
double | ampl_all_c0 |
Calibration parameter for sum of channels maximum. | |
double | ampl_all_c1 |
Calibration parameter for sum of channels maximum. | |
double | ampl_thr_c0 |
Calibration parameter for sum of channels (above threshold) maximum. | |
double | ampl_thr_c1 |
Calibration parameter for sum of channels (above threshold) maximum. | |
double | eint_all_c0 |
Calibration parameter for sum of channels integral. | |
double | eint_all_c1 |
Calibration parameter for sum of channels integral. | |
double | eint_thr_c0 |
Calibration parameter for sum of channels (above threshold) integral. | |
double | eint_thr_c1 |
Calibration parameter for sum of channels (above threshold) integral. | |
Variables related to preselected analysis | |
string | pad_signal_page |
Page name for automatic display of pads signal. | |
GStringList | default_analysis |
Analysis loaded at initialization. | |
Selected events output file | |
string | selTxtColor |
Highlight for selected events messages. | |
string | selTxtNorm |
End of highlight for selected events messages. | |
u_int | selEventNum |
Number of selected events outputs. | |
u_int | selEventCount [16] |
Counts of selected events. | |
string | selEventDir [16] |
Names of the directories for selected events output. | |
string | selEventFname |
Base file name (set at start of new run) | |
FILE * | selEventFilePtr [16] |
File pointers for selected events. | |
int | selEventFileLun [16] |
Logical units of file for selected events. | |
u_int | selEventFileSub [16] |
Selected events sub-file number. | |
u_int | selEventFileCnt [16] |
Number of events in the sub-file. | |
u_int | selEventFileMax [16] |
Max. number of events in the sub-file. | |
string | selFilterName [16] |
Names of the filters for event selection. | |
Filter * | selFilterPtr [16] |
Pointer to the filters for event selection. | |
u_int | pauseFilterNum |
Number of filters that cause the analysis pause. | |
string | pauseFilterName [16] |
Names of the filters. | |
Filter * | pauseFilterPtr [16] |
Pointer to the filters. | |
u_int | pauseFilterCount [16] |
Names of the filters. | |
bool | pauseFilterStop [16] |
The filter stops event reading (else, only update) | |
Automatic reset/save histogram families at run start/stop | |
u_int | runFamilyNum |
Number of run families. | |
string | runFamilyName [16] |
Names of run families. | |
GString | runFamilyFile [16] |
File names of run families (empty for no save) | |
![]() | |
GETHitMaskXY * | pad_mask |
Pointer to the hit mask (same as base class hit mask, but known as GETHitMaskXY) | |
![]() | |
GETSystemAnalyser * | analyser |
Pointer to a data analyser. | |
int | bad_cobo_channel_aget [512] |
Memorize AGET number for bad channels. | |
u_int | bad_cobo_channel_count |
Number for bad channels in CoBo read. | |
int | bad_cobo_channel_index [512] |
Memorize Channel number for bad channels. | |
u_int | bad_cobo_read_check |
Counter of bad data needed for missing channels in data check. | |
u_int | bad_cobo_read_count |
Number of bad data read. | |
GETData | bad_cobo_read_data [512] |
Bad data array. | |
u_int | bad_cobo_read_min |
Minimum number of data to keep channels in data. | |
u_int | bad_read_count |
Number of bad data read. | |
GETData | bad_read_data [512] |
Bad data array. | |
u_int | channel_count |
Total number of channels. | |
bool * | channel_hit |
Whether the channel contains data. | |
GETChannel ** | channel_summary |
Summary of channels pointers. | |
GETCoBo * | cobo |
Array of CoBo modules. | |
int | cobo_filled [4 *68 *512] |
Memorization of data read in CoBo frame. | |
u_int | cobo_frame_error |
Number of CoBo frames with errors. | |
u_int | cobo_frame_read |
Total number of CoBo frames. | |
u_int | cobo_frame_recover |
Number of CoBo frames with errors that could be recovered. | |
int | cobo_last_bucket [4 *68] |
Memorization of last time bucket read / channel. | |
u_int | cobo_number |
Number of CoBo modules controlled. | |
GETCfgSetup * | config |
Configuration data. | |
bool | cor_data |
Whether processing corrected data. | |
u_int | data0_num |
Number of time buckets to set to 0 at beginning of data samples. | |
u_int | dataN_num |
Number of time buckets to set to 0 at end of data samples. | |
u_int | event_count |
Number of events read (in file) | |
GETHitMask * | hit_mask |
Pointer to the hit mask. | |
GETLookupTable | lookup_table |
Lookup table. | |
char * | mfm_buffer |
MFM frames data buffer. | |
char ** | mfm_buffer_adr |
Pointer of allocated buffer. | |
int | mfm_buffer_size |
Size of allocated buffer. | |
uint64_t | mfm_event_clock |
Event clock time from MFM frames. | |
int | mfm_event_num |
Event number from MFM frames. | |
bool | mfm_event_set |
Test is event number / time stamp is set. | |
double | mfm_event_time |
Event time (sec) from MFM frames. | |
MFMCommonFrame * | mfm_frame |
Common frame for MFM in/out. | |
MFMCoboFrame * | mfm_frame_cobo |
Specific CoBo frame for MFM in/out. | |
u_int | mfm_frame_count |
Frame number in current file. | |
u_int | mult_aget |
Multiplicity of non empty AGet. | |
u_int | mult_asad |
Multiplicity of non empty AsAd. | |
u_int | mult_channel |
Multiplicity of non empty channels. | |
u_int | mult_cobo |
Multiplicity of non empty CoBo. | |
GETRunFile * | run_file |
Pointer to the input run data. | |
u_int | saturation_count |
Number of saturated channels (computed at raw event analysis) | |
u_int | saturation_mult |
Number of saturated data to consider a channel as saturated. | |
u_int | saturation_value |
Coder value for channel saturation (set to 0 not to perform the analysis) | |
u_short | selected_analysis |
Flag for selected analysis (see GETSystem::SelectAnalysis function) | |
int | test_channel |
Channel index for test outputs (-1 for none) | |
double | zero_threshold |
Threshold for raw data zero suppression. | |
![]() | |
GETProcessLink | filter |
Signal processing filter. | |
int | id |
Object identifier number (set by the parent, in filiation) | |
bool | is_read |
Flag indicating some data was read for the object (from exp. raw data) | |
GETProcessLink | noise_in |
Simulation input noise generator. | |
GETProcessLink | noise_out |
Simulation output noise generator. | |
GETProcessLink | output_corr |
Output signal correction before reconstruction of input. | |
GETObject * | parent |
Parent AGet chip. | |
GETProcessLink | response |
Signal response function. | |
Private Member Functions | |
GObject (GETActarEventReader) | |
Additional Inherited Members | |
![]() | |
static void | SetOptions (u_int opts) |
static void | SetOption (u_int flags, bool b=true) |
static u_int | GetOptions () |
static bool | GetOption (u_int flags) |
![]() | |
static u_int | options = 0 |
Options for GET system. | |
See GETActarEventReader analysis.
GETActarEventReader::GETActarEventReader | ( | bool | construct = true | ) |
Default constructor of the analysis class.
construct | if set to true (default), the GUI is constructed (for use in derived classes to avoid the construction at creation of the base class). |
References GET::analyseAll, GET_INIT_SETUP_DEFAULT_FILE, GET_PAD_SIGNAL_PAGE, GET_RUN_FAMILY_MAX, and GET_SELECT_MAX.
|
virtual |
Destructor of the analysis class.
References aget_page, hok_chan_out, hok_elec_out, hok_pad_out, ip_chan_fit, ip_chan_out, ip_chan_rec, and pok_chan_out.
|
virtual |
Function called by event reading function, to fill parameters and predefined histograms.
References ampl_all_c0, ampl_all_c1, ampl_thr_c0, ampl_thr_c1, GETSystem::AnalyseCorData(), GETSystem::AnalyseInputRec(), bad_events, GETSystemAnalyser::BadChannelsWarning(), GETSystem::CalcMultiplicity(), GETActarTpcAnalyser::ComputeSumInt(), GETActarTpcAnalyser::ComputeSumMax(), eint_all_c0, eint_all_c1, eint_thr_c0, eint_thr_c1, get_analyser, GET_BAD_DATA_BASELINE, GET_BAD_DATA_DELTA, GET_BAD_DATA_READ, get_dim, get_dt, GETSystemAnalyser::GetBaseFluctuationsHisto(), GETSystem::GetChannel(), GETSystemAnalyser::GetChannelsNoiseHisto(), GETSystemAnalyser::GetDataContinuityBadCount(), GETSystemAnalyser::GetDataNumberBadCount(), GETSystemAnalyser::GetFluctuationsBadCount(), GETObject::GetFullId(), GETLookupTable::GetIpx(), GETLookupTable::GetIpy(), GETSystemAnalyser::GetMaximumChannel(), GETSystemAnalyser::GetMaximumSignal(), GETSystemAnalyser::GetMultiMaxSumAll(), GETHitMaskXY::GetNhitPads(), GETChannel::GetReadoutCount(), GETObject::GetReadoutFlag(), GETSystemAnalyser::GetResolutionHisto(), GETSystem::GetSaturationCount(), GETActarTpc::GetSignalBoundaries(), GETObject::GetTotalChannelCount(), h_max_cor, h_max_raw, h_time_cor, h_time_raw, ip_base_chk, ip_chan_fit, ip_chan_out, ip_chan_rec, ip_data_chk, ip_data_read, ip_eamp_all, ip_eamp_thr, ip_eint_all, ip_eint_thr, ip_max_channel, ip_max_cor, ip_max_raw, ip_max_signal, ip_mmax_sum, ip_noise, ip_pads_mult, ip_read_mult, ip_resol_amp, ip_saturation_count, ip_time_cor, ip_time_raw, ip_tlen, ip_tmax, ip_tmin, ip_xlen, ip_xmax, ip_xmin, ip_ylen, ip_ymax, ip_ymin, GETSystemAnalyser::IsChannelBad(), GETSystem::LookupTable(), GETChannel::OutSample(), GETActarTpc::pad_mask, pads_mult, pok_channels, pok_data_read, pok_max_cor, pok_max_raw, pok_time_cor, pok_time_raw, read_mult, GETChannel::RecSample(), and GETSystemAnalyser::SetChannelFctParameters().
Referenced by ReadEvent().
|
virtual |
Function called at run start for specific run analysis initialization.
References bad_events, and ReadRunConfig().
|
virtual |
Function called at run start for specific end run analysis.
References bad_events.
|
virtual |
|
virtual |
Close events selection sub-file for a selection filter
nf | index of the selection filter |
References selEventFileLun, selEventFilePtr, and selEventNum.
Referenced by CloseSelectedEventsFiles(), and WriteSelectedEvent().
|
virtual |
Function that closes the files for selected events output. The function returns 0 if no error occured.
References CloseSelectedEventsFile(), selEventCount, selEventFilePtr, selEventNum, selFilterName, selTxtColor, and selTxtNorm.
Referenced by RunStop().
|
virtual |
Function that sets a configuration parameter from a command line.
The valid command line in the class are:
code | parameter(s) identifier |
args | additional arguments |
fptr | file pointer (in case more information should be read) |
References ampl_all_c0, ampl_all_c1, ampl_thr_c0, ampl_thr_c1, GETActarTpcAnalyser::ConfigCommand(), GETLookupTable::DumpTable(), eint_all_c0, eint_all_c1, eint_thr_c0, eint_thr_c1, get_analyser, get_dim, get_dt, get_init, get_lookup_table, get_lt_invxy, get_lt_rpad, get_nx, get_ny, GET_RUN_FAMILY_MAX, GETInit(), GETRandom, hok_full_out, hok_full_raw, hok_pads_t_e, hok_pads_x_e, hok_pads_xt_e, hok_pads_xy_d, hok_pads_xy_e, hok_pads_xy_h, hok_pads_xy_t, hok_pads_xyt_e, hok_pads_y_e, hok_pads_yt_e, GETSystem::LookupTable(), pauseFilterName, pauseFilterNum, pauseFilterStop, pok_data_read, pok_max_cor, pok_max_raw, pok_time_cor, pok_time_raw, PresetAgetPage(), PresetChannelParam(), PresetPadParam(), GET::ProcessSingleFrames, ReadConfigFile(), runFamilyFile, runFamilyName, runFamilyNum, selTxtColor, selTxtNorm, SetDefaultAnalysis(), SetGETRunConfigFile(), GETSystem::SetOptions(), SetSelectedEventsFilter(), tdim_nt, tdim_t0, tdim_t1, and vdrift.
Referenced by ConfigCommandLine(), and ReadConfigFile().
|
virtual |
Function that sets a configuration parameter from a setup file line.
cmd | setup line |
fptr | file pointer (in case more information should be read) |
References ConfigCommand().
|
virtual |
Redefinition of function from GEVRunBase for the GUI.
References w_anal_stat_mfm.
|
virtual |
Function that is called to define "raw" parameters. It defines parameters related to the ACTAR TPC / GET global information. (see AddParam function of the EventManager base class).
References GETSystemAnalyser::CreateChannelsMaxCorHisto(), GETSystemAnalyser::CreateChannelsMaxRawHisto(), GETSystemAnalyser::CreateChannelsTimeCorHisto(), GETSystemAnalyser::CreateChannelsTimeRawHisto(), get_analyser, get_init, GETInit(), GETObject::GetTotalChannelCount(), h_max_cor, h_max_raw, h_time_cor, h_time_raw, ip_base_chk, ip_data_chk, ip_data_read, ip_eamp_all, ip_eamp_thr, ip_eint_all, ip_eint_thr, ip_evtacq, ip_evtnum, ip_evttime, ip_max_channel, ip_max_cor, ip_max_raw, ip_max_signal, ip_mmax_sum, ip_noise, ip_pads_mult, ip_read_mult, ip_resol_amp, ip_saturation_count, ip_time_cor, ip_time_raw, ip_tlen, ip_tmax, ip_tmin, ip_xlen, ip_xmax, ip_xmin, ip_ylen, ip_ymax, ip_ymin, GETSystemAnalyser::IsFluctuationsAnalysisON(), GETSystemAnalyser::IsNoiseAnalysisON(), GETSystemAnalyser::IsResolutionAnalysisON(), pok_data_read, pok_max_cor, pok_max_raw, pok_time_cor, and pok_time_raw.
|
virtual |
Function defining the analyser associated to the GETSystem, at system initialization (in GETInit() function).
References GETSystem::analyser, and GETSystem::SetAnalyser().
Referenced by GETInit().
|
virtual |
Function that create a pad histogram (if it is not already created) identified by channel index.
ich | channel index |
fill | whether the histogram is filled |
References GetIndexId(), GETObject::GetTotalChannelCount(), and hok_channels.
Referenced by DefineElecSpectrum(), DefinePadSpectrum(), and PresetSystemAnalysis().
|
virtual |
Function that create an histogram on a pad or channel (if it is not already created) with the corresponding parameter.
ich | channel index |
fill | whether the histogram is filled |
name | base name for channel histogram (default is built from electronics indexes) |
References GET::amplitudeFit, get_analyser, get_dim, get_dt, GETSystemAnalyser::GetAmplitudeMode(), GETSystem::GetChannel(), GetElecId(), GETSystemAnalyser::GetSelectedSignalData(), GETObject::GetTotalChannelCount(), ip_chan_fit, ip_chan_out, ip_chan_rec, GETChannel::OutSample(), pok_chan_out, pok_channels, GETChannel::RecSample(), GETSystemAnalyser::SetChannelFctParameters(), and GET::signalRec.
|
virtual |
Function that create a pad histogram (if it is not already created) identified by electronics modules indexes.
cobo | index of CoBo module |
asad | index of AsAd board from CoBo module (0-3) |
aget | index of AGET chip on AsAd board (0-3) |
chan | index of channel in AGET chip (0-67) |
fill | whether the histogram is filled |
References DefineChannelSpectrum(), GETSystem::GetChildrenNumber(), GETSystem::GetCoBoNumber(), GetElecId(), and hok_elec.
Referenced by PresetSystemAnalysis().
|
virtual |
Function that create a pad histogram (if it is not already created) identified by (X,Y) pad indexes.
ix | X pad index |
iy | Y pad index |
fill | whether the histogram is filled |
References DefineChannelSpectrum(), GETLookupTable::GetChannel(), GetPadId(), hok_pads, and GETSystem::LookupTable().
Referenced by PadPlaneButton1DoubleClick(), and PresetSystemAnalysis().
|
inline |
Function defining a standardized short identifier for an AGet chip.
i | AGet index (0-3) |
Referenced by GetElecId(), and PresetSystemAnalysis().
|
inline |
Function defining a standardized short identifier for an AsAd board.
i | Asad index (0-3) |
Referenced by GetElecId(), and PresetSystemAnalysis().
|
inline |
Function defining a standardized short identifier for an AGet channel.
i | channel index (0-67) |
Referenced by GetElecId().
|
inline |
Function defining a standardized short identifier for a CoBo module.
i | CoBo index |
Referenced by GetElecId(), and PresetSystemAnalysis().
|
inline |
Function defining a standardized short identifier for an electronics channel.
i | global channel index |
References GETSystem::cobo, GETLookupTable::GetAGet(), GETLookupTable::GetAsAd(), GETLookupTable::GetChannel(), GETLookupTable::GetCoBo(), and GETSystem::LookupTable().
Referenced by DefineChannelSpectrum(), DefineElecSpectrum(), and PresetSystemAnalysis().
|
inline |
Function defining a standardized short identifier for an electronics channel.
co | CoBo index |
as | AsAd index in CoBo (0-3) |
ag | AGET index in AsAd (0-3) |
ch | Channel index in AGET (0-67) |
References GetAGetId(), GetAsAdId(), GetChannelId(), and GetCoBoId().
|
inline |
Function defining a standardized short identifier for a channel of the whole GET system.
i | channel index |
Referenced by DefineChannelSpectrum().
|
virtual |
Function that creates the GET system.
References aget_page, ASAD_SIZE, COBO_SIZE, DefineAnalyser(), get_analyser, get_dim, get_dt, get_init, get_lookup_table, get_lt_invxy, get_lt_rpad, get_nx, get_ny, GETSystem::GetCoBoNumber(), GETObject::GetTotalChannelCount(), hok_chan_out, hok_elec_out, hok_pad_out, GETActarTpc::Init(), ip_chan_fit, ip_chan_out, ip_chan_rec, GETSystem::LookupTable(), pok_chan_out, GETLookupTable::Read(), GETLookupTable::SetDefaultTable(), and GETSystem::SetOptions().
Referenced by ConfigCommand(), and CreateEvent().
|
inline |
Function defining a standardized short identifier for a pad.
ix | pad index along X (0-...) |
iy | pad index along Y (0-...) |
Referenced by DefinePadSpectrum().
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Function called on a click in a page spectrum.
page_ptr | page pointer |
pad_ptr | pad pointer |
histo_ptr | histogram pointer |
x | histogram X position |
y | histogram Y position |
References GETSystem::cobo, get_analyser, get_nx, get_ny, GETLookupTable::GetAGet(), GETLookupTable::GetAsAd(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GETLookupTable::GetCoBo(), GETSystemAnalyser::GetMultiMaxAmplitude(), GETSystemAnalyser::GetMultiMaxNum(), GETSystemAnalyser::GetMultiMaxTime(), GETChannel::GetSaturationCount(), GETSystemAnalyser::IsMaximaDataComputed(), and GETSystem::LookupTable().
|
virtual |
Function called when mouse moving on a page spectrum.
event | event type identifier (see EEventType in ROOT) |
page_ptr | page pointer |
pad_ptr | pad pointer |
histo_ptr | histogram pointer |
x | histogram X position |
y | histogram Y position |
References GETSystem::cobo, get_nx, get_ny, GETLookupTable::GetAGet(), GETLookupTable::GetAsAd(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GETLookupTable::GetCoBo(), GETLookupTable::GetIpx(), GETLookupTable::GetIpy(), GETChannel::GetSaturationCount(), GETObject::GetTotalChannelCount(), GETSystem::LookupTable(), PadPlaneButton1Click(), PadPlaneButton1DoubleClick(), PadPlaneButton2Click(), and PadPlaneButton2DoubleClick().
|
virtual |
Reimplementation of the GEVRunBase function in order to check events selection for writting in the selected events output files.
References pauseFilterCount, pauseFilterName, pauseFilterNum, pauseFilterPtr, pauseFilterStop, selEventNum, selTxtColor, selTxtNorm, UpdateDisplay(), and WriteSelectedEvent().
|
virtual |
Test whether the run file is open.
References GETSystem::IsRunFileOpen().
Referenced by Close(), Open(), and ReadEvent().
|
virtual |
Implementation of the pure virtual function from RunBase to open a file from the GET system.
References IsOpen(), GETSystem::IsRunFileOpen(), and GETSystem::OpenRunFile().
|
virtual |
Open the next events selection sub-file for a selection filter
nf | index of the selection filter |
References selEventDir, selEventFileCnt, selEventFileLun, selEventFilePtr, selEventFileSub, selEventFname, selEventNum, selFilterName, selFilterPtr, selTxtColor, and selTxtNorm.
Referenced by WriteSelectedEvent().
|
virtual |
Function called when a pad plane histo is clicked. This function is also called in case of double-click
hpad | pointer to the pad histogram |
ix | X pad index |
iy | Y pad index |
Referenced by HistoEventSlot().
|
virtual |
Function called when a pad plane histo is double-clicked. If the spectrum corresponding to the pad signal is not defined, it is created. The pad signal spectrum is defined (if not yet done) and plotted in the first plot of pad signal page (created if not defined).
hpad | pointer to the pad histogram |
ix | X pad index |
iy | Y pad index |
References DefinePadSpectrum(), get_analyser, GETSystemAnalyser::GetSelectedSignalData(), pad_signal_page, and GET::signalRec.
Referenced by HistoEventSlot().
|
virtual |
Function called when a pad plane histo is clicked. This function is also called in case of double-click
hpad | pointer to the pad histogram |
ix | X pad index |
iy | Y pad index |
Referenced by HistoEventSlot().
|
virtual |
Function called when a pad plane histo is clicked.
hpad | pointer to the pad histogram |
ix | X pad index |
iy | Y pad index |
Referenced by HistoEventSlot().
|
virtual |
Function indicating to create the page to display all channels from an AGET chip.
def | AGet definition (cobo asad aget) |
Referenced by ConfigCommand().
|
virtual |
Function indicating to create the page to display all channels from an AGET chip (and corresponding histograms).
cobo | CoBo module (-1 for all) |
asad | AsAd board (-1 for all) |
aget | AGet chip (-1 for all) |
References aget_page, ASAD_SIZE, GETSystem::cobo, COBO_SIZE, GETSystem::GetCoBoNumber(), hok_elec, hok_elec_out, and PresetChannelParam().
|
virtual |
Function that creates the analysis structures predefined from the initialization configuration file, and loads the preselected definitions. It is called by the GETActarEventReader::RunInit function.
References PresetLoadedAnalysis(), and PresetSystemAnalysis().
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms.
def | channels definition (cobo asad aget channel numbers, -1 for all) |
hdef | whether the corresponding histograms are also created |
References GETSystem::cobo.
Referenced by ConfigCommand(), and PresetAgetPage().
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms (labelled with electronics modules indexes).
cobo | CoBo number (-1 for all) |
asad | AsAd number (-1 for all) |
aget | AGet number (-1 for all) |
chan | Channel number (-1 for all) |
hdef | whether the corresponding electronics channel histograms are also created |
References GETSystem::cobo, GETSystem::GetChannelIndex(), GETSystem::GetCoBoNumber(), GETObject::GetTotalChannelCount(), hok_elec, hok_elec_out, pok_chan_out, and pok_channels.
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms (labelled with absolute channel indexes).
ich0 | first channel index |
ich1 | last channel index (-1 for all) |
hdef | whether the corresponding channel histograms are also created |
References GETObject::GetTotalChannelCount(), hok_chan_out, hok_channels, pok_chan_out, and pok_channels.
|
virtual |
Function that loads the predefinedin the initialization configuration file.
References default_analysis.
Referenced by PresetAnalysis().
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms.
def | channels definition (ix0 ix1 iy0 iy1) |
hdef | whether the corresponding histograms are also created |
Referenced by ConfigCommand().
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms.
ix0 | lower X pad index |
ix1 | upper X pad index |
iy0 | lower Y pad index |
iy1 | upper Y pad index |
hdef | whether the corresponding histograms are also created |
References get_nx, get_ny, GETLookupTable::GetChannel(), hok_pad_out, hok_pads, GETSystem::LookupTable(), pok_chan_out, and pok_channels.
|
virtual |
Function that creates the analysis structures predefined from the initialization configuration file.
References aget_page, GET::amplitudeFit, ASAD_SIZE, GETSystem::cobo, COBO_SIZE, GETSystemAnalyser::CreateFullEventCorHisto(), GETSystemAnalyser::CreateFullEventRawHisto(), GETActarTpcAnalyser::CreateInTrackMeanHisto(), GETActarTpcAnalyser::CreateInTrackPatternHisto(), GETActarTpcAnalyser::CreateOffTrackMeanHisto(), GETActarTpcAnalyser::CreateOffTrackPatternHisto(), GETActarTpcAnalyser::CreateTprojectionHisto(), GETActarTpcAnalyser::CreateXprojectionHisto(), GETActarTpcAnalyser::CreateXTamplitudeHisto(), GETActarTpcAnalyser::CreateXYamplitudeHisto(), GETActarTpcAnalyser::CreateXYdataHisto(), GETActarTpcAnalyser::CreateXYhitsHisto(), GETActarTpcAnalyser::CreateXYTHisto(), GETActarTpcAnalyser::CreateXYtimeHisto(), GETActarTpcAnalyser::CreateYprojectionHisto(), GETActarTpcAnalyser::CreateYTamplitudeHisto(), DefineChannelSpectrum(), DefineElecSpectrum(), DefinePadSpectrum(), get_analyser, get_dim, GETLookupTable::GetAGet(), GetAGetId(), GETSystemAnalyser::GetAmplitudeMode(), GETLookupTable::GetAsAd(), GetAsAdId(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GETActarTpcAnalyser::GetChannelsNoiseHistoXY(), GETLookupTable::GetCoBo(), GetCoBoId(), GETSystem::GetCoBoNumber(), GetElecId(), GETLookupTable::GetIpx(), GETLookupTable::GetIpy(), GETObject::GetSampleDim(), GETSystemAnalyser::GetSelectedSignalData(), GETObject::GetTimeStep(), GETObject::GetTotalChannelCount(), h_dxy, h_et, h_ex, h_ext, h_exy, h_exyt, h_ey, h_eyt, h_full_out, h_full_raw, h_hxy, h_txy, hok_chan_out, hok_channels, hok_elec, hok_elec_out, hok_full_out, hok_full_raw, hok_pad_out, hok_pads, hok_pads_t_e, hok_pads_x_e, hok_pads_xt_e, hok_pads_xy_d, hok_pads_xy_e, hok_pads_xy_h, hok_pads_xy_t, hok_pads_xyt_e, hok_pads_y_e, hok_pads_yt_e, ip_chan_fit, ip_chan_out, ip_chan_rec, GETChannel::IsFPNChannel(), GETSystemAnalyser::IsNoiseAnalysisON(), GETActarTpcAnalyser::IsOffTrackAnalysisON(), GETSystem::LookupTable(), pok_chan_out, pok_channels, GET::signalRec, tdim_nt, tdim_t0, tdim_t1, and vdrift.
Referenced by PresetAnalysis().
|
virtual |
Function that processes the command line arguments. The arguments that are recognized and processed are removed from the arguments list, and the parameters argc and argv are modified accordingly.
Note that if the "--help" argument is present, no argument is processed anymore.
The function returns 0 if arguments are processed without problem or a positive value in case of error. The "--help" argument causes a -1 return value (so that the program may be interrupted).
argc | number of arguments |
argv | array of arguments pointers |
supp | whether the recognized arguments are removed |
References ProcessLineHelp(), ReadInitConfig(), SetDefaultAnalysis(), SetGETInitConfigFile(), and SetGETRunConfigFile().
|
virtual |
Function issuing a message for command line options explanation.
Referenced by ProcessCmdLine().
|
virtual |
Function redefined from base class to force a reset.
|
virtual |
Function that reads setup parameters for GET system.
The function returns 0 if no error occured, a positive value in case of file error and a negative value if some invalid commands are found.
cfg | configuration file name |
Referenced by ConfigCommand(), ReadInitConfig(), and ReadRunConfig().
|
virtual |
Function that reads setup parameters for GET system.
The function returns 0 if no error occured, a positive value in case of file error and a negative value if some invalid commands are found.
fp | setup file pointer |
References ConfigCommand().
|
virtual |
Function that reads an event in the raw data file. The function returns 0 if an event was read without error, -1 at end of file, and a positive value in case of error.
Reimplemented from GETSystem.
References GETSystem::analyser, AnalysisEvent(), GETSystem::ClearEvent(), get_dim, get_dt, GETSystem::GetAcqEventNumber(), GETSystem::GetAcqEventTimeSec(), GETSystem::GetAnalysisFlags(), GETSystemAnalyser::GetSelectedSignalData(), h_et, h_ext, h_exyt, h_eyt, ip_evtacq, ip_evtnum, ip_evttime, IsOpen(), GETSystem::mfm_event_num, GETSystem::ReadEvent(), run_changed, GETSystem::SetInputRecAnalysis(), GET::signalRec, tdim_t0, tdim_t1, time_ref, and vdrift.
|
virtual |
Function that reads the initialization setup for GET system. The configuration file is defined by the SetGETInitConfigFile function. An initialization file is mandatory for building the GET system object that will process the data.
References get_init, get_init_cfg, get_init_default, and ReadConfigFile().
Referenced by ProcessCmdLine().
|
virtual |
Function that reads the run setup parameters for GET system (if the filename is empty, the function does nothing). The run analysis configuration file can be defined with the SetGETRunConfigFile function. If the configuration file is not defined or is not found, the analysis configuration remains unchanged. In case the file exists, the output correction processes for all channels are removed, in order to be able to redefine new ones from the configuration file information.
References get_analyser, get_run_cfg, ReadConfigFile(), GETObject::RemoveOutputCorrection(), and GETActarTpcAnalyser::SetOffTrackCorrection().
Referenced by AnalysisStart().
|
virtual |
Function redefined from base class to implement specific reset.
Reimplemented from GETSystem.
References GETActarTpcAnalyser::ClearAnalysis(), get_analyser, pauseFilterCount, pauseFilterNum, prev_run_num, GETSystem::Reset(), selEventCount, and selEventNum.
|
virtual |
Reimplemented from GEVRunBase to call RunStop only when run is stopped, not at new file with no run change.
References RunStop().
|
inlinevirtual |
This function returns true, at run start, if the run number has changed. When a new file is open from the same run, it remains to false.
References run_changed.
|
virtual |
Function reimplemented from GEVRunBase.
References GETSystem::cobo_frame_error, GETSystem::cobo_frame_read, GETSystem::cobo_frame_recover, pauseFilterName, pauseFilterNum, pauseFilterPtr, runFamilyName, runFamilyNum, selEventFileCnt, selEventFileSub, selEventFname, selEventNum, selFilterName, and selFilterPtr.
|
virtual |
Function reimplemented from GEVRunBase.
References CloseSelectedEventsFiles(), current_run_num, runFamilyFile, runFamilyName, runFamilyNum, and selEventNum.
Referenced by ResetFileList().
|
virtual |
Restores the colors before display update. This restores the color palette in case it has been modified.
|
virtual |
Defines the default analysis loaded at initialization.
ana | analysis (definitions) file |
References default_analysis.
Referenced by ConfigCommand(), and ProcessCmdLine().
|
virtual |
Function that defines the GET initialization configuration file.
cfg | run configuration file |
References get_init_cfg.
Referenced by ProcessCmdLine().
|
virtual |
Function that defines the GET analysis configuration file at run start. If the file name is empty, no file is read (the parameters defined at initialization are used, or the default ones). The following codes are supported:
cfg | run configuration file |
References get_run_cfg.
Referenced by ConfigCommand(), and ProcessCmdLine().
|
virtual |
|
virtual |
Function that defines a new events selection output. If the selection is defined without error, the function returns the pointer to the filter.
filter | name of the filter |
dir | output directory for output files |
nmax | max. number of events in the output files (change sub-number when reached) or 0 to keep same sub numbers than the input run files |
References GETObject::filter, GET_SELECT_MAX, selEventDir, selEventFileMax, selEventNum, and selFilterName.
Referenced by ConfigCommand().
|
virtual |
Redefinition of function from GEVRunBase for the GUI.
References GETSystem::GetAcqEventNumber(), and w_anal_stat_mfm.
Referenced by IncrementSpectra().
|
virtual |
Function called after the corrected / reconstructed data analysis. The function does nothing in this class, but may be used in derived classes.
Reimplemented from GETSystem.
|
virtual |
Function called after an new event has been read.
|
virtual |
This function is called only once, at initialization time (see GEVRunBase class documentation):
|
virtual |
This function is called when a fit is performed from the GUI pads, if the result is validated by the "done" button of the fit interface. To get acces to the fit result, see the GEVRunBase base class functions: GetFitSpectrum(), GetFitInfo(), GetFitResult(), ...
The fitter (fit class object) can be reached with the specific functions (depending of the fit type): GetFitter1D(), GetPeakFitter(), GetDecayFitter(),...
Note: the fitting object is destroyed after the call to the UserFit() function.
|
virtual |
Function called when a new file is opened, with or without change of the run number.
|
virtual |
Function called when quitting the analysis, when "Quit" button is clicked.
|
virtual |
Function called after the raw data analysis. The function does nothing in this class, but may be used in derived classes.
Reimplemented from GETSystem.
|
virtual |
Function called after the GUI pages have been updated, for customized displays.
|
virtual |
Function called when the Reset button of the GUI is clicked.
|
virtual |
Function called at the beginning of processing of a new run file.
|
virtual |
Function called when the end of a run has been reached.
References GETSystem::cobo_frame_error, GETSystem::cobo_frame_read, and GETSystem::cobo_frame_recover.
|
virtual |
Function called after the automatic incrementation of spectra (after event processing).
|
virtual |
Function that tests the events selection filters and if the conditions are fulfilled, the events are written to the corresponding output files. The function returns 0 if no error occured.
References CloseSelectedEventsFile(), GETSystem::mfm_event_num, GETSystem::mfm_frame, OpenSelectedEventsFile(), selEventCount, selEventFileCnt, selEventFileLun, selEventFileMax, selEventFilePtr, selEventFileSub, selEventNum, selFilterName, selFilterPtr, selTxtColor, and selTxtNorm.
Referenced by IncrementSpectra().