Public Member Functions | Public Attributes | List of all members
AdcChannelDftPlotter::State Class Reference

Public Member Functions

SubStatejobState ()
 
SubStateeventState ()
 
int setEventChannelRange (Index a_event, Name crn)
 

Public Attributes

SubState m_ss [2]
 
Index event = 0
 
NameVector eventChannelRanges
 

Detailed Description

Definition at line 158 of file AdcChannelDftPlotter.h.

Member Function Documentation

SubState& AdcChannelDftPlotter::State::eventState ( )
inline

Definition at line 161 of file AdcChannelDftPlotter.h.

161 { return m_ss[1]; };
SubState& AdcChannelDftPlotter::State::jobState ( )
inline

Definition at line 160 of file AdcChannelDftPlotter.h.

160 { return m_ss[0]; };
int AdcChannelDftPlotter::State::setEventChannelRange ( Index  a_event,
Name  crn 
)
inline

Definition at line 169 of file AdcChannelDftPlotter.h.

169  {
170  if ( event != a_event ) {
171  event = a_event;
172  eventChannelRanges.clear();
173  }
174  if ( find(eventChannelRanges.begin(), eventChannelRanges.end(), crn)
175  != eventChannelRanges.end() ) return 1;
176  eventChannelRanges.push_back(crn);
177  return 0;
178  }
Event finding and building.

Member Data Documentation

Index AdcChannelDftPlotter::State::event = 0

Definition at line 164 of file AdcChannelDftPlotter.h.

NameVector AdcChannelDftPlotter::State::eventChannelRanges

Definition at line 165 of file AdcChannelDftPlotter.h.

SubState AdcChannelDftPlotter::State::m_ss[2]

Definition at line 161 of file AdcChannelDftPlotter.h.


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