GET library
|
#include <GETActarEventReader.hh>
Public Member Functions | |
Constructor and destructor | |
GETActarEventReader () | |
virtual | ~GETActarEventReader () |
Read of event files functions | |
virtual int | Open () |
virtual bool | IsOpen () |
virtual int | Close () |
virtual int | RunInit () |
virtual int | FileOpen () |
virtual void | FileClose () |
virtual void | Reset () |
virtual int | CreateEvent () |
virtual int | ReadEvent () |
Graphical user interface modifications | |
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 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 |
virtual void | DefineChannelParam (const string &def, bool hdef=false) |
virtual void | DefineChannelParam (int cobo, int asad, int aget, int chan, bool hdef=false) |
virtual void | DefinePadParam (const string &def, bool hdef=false) |
virtual void | DefinePadParam (int ix0, int ix1, int iy0, int iy1, bool hdef=false) |
virtual int | DefinePadSpectrum (int ix, int iy, bool fill=false) |
virtual void | PresetAnalysis () |
virtual void | AnalysisStart () |
virtual void | AnalysisStop () |
virtual void | AnalysisEvent () |
Standard user hooks function | |
virtual int | UserEventDefine () |
virtual int | UserRunStart () |
virtual int | UserEvent () |
virtual int | UserUpdate () |
virtual int | UserRefresh () |
virtual int | UserRunStop () |
virtual int | UserReset () |
virtual int | UserQuit () |
virtual int | UserFit () |
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) |
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 (double &xmin, double &xmax, double &ymin, double &ymax, double &tmin, double &tmax) |
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 () |
bool | ChannelHasData (u_int ic) 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 GETHitMask * | SetHitMask (GETHitMask *mask) |
GETHitMask * | GetHitMask () const |
virtual int | SetAnalyser (GETSystemAnalyser *a) |
GETSystemAnalyser * | GetAnalyser () const |
virtual int | SetCalibProcess (const string &calib_file) |
virtual int | SetBaselineCorrection (const string &bl_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 | SetAutoBaselineLow (u_short num_lo, u_short off_lo=0) |
virtual int | SetAutoBaselineHigh (u_short num_hi, u_short off_hi=0) |
u_int | GetEventCount () const |
string | GetRunFileName () const |
virtual int | OpenRunFile (const string &fname) |
virtual int | OpenRunSerie (const string &pattern, const string &serie) |
virtual int | CloseRunFile () |
bool | IsRunFileOpen () const |
GETRunFile * | GetRunFile () |
virtual int | ReadEvent (bool process=true) |
virtual int | AnalyseRawEvent () |
virtual int | AnalyseCorEvent () |
virtual int | ExtractXMLFileHeaderFrame () |
virtual int | ExtractCoboTopoFrame () |
virtual int | ExtractEbyedatFrame () |
virtual int | ExtractMergeFrame () |
virtual int | ProcessFrameData (MFMCommonFrame *frame) |
virtual int | ProcessMergeFrameData (MFMMergeFrame *frame) |
virtual int | ProcessCoBoFrameData (MFMCoboFrame *frame) |
virtual int | ProcessEbyedatFrameData (MFMEbyedatFrame *frame) |
virtual GETChannel * | GetMaximumChannel (u_short info=GET::signalOut, bool integ=false) |
virtual int | OutputCorrectFPN (u_int opt_fpn=GET::CoBoCorrectFPN4) |
virtual int | ZeroSuppression (double thr=0.) |
virtual int | AnyFrameUser (MFMCommonFrame &frame) |
virtual int | MergeFrameUser (MFMMergeFrame &frame) |
virtual int | CoBoFrameUser (MFMCoboFrame &frame) |
virtual int | EbyedatFrameUser (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 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 | |
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. | |
GETActarTpcAnalyser * | get_analyser |
Pointer to the analyser object associated to GET system. | |
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. | |
TH3 * | h_exyt |
X-Y and T pads signal amplitude histogram. | |
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_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 |
Create histograms associated to channels array parameters. | |
bool | hok_pads |
Indicates that some single pad histograms are defined. | |
bool * | hok_pad |
Create pad histograms associated to channels array parameters. | |
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_channels |
Indicates that some single channel parameters are defined. | |
bool * | pok_chan |
Test for single channels array parameters creation. | |
int | ip_evtnum |
Parameter index for event number. | |
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_sum_all |
Parameter index for GET signal sum (all channels) | |
int | ip_sum_thr |
Parameter index for GET signal sum (channels above threshold) | |
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 |
Parameter index for single channels. | |
int | read_mult |
Readout channels multiplicity (with FPN) | |
int | pads_mult |
Pads multiplicity. | |
int | bad_events |
Number of bad events in the run. | |
double | sum_all_a0 |
Calibration parameter for GET sum. | |
double | sum_all_a1 |
Calibration parameter for GET sum. | |
double | sum_thr_a0 |
Calibration parameter for GET sum. | |
double | sum_thr_a1 |
Calibration parameter for GET sum. | |
Variables related to preselected analysis | |
string | pad_signal_page |
Page name for automatic display of pads signal. | |
GStringList | default_analysis |
Analysis loaded at initialization. | |
![]() | |
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. | |
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. | |
u_int | cobo_number |
Number of CoBo modules controlled. | |
GETCfgSetup * | config |
Configuration data. | |
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. | |
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. | |
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) | |
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) | |
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.
|
virtual |
Function called by event reading function, to fill parameters and predefined histograms.
References bad_events, GETSystemAnalyser::BadChannelsWarning(), GETActarTpcAnalyser::ComputeSumMax(), get_analyser, GET_BAD_DATA_BASELINE, GET_BAD_DATA_DELTA, GET_BAD_DATA_READ, get_dim, GETSystemAnalyser::GetBaseFluctuationsHisto(), GETSystem::GetChannel(), GETSystemAnalyser::GetChannelsNoiseHisto(), GETSystemAnalyser::GetDataContinuityBadCount(), GETSystemAnalyser::GetDataNumberBadCount(), GETSystemAnalyser::GetFluctuationsBadCount(), GETSystemAnalyser::GetMaximumChannel(), GETSystemAnalyser::GetMaximumSignal(), GETHitMaskXY::GetNhitPads(), GETChannel::GetReadoutCount(), GETChannel::GetReadoutFlag(), GETObject::GetReadoutMultiplicity(), GETSystemAnalyser::GetResolutionHisto(), GETSystem::GetSaturationCount(), GETSystemAnalyser::GetSelectedData(), GETActarTpc::GetSignalBoundaries(), GETObject::GetTotalChannelCount(), h_max_cor, h_max_raw, ip_base_chk, ip_chan, ip_data_chk, ip_data_read, ip_max_channel, ip_max_cor, ip_max_raw, ip_max_signal, ip_noise, ip_pads_mult, ip_read_mult, ip_resol_amp, ip_saturation_count, ip_sum_all, ip_sum_thr, ip_tlen, ip_tmax, ip_tmin, ip_xlen, ip_xmax, ip_xmin, ip_ylen, ip_ymax, ip_ymin, GETChannel::OutSample(), GETActarTpc::pad_mask, pads_mult, pok_chan, pok_channels, pok_data_read, pok_max_cor, pok_max_raw, read_mult, GETChannel::RecSample(), GET::signalRec, GET::signalTst, sum_all_a0, sum_all_a1, sum_thr_a0, sum_thr_a1, and GETChannel::TstSample().
|
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 |
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 GETActarTpcAnalyser::ConfigCommand(), DefineChannelParam(), DefinePadParam(), GETLookupTable::DumpTable(), get_analyser, get_dim, get_dt, get_init, get_lookup_table, get_lt_invxy, get_lt_rpad, get_nx, get_ny, GETInit(), hok_full_out, hok_full_raw, hok_pads_t_e, hok_pads_x_e, hok_pads_xt_e, 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(), pok_data_read, pok_max_cor, pok_max_raw, ReadConfigFile(), SetDefaultAnalysis(), SetGETRunConfigFile(), sum_all_a0, sum_all_a1, sum_thr_a0, sum_thr_a1, tdim_nt, tdim_t0, and tdim_t1.
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 |
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 DefinePadParam().
|
virtual |
Function indicating that the parameters associated to selected channels have to be created, and optionally the corresponding histograms.
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 histograms are also created |
References GETSystem::cobo, GETSystem::GetChannelIndex(), GETSystem::GetCoBoNumber(), GETObject::GetTotalChannelCount(), hok_chan, hok_channels, pok_chan, and pok_channels.
|
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 |
References DefineChannelParam().
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, hok_pads, GETSystem::LookupTable(), pok_chan, and pok_channels.
|
virtual |
Function that create a pad histogram (if it is not already created) with the corresponding parameter.
ix | X pad index |
iy | Y pad index |
fill | whether the histogram is filled |
References GETSystem::cobo, get_analyser, get_dim, get_dt, GETLookupTable::GetAGet(), GetAGetId(), GETLookupTable::GetAsAd(), GetAsAdId(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GetChannelId(), GETLookupTable::GetCoBo(), GetCoBoId(), GetIndexId(), GetPadId(), GETSystemAnalyser::GetSelectedData(), hok_channels, ip_chan, GETSystem::LookupTable(), GETChannel::OutSample(), pok_chan, pok_channels, GETChannel::RecSample(), GET::signalRec, GET::signalTst, and GETChannel::TstSample().
Referenced by PadPlaneButton1DoubleClick(), and PresetAnalysis().
|
inline |
Function defining a standardized short identifier for an AGet chip.
i | AGet index (0-3) |
Referenced by DefinePadSpectrum(), and PresetAnalysis().
|
inline |
Function defining a standardized short identifier for an AsAd board.
i | Asad index (0-3) |
Referenced by DefinePadSpectrum(), and PresetAnalysis().
|
inline |
Function defining a standardized short identifier for an AGet channel.
i | channel index (0-67) |
Referenced by DefinePadSpectrum(), and PresetAnalysis().
|
inline |
Function defining a standardized short identifier for a CoBo module.
i | CoBo index |
Referenced by DefinePadSpectrum(), and PresetAnalysis().
|
inline |
Function defining a standardized short identifier for a channel of the whole GET system.
i | channel index |
Referenced by DefinePadSpectrum(), and PresetAnalysis().
|
virtual |
Function that creates the GET system.
References get_analyser, get_dim, get_dt, get_init, get_lookup_table, get_lt_invxy, get_lt_rpad, get_nx, get_ny, GETSystem::GetAnalyser(), GETObject::GetTotalChannelCount(), hok_chan, hok_pad, GETActarTpc::Init(), ip_chan, GETSystem::LookupTable(), pok_chan, GETLookupTable::Read(), GETSystem::SetAnalyser(), GETLookupTable::SetDefaultTable(), and GETSystem::SetOptions().
Referenced by ConfigCommand().
|
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(), and PresetAnalysis().
|
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_nx, get_ny, GETLookupTable::GetAGet(), GETLookupTable::GetAsAd(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GETLookupTable::GetCoBo(), GETChannel::GetSaturationCount(), 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(), GETChannel::GetSaturationCount(), GETSystem::LookupTable(), PadPlaneButton1Click(), PadPlaneButton1DoubleClick(), PadPlaneButton2Click(), and PadPlaneButton2DoubleClick().
|
virtual |
Test si le fichier de données est ouvert.
References GETSystem::IsRunFileOpen().
|
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(), and pad_signal_page.
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 that creates the analysis structures predefined from the initialization configuration file. It is called by the GETActarEventReader::RunInit function.
References GETSystemAnalyser::CreateFullEventCorHisto(), GETSystemAnalyser::CreateFullEventRawHisto(), GETActarTpcAnalyser::CreateTprojectionHisto(), GETActarTpcAnalyser::CreateXprojectionHisto(), GETActarTpcAnalyser::CreateXTamplitudeHisto(), GETActarTpcAnalyser::CreateXYamplitudeHisto(), GETActarTpcAnalyser::CreateXYhitsHisto(), GETActarTpcAnalyser::CreateXYTHisto(), GETActarTpcAnalyser::CreateXYtimeHisto(), GETActarTpcAnalyser::CreateYprojectionHisto(), GETActarTpcAnalyser::CreateYTamplitudeHisto(), default_analysis, DefinePadSpectrum(), get_analyser, get_dim, get_dt, get_nx, get_ny, GetAGetId(), GetAsAdId(), GETLookupTable::GetChannel(), GETSystem::GetChannel(), GetChannelId(), GETActarTpcAnalyser::GetChannelsNoiseHistoXY(), GetCoBoId(), GETSystem::GetCoBoNumber(), GetIndexId(), GETLookupTable::GetIpx(), GETLookupTable::GetIpy(), GetPadId(), GETObject::GetSampleDim(), GETObject::GetTimeStep(), 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, hok_full_out, hok_full_raw, hok_pad, hok_pads_t_e, hok_pads_x_e, hok_pads_xt_e, 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, GETChannel::IsFPNChannel(), GETSystemAnalyser::IsNoiseAnalysisON(), GETSystem::LookupTable(), pok_chan, pok_channels, tdim_nt, tdim_t0, and tdim_t1.
|
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 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 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 specifi reset.
Reimplemented from GETSystem.
References GETActarTpcAnalyser::ClearAnalysis(), and get_analyser.
|
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 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 quitting the analysis, when "Quit" button is clicked.
|
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.
|
virtual |
Function called after the automatic incrementation of spectra (after event processing).