PMT Namespace Reference
[BaseBaseBase]

Defines constants for PMT electronics. More...


Typedefs

typedef UInt_t semapho_t
 Used for semapho.
typedef UInt_t word_t
 Used as a data word format for the PMT electronics.
typedef UShort_t timeslice_t
 Used as a unit of digitized time.
typedef UShort_t ch_adc_t
 Used as a unit of digitized ADC count.
typedef UShort_t ch_number_t
 Channel number type definition.
typedef std::vector< ch_adc_tch_waveform_t
 Channel waveform type definition.

Enumerations

enum  DISCRIMINATOR {
  BASE_DISC = 0, COSMIC_DISC, MICHEL_DISC, BEAM_DISC,
  BEAM_WIN, DISC_MAX
}
 PMT discriminator type. More...
enum  PMT_WORD {
  UNDEFINED_WORD = 0, EVENT_HEADER, FEM_HEADER, FEM_FIRST_WORD,
  CHANNEL_HEADER, CHANNEL_WORD, CHANNEL_LAST_WORD, FEM_LAST_WORD,
  EVENT_LAST_WORD
}
 Defines PMT word-type. More...

Variables

const PMT::ch_number_t INVALID_CH = 0xffff
 Invalid (or initialized) channel number.
const PMT::word_t INVALID_WORD = 0xffffffff
 Invalid (or initialized) event word.
const PMT::word_t EMPTY_WORD = 0x0
 Empty word.
const PMT::word_t BEAMGATE_NSAMPLE = 1500
 # samples in the beamgate
const PMT::ch_number_t NUM_PMT_CHANNEL = 40
 # of PMT readout channels
const PMT::ch_adc_t MAX_ADC = 4095
 Maximum ADC value.


Detailed Description

Defines constants for PMT electronics.

Typedef Documentation

typedef UInt_t PMT::semapho_t

Used for semapho.

Definition at line 23 of file types.hh.

typedef UInt_t PMT::word_t

Used as a data word format for the PMT electronics.

Definition at line 24 of file types.hh.

typedef UShort_t PMT::timeslice_t

Used as a unit of digitized time.

Definition at line 25 of file types.hh.

typedef UShort_t PMT::ch_adc_t

Used as a unit of digitized ADC count.

Definition at line 26 of file types.hh.

typedef UShort_t PMT::ch_number_t

Channel number type definition.

Definition at line 27 of file types.hh.

typedef std::vector<ch_adc_t> PMT::ch_waveform_t

Channel waveform type definition.

Definition at line 28 of file types.hh.


Enumeration Type Documentation

enum PMT::DISCRIMINATOR

PMT discriminator type.

Enumerator:
BASE_DISC  lowest disc. threshold so-called disc. 0
COSMIC_DISC  discriminator for cosmics
MICHEL_DISC  discriminator for michel electrons (not used, just a place hlder)
BEAM_DISC  discriminator for signal within the beam window
BEAM_WIN  discriminator for beam window (forced N samples read-out)
DISC_MAX 

Definition at line 80 of file constants.hh.

00080                      {
00081     BASE_DISC = 0, 
00082     COSMIC_DISC,   
00083     MICHEL_DISC,   
00084     BEAM_DISC,     
00085     BEAM_WIN,      
00086     DISC_MAX
00087   };

enum PMT::PMT_WORD

Defines PMT word-type.

Enumerator:
UNDEFINED_WORD  Word type ... undefined.
EVENT_HEADER  A signal word (no data) to flag the start of headers.
FEM_HEADER  Event header word.
FEM_FIRST_WORD  First word in the event (after the event header, before channel data ).
CHANNEL_HEADER  Channel header word.
CHANNEL_WORD  Channel word such as ADC sample.
CHANNEL_LAST_WORD  Last word per channel-wise readout.
FEM_LAST_WORD  Last word per fem.
EVENT_LAST_WORD  Last word in the event.

Definition at line 105 of file constants.hh.

00105                {
00106     UNDEFINED_WORD = 0, 
00107     EVENT_HEADER,       
00108     FEM_HEADER,         
00109     FEM_FIRST_WORD,     
00110     CHANNEL_HEADER,     
00111     CHANNEL_WORD,       
00112     CHANNEL_LAST_WORD,  
00113     FEM_LAST_WORD,      
00114     EVENT_LAST_WORD     
00115   };


Variable Documentation

const PMT::ch_number_t PMT::INVALID_CH = 0xffff

Invalid (or initialized) channel number.

Definition at line 71 of file constants.hh.

Referenced by pulse_info::clear_data(), algo_pmt_xmit::clear_event(), algo_slow_readout_decoder::init_event_info(), tpc_waveform::init_vars(), pmt_waveform::init_vars(), led_pulse_selector::initialize(), led_pulse_selector::led_pulse_selector(), pulse_viewer::next_channel(), pulse_viewer::reset_cuts(), pulse_selector_simple::reset_cuts(), and pmtbaseline_ana::reset_cuts().

const PMT::word_t PMT::INVALID_WORD = 0xffffffff

Invalid (or initialized) event word.

Definition at line 72 of file constants.hh.

Referenced by algo_slow_readout_decoder::algo_slow_readout_decoder(), bin_word_search::bin_word_search(), algo_fem_decoder_base::InfoFEM_t::clear_event(), algo_slow_readout_decoder::init_event_info(), trig_info::init_vars(), tpc_wf_collection::init_vars(), pmt_wf_collection::init_vars(), pmt_waveform::init_vars(), algo_trig_decoder::is_event_empty(), algo_slow_readout_decoder::is_event_empty(), algo_fem_decoder_base::is_event_empty(), main(), algo_tpc_xmit::process_event_header(), algo_tpc_huffman::process_event_last_word(), algo_fem_decoder_base::process_word(), algo_fem_decoder_base::reset(), xmit_event_search::run(), and xmit_event_search::xmit_event_search().

const PMT::word_t PMT::EMPTY_WORD = 0x0

Empty word.

Definition at line 73 of file constants.hh.

Referenced by led_pulse_selector::initialize(), led_pulse_selector::led_pulse_selector(), bin_io_handler::read_multi_word(), and bin_io_handler::read_word().

const PMT::word_t PMT::BEAMGATE_NSAMPLE = 1500

# samples in the beamgate

Definition at line 75 of file constants.hh.

Referenced by beamgate_debugger::initialize().

const PMT::ch_number_t PMT::NUM_PMT_CHANNEL = 40

# of PMT readout channels

Definition at line 76 of file constants.hh.

Referenced by beamgate_debugger::initialize(), pulse_viewer::reset_cuts(), pulse_selector_simple::reset_cuts(), and pmtbaseline_ana::reset_cuts().

const PMT::ch_adc_t PMT::MAX_ADC = 4095

Maximum ADC value.

Definition at line 77 of file constants.hh.

Referenced by beamgate_debugger::initialize().


Generated on Mon Apr 7 15:35:13 2014 for MyProject by  doxygen 1.4.7