rawevent Class Reference

The all important rawevent. More...

#include <rawevent.h>

Collaboration diagram for rawevent:

Collaboration graph

List of all members.

Public Member Functions

 rawevent ()
void init (map< string, detector_summary > &)
void addchan ()
void zerovar (vector< string > &)
void zeroid ()
void set_det_sum (map< string, detector_summary > a)
map< string, detector_summaryget_det_sum ()
detector_summary get_det_sum_map_entry (string a)
detector_summaryget_pdet_sum_map_entry (string a)

Public Attributes

map< string, detector_summarydet_sum
chan_event chan
vector< chan_eventevent1
Correlation_structure corr
bool corr_decay
bool corr_implant

Detailed Description

The all important rawevent.

The rawevent serves as the basis for the experimental analysis. The rawevent includes a vector of individual channels that have been deemed to be close to each other in time. This determination is performed in the Scan_List function in pixie_std.cpp. The rawevent also include a map of detector summaries which contains a detector summary for each detector type that is used in the analysis. Correlation information is contained in the correlation_struncture class and two boolean flags

The rawevent is intended to be versitile enough to remain unaltered unless LARGE changes are made to the pixie16 code. Be careful when altering the rawevent.

Constructor & Destructor Documentation

rawevent::rawevent (  ) 

rawevent constructor

The channel object, vector of channels close to each other in time, and correlation object are zero by invoking their respective zeroing functions. The boolean variables are both set to false.

Member Function Documentation

void rawevent::init ( map< string, detector_summary > &  ddriver_det_sum  ) 

rawevent initialization

Set the rawevent detector summary map with the passed argument

void rawevent::addchan (  ) 

add a channel to the rawevent

A channel is added to the vector event1 which contains all the channels that are within a certain time of each other.

void rawevent::zerovar ( vector< string > &  usedev  ) 

rawevent zeroing

For any detector type that was used in the event as defined by the passed argument zero the appropriate detector summary in the map. Also zero the vector of channels and the correlation object. All boolean variables are set to false.

void rawevent::zeroid (  )  [inline]

Set the chan variable id to -1

void rawevent::set_det_sum ( map< string, detector_summary a  )  [inline]

Set the detector summary map

map<string,detector_summary> rawevent::get_det_sum (  )  [inline]

Get the detector summary map

detector_summary rawevent::get_det_sum_map_entry ( string  a  ) 

rawevent get a specific detector summary

Retrieve from the detector summary map contained in the raw event the specific detector summary that is associated with the passed string.

detector_summary * rawevent::get_pdet_sum_map_entry ( string  a  ) 

rawevent get a pointer to a specific detector summary

Retrieve from the detector summary map contained in the raw event a pointer to the specific detector summary that is associated with the passed string.

Member Data Documentation

An STL map containing detector_summary classes associated with detector types

An individual channel class that is continually reused during the creation of the channel list event1

A vector of all channels that are close to each other in time (as determined by the Scan_List function in pixie_std.cpp).

A correlation structure for this event taken are completion of a succesful correlation performed in the correlator.cpp file

Flag set to true if event was a decay

Flag set to true if event was an implant

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