/lem/pixie16/devel/scan_c++/src/detector_driver.cpp File Reference

event processing More...

#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include <malloc.h>
#include <fstream>
#include <istream>
#include <iostream>
#include <iomanip>
#include "rawevent.h"
#include "detector_driver.h"
#include "ge.h"
#include "trace.h"
#include "mcp.h"
#include "dssd_sub.h"
#include "timeclass.h"
#include "si.h"
#include "position.h"
#include "idssd_sub.h"
#include "correlator.h"
#include "advance_plot.h"

Include dependency graph for detector_driver.cpp:


void set2cc_ (const int &, const int &, const int &, const int &)
void count1cc_ (const int &, const int &, const int &)
void bantesti (const int &, const int &, const int &)
void plot (const int &dammid, const double &val1, const double &val2=-1, const double val3=-1, char *name="h")
void detectorend_ ()


Ge gesub
Trace tracesub
Mcp mcpsub
Dssd dssdsub
Idssd idssd
TimeClass timeclass
Si si
Position position
Correlator correlator
Advance_plot advanceplot

Detailed Description

event processing

In this file are the details for experimental processing of a rawevent created by the Scan_List() function in pixie_std.cpp. Event processing includes things which do not change from experiment to experiment (such as energy calibration and raw parameter plotting) and things that do (differences between and MTC and RMS experiment for example).

Function Documentation

void bantesti ( const int &  ,
const int &  ,
const int &   

DAMM 2D gate

void count1cc_ ( const int &  ,
const int &  ,
const int &   

DAMM plotting routine

void detectorend_ (  ) 

This function is called from the scan program when scan is either killed or ended. If ROOT has been enabled, close the ROOT files. If ROOT is not enabled do nothing.

void plot ( const int &  dammid,
const double &  val1,
const double &  val2 = -1,
const double  val3 = -1,
char *  name = "h" 

C++ plotting routine that is wrapped around the DAMM plotting functions

C++ plotting wrapper

The plot function is a wrapper around the DAMM plotting routines. This was done for a variety of reasons:

  • enables one command to be used for all plotting
  • allows the mechanism of plotting to be altered at any time without affecting the code
  • and allows for a smooth transition to the creation of ROOT histograms.

void set2cc_ ( const int &  ,
const int &  ,
const int &  ,
const int &   

DAMM plotting routine

Variable Documentation

An advanced plotting routine. Currently not used but someone could in principle put all plotting commands into this file instead of having them split between the different classes

A correlator object. All correlations with either the DSSD or MTC are handled by the correlator

A dssd object, used for both the front and back of the dssd. At the HRIBF this is the only dssd object needed

A generaric germanium object

An implant dssd object. Necessary for past experiment at MSU since dssd implant and decay signals had physically separate eletronic chains

An mcp object

A position object. Necessary for past MSU experiment for the position correction to the time of flight

Si si

A Si object, used for any Si that is not a DSSD

A timeclass object. Used for timing detectors such as TACs

Class to define trace analysis, if required.

Generated on Wed May 14 10:07:06 2008 for pixie16 by  doxygen 1.5.5