Project
Loading...
Searching...
No Matches
o2::tpc::AdcClockMonitor Class Reference

Class to monitor the ADC smapling clock contained in the GBT frame. More...

#include <AdcClockMonitor.h>

Public Member Functions

 AdcClockMonitor ()
 Default Constructor.
 
 AdcClockMonitor (int sampa)
 Constructor.
 
 AdcClockMonitor (const AdcClockMonitor &other)
 Copy Constructor.
 
 ~AdcClockMonitor ()
 Destructor.
 
void reset ()
 Reset function to clear history.
 
int addSequence (const short seq)
 
int getState ()
 

Detailed Description

Class to monitor the ADC smapling clock contained in the GBT frame.

Definition at line 30 of file AdcClockMonitor.h.

Constructor & Destructor Documentation

◆ AdcClockMonitor() [1/3]

AdcClockMonitor::AdcClockMonitor ( )

Default Constructor.

Definition at line 20 of file AdcClockMonitor.cxx.

◆ AdcClockMonitor() [2/3]

AdcClockMonitor::AdcClockMonitor ( int  sampa)

Constructor.

Definition at line 25 of file AdcClockMonitor.cxx.

◆ AdcClockMonitor() [3/3]

AdcClockMonitor::AdcClockMonitor ( const AdcClockMonitor other)
default

Copy Constructor.

◆ ~AdcClockMonitor()

AdcClockMonitor::~AdcClockMonitor ( )
default

Destructor.

Member Function Documentation

◆ addSequence()

int AdcClockMonitor::addSequence ( const short  seq)

Checks whether new sequence is valid

Parameters
seqNew sequence of 4 bits
Returns
Returns outcome of the check, 1 for an error, 0 otherwise

Definition at line 42 of file AdcClockMonitor.cxx.

◆ getState()

int o2::tpc::AdcClockMonitor::getState ( )
inline

Get the state of the ADC monitor

Returns
Returns outcome of monitor, 1 for an error, 0 otherwise

Definition at line 55 of file AdcClockMonitor.h.

◆ reset()

void AdcClockMonitor::reset ( )

Reset function to clear history.

Definition at line 34 of file AdcClockMonitor.cxx.


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