Baseline Class Reference

Set baseline parameters. More...

#include <Baseline.h>

Inheritance diagram for Baseline:
Table

List of all members.

Public Member Functions

 Baseline (const TGWindow *p, const TGWindow *main, char *name, int columns=3, int rows=16, int NumModules=13)
 Constructor, arrange windows and set titles and commands.
virtual ~Baseline ()
 Default destructor, currently empty.
Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
 Process gui messages.
int change_values (Long_t mod)
 change values of 2 parameters in all 16 channels
int load_info (Long_t mod)
 Load all three parameter values from module.
void SetModuleNumber (int moduleNr)
 Select the current module number.

Public Attributes

short int modNumber
 Current module number.
unsigned short chanNumber
 Current channel number.
bool Load_Once
 Flag set when data loaded.
TGNumberEntry * chanCopy
float blcut
 Number entry for channel to copy from.
float blpercent
 blpercent from the copied channel

Detailed Description

Set baseline parameters.

Defines under what conditions Pixie16 recomputes baselines

Note:
  • Pixie16 parameters BLCUT and BASELINEPERCENT

Constructor & Destructor Documentation

Baseline::Baseline ( const TGWindow *  p,
const TGWindow *  main,
char *  name,
int  columns = 3,
int  rows = 16,
int  NumModules = 13 
)

Constructor, arrange windows and set titles and commands.

Baseline window sets Pixie16 parameters BLCUT and BASELINE_PERCENT


Member Function Documentation

int Baseline::change_values ( Long_t  mod  ) 

change values of 2 parameters in all 16 channels

Change values for 2 parameters in all 16 channels

Parameters:
mod Module number
Returns:
int Set to one
int Baseline::load_info ( Long_t  mod  ) 

Load all three parameter values from module.

Parameters:
mod Module number
Bool_t Baseline::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
)

Process gui messages.

Cancel Button


Member Data Documentation

Number entry for channel to copy from.

blcut from the copied channel


The documentation for this class was generated from the following files:
 All Classes Functions Variables
Generated on Thu Feb 16 22:47:02 2012 for nscope-1.0 by  doxygen 1.6.3