Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
WF_Item< T > Class Template Reference

ARS waveform. More...

#include <Ars.hh>

Inheritance diagram for WF_Item< T >:
WF_Header SPE_Item Status_Item ARS_Item

Public Types

typedef T * iterator
 iterator
 
typedef const T * const_iterator
 const iterator
 

Public Member Functions

iterator begin ()
 begin iterator of waveform data
 
iterator end ()
 end iterator of waveform data
 
const T & operator[] (const int i)
 access to waveform data
 
 WF_Item ()
 Default constructor.
 
 ClassDef (WF_Item, 2)
 ROOT class definition.
 
 ClassDef (WF_Header, 2)
 ROOT class definition.
 
 ClassDef (SPE_Item, 2)
 ROOT class definition.
 
 ClassDef (Status_Item, 2)
 ROOT class definition.
 
 ClassDef (ARS_Item, 2)
 

Public Attributes

unsigned char waveformAddress
 Waveform address.
 
unsigned char avc
 ARS Analogue to Voltage Convertor.
 
unsigned char tvc
 ARS Time to Voltage Convertor.
 
unsigned char status
 ARS status.
 
unsigned int timestamp
 ARS timestamp (24 bits)
 

Protected Attributes

data_ [NUMBER_OF_SAMPLES]
 data
 

Static Protected Attributes

static const unsigned int NUMBER_OF_SAMPLES = 128
 number of waveform samples
 

Detailed Description

template<class T>
class WF_Item< T >

ARS waveform.

Definition at line 264 of file Ars.hh.

Member Typedef Documentation

◆ iterator

template<class T >
T* WF_Item< T >::iterator

iterator

Definition at line 278 of file Ars.hh.

◆ const_iterator

template<class T >
const T* WF_Item< T >::const_iterator

const iterator

Definition at line 279 of file Ars.hh.

Constructor & Destructor Documentation

◆ WF_Item()

template<class T >
WF_Item< T >::WF_Item ( )
inline

Default constructor.

Definition at line 293 of file Ars.hh.

293 :
294 WF_Header()
295 {}
WF_Header()
Default constructor.
Definition Ars.hh:250

Member Function Documentation

◆ begin()

template<class T >
iterator WF_Item< T >::begin ( )
inline

begin iterator of waveform data

Definition at line 282 of file Ars.hh.

282{ return data_; }
T data_[NUMBER_OF_SAMPLES]
data
Definition Ars.hh:274

◆ end()

template<class T >
iterator WF_Item< T >::end ( )
inline

end iterator of waveform data

Definition at line 285 of file Ars.hh.

285{ return data_ + NUMBER_OF_SAMPLES; }
static const unsigned int NUMBER_OF_SAMPLES
number of waveform samples
Definition Ars.hh:271

◆ operator[]()

template<class T >
const T & WF_Item< T >::operator[] ( const int i)
inline

access to waveform data

Definition at line 288 of file Ars.hh.

288{ return data_[i]; }

◆ ClassDef() [1/5]

template<class T >
WF_Item< T >::ClassDef ( WF_Item< T > ,
2  )

ROOT class definition.

◆ ClassDef() [2/5]

WF_Header::ClassDef ( WF_Header ,
2  )
inherited

ROOT class definition.

◆ ClassDef() [3/5]

SPE_Item::ClassDef ( SPE_Item ,
2  )
inherited

ROOT class definition.

◆ ClassDef() [4/5]

Status_Item::ClassDef ( Status_Item ,
2  )
inherited

ROOT class definition.

◆ ClassDef() [5/5]

ARS_Item::ClassDef ( ARS_Item ,
2  )
inherited

Member Data Documentation

◆ NUMBER_OF_SAMPLES

template<class T >
const unsigned int WF_Item< T >::NUMBER_OF_SAMPLES = 128
staticprotected

number of waveform samples

Definition at line 271 of file Ars.hh.

◆ data_

template<class T >
T WF_Item< T >::data_[NUMBER_OF_SAMPLES]
protected

data

Definition at line 274 of file Ars.hh.

◆ waveformAddress

unsigned char WF_Header::waveformAddress
inherited

Waveform address.

Definition at line 245 of file Ars.hh.

◆ avc

unsigned char SPE_Item::avc
inherited

ARS Analogue to Voltage Convertor.

Definition at line 142 of file Ars.hh.

◆ tvc

unsigned char SPE_Item::tvc
inherited

ARS Time to Voltage Convertor.

Definition at line 145 of file Ars.hh.

◆ status

unsigned char Status_Item::status
inherited

ARS status.

Definition at line 41 of file Ars.hh.

◆ timestamp

unsigned int Status_Item::timestamp
inherited

ARS timestamp (24 bits)

Definition at line 44 of file Ars.hh.


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