FixedWindowMEGenerator::Detector_t Struct Reference

List of all members.

Public Member Functions

 Detector_t ()
 Detector_t (const SourceDetPulseMap::const_iterator &pair)
void Init (const SourceDetPulseMap::const_iterator &pair)
void Reset ()

Public Attributes

const IDs::sourcesource
const DetectorPulseListpulses
DetectorPulseList::const_iterator start_window
DetectorPulseList::const_iterator end_window

Detailed Description

Definition at line 9 of file FixedWindowMEGenerator.h.


Constructor & Destructor Documentation

FixedWindowMEGenerator::Detector_t::Detector_t (  )  [inline]

Definition at line 14 of file FixedWindowMEGenerator.h.

00014 :source(NULL),pulses(NULL){};

FixedWindowMEGenerator::Detector_t::Detector_t ( const SourceDetPulseMap::const_iterator &  pair  )  [inline]

Definition at line 15 of file FixedWindowMEGenerator.h.

References Init().

00015                                                                :
00016             source(NULL),pulses(NULL){ Init(pair);}
        void Init(const SourceDetPulseMap::const_iterator& pair){


Member Function Documentation

void FixedWindowMEGenerator::Detector_t::Init ( const SourceDetPulseMap::const_iterator &  pair  )  [inline]

Definition at line 17 of file FixedWindowMEGenerator.h.

References pulses, Reset(), and source.

Referenced by Detector_t().

00017                                                               {
00018             source=&pair->first;
00019             pulses=&pair->second;
00020             Reset();
00021         }

void FixedWindowMEGenerator::Detector_t::Reset (  )  [inline]

Definition at line 22 of file FixedWindowMEGenerator.h.

References end_window, pulses, and start_window.

Referenced by Init(), and FixedWindowMEGenerator::Reset().

00022                     {
00023             if(pulses){
00024                 start_window=pulses->begin();
00025                 end_window=pulses->begin();
00026             }
00027         }


Member Data Documentation

DetectorPulseList::const_iterator FixedWindowMEGenerator::Detector_t::end_window

Definition at line 13 of file FixedWindowMEGenerator.h.

Referenced by FixedWindowMEGenerator::AddPulsesInWindow(), and Reset().

DetectorPulseList::const_iterator FixedWindowMEGenerator::Detector_t::start_window

Definition at line 12 of file FixedWindowMEGenerator.h.

Referenced by FixedWindowMEGenerator::AddPulsesInWindow(), and Reset().


The documentation for this struct was generated from the following file:

Generated on 15 Jun 2016 for AlcapDAQ by  doxygen 1.6.1