detector_summary Class Reference

Summary of all channels of one detector type. More...

#include <rawevent.h>

Collaboration diagram for detector_summary:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 detector_summary ()
void zerodet_summary ()
void inc_mult ()
void set_mult (int a)
void set_max_energy (double a)
void set_max_energy_loc (int a)
void set_det_name (string a)
void set_max_energy_loc_in_evt (int a)
void add_location (int a)
void clear_locations ()
int get_mult ()
double get_max_energy ()
int get_max_energy_loc ()
string get_det_name ()
int get_max_energy_loc_in_evt ()
vector< int > get_locations ()

Private Attributes

int multiplicity
double max_energy
int max_energy_loc
int max_energy_loc_in_evt
string det_name
vector< int > locations


Detailed Description

Summary of all channels of one detector type.

For each group of detectors that exists in the analysis a detector summary is created. The detector summary includes the multiplicity, maximum deposited energy, and physical location (strip number, detector number ...) where the maximum energy was deposited for a group of detectors. Also the locations in the rawevent of all channels of this type are stored in a vector as is the location in the rawevent where the maximum energy was deposited. Lastly the detector summary records the detector name to which it applies.


Constructor & Destructor Documentation

detector_summary::detector_summary (  ) 

Detector summary constructor

Nothing is done


Member Function Documentation

void detector_summary::zerodet_summary (  ) 

Detector summary zeroing

The multiplicity is set to zero. All other numerical values are set to -1 and the locations vector is cleared.

void detector_summary::inc_mult (  )  [inline]

Increment the multiplicity

void detector_summary::set_mult ( int  a  )  [inline]

Set the multiplicity to a specific value

void detector_summary::set_max_energy ( double  a  )  [inline]

Set the maximum energy deposited in this detector type

void detector_summary::set_max_energy_loc ( int  a  )  [inline]

Set the location in the detector for the maximum energy deposited.

void detector_summary::set_det_name ( string  a  )  [inline]

Set the detector type name

void detector_summary::set_max_energy_loc_in_evt ( int  a  )  [inline]

Set the location in the rawevent for the deposition of the maximum energy in this detector type.

void detector_summary::add_location ( int  a  )  [inline]

Add a location to the vector containings the locations in the rawevent of all channels of this detector type

void detector_summary::clear_locations (  )  [inline]

Clear the locations vector

int detector_summary::get_mult (  )  [inline]

Get the multiplicity

double detector_summary::get_max_energy (  )  [inline]

Get the maximum energy deposited in this detector type

int detector_summary::get_max_energy_loc (  )  [inline]

Get the location in the detector where the maximum energy was deposited.

string detector_summary::get_det_name (  )  [inline]

Get the detector type name

int detector_summary::get_max_energy_loc_in_evt (  )  [inline]

Get the location in the event where the maximum energy was deposited into this detector type

vector<int> detector_summary::get_locations (  )  [inline]

Get the locations of all channels in the rawevent that are of this detector type


Member Data Documentation

multiplicity of a detector group

double detector_summary::max_energy [private]

maximum channel energy deposited in a detector group

location in the detector group of the maximum energy deposition

location in the rawevent of the maximum energy deposition

string detector_summary::det_name [private]

detector name associated with this summary

vector<int> detector_summary::locations [private]

vector containing the locations in the rawevent of all channels belonging to this detector type


The documentation for this class was generated from the following files:

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