identifier Class Reference

channel identification More...

#include <rawevent.h>

Collaboration diagram for identifier:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void set_dammid (int a)
void set_det_type (string a)
void set_det_subtype (string a)
void set_det_location (int a)
int get_dammid ()
string get_det_type ()
string get_det_subtype ()
int get_det_location ()
 identifier ()
void zeroid ()

Private Attributes

int dammid
string det_type
string det_subtype
int det_location


Detailed Description

channel identification

All parameters needed to uniquely specify the detector connected to a specific channel are set here. A vector of identifiers for all channels is created on initialization in the Init_IDmap function. Each event that is created in the Scan_List function in the pixie_std.cpp file has its channels identifier attached to it in the variable chanid inside rawevent.


Constructor & Destructor Documentation

identifier::identifier (  ) 

Identifier constructor

The dammid and detector location variable are set to -1 and the detector type and sub type are both set to "" when an identifier object is created.


Member Function Documentation

void identifier::set_dammid ( int  a  )  [inline]

Set the dammid

void identifier::set_det_type ( string  a  )  [inline]

Set the detector type

void identifier::set_det_subtype ( string  a  )  [inline]

Set the detector sub type

void identifier::set_det_location ( int  a  )  [inline]

Set the detector location

int identifier::get_dammid (  )  [inline]

Get the dammid

string identifier::get_det_type (  )  [inline]

Get the detector type

string identifier::get_det_subtype (  )  [inline]

Get the detector sub type

int identifier::get_det_location (  )  [inline]

Get the detector location

void identifier::zeroid (  ) 

Identifier zero

The dammid and detector location variable are reset to -1 and the detector type and sub type are both reset to "" when an identifier object is zeroed.


Member Data Documentation

int identifier::dammid [private]

Damm spectrum number for plotting raw energies

string identifier::det_type [private]

Specifies the detector type

string identifier::det_subtype [private]

Specifies the detector sub type

int identifier::det_location [private]

Specifies the real world location of the the channel. For the DSSD is variable is the strip number


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