Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
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 Titerator
 iterator More...
 
typedef const Tconst_iterator
 const iterator More...
 

Public Member Functions

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

Public Attributes

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

Protected Attributes

T data_ [NUMBER_OF_SAMPLES]
 data More...
 

Static Protected Attributes

static const unsigned int NUMBER_OF_SAMPLES = 128
 number of waveform samples More...
 

Detailed Description

template<class T>
class WF_Item< T >

ARS waveform.

Definition at line 264 of file Ars.hh.

Member Typedef Documentation

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

iterator

Definition at line 278 of file Ars.hh.

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

const iterator

Definition at line 279 of file Ars.hh.

Constructor & Destructor Documentation

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

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
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; }
T data_[NUMBER_OF_SAMPLES]
data
Definition: Ars.hh:274
static const unsigned int NUMBER_OF_SAMPLES
number of waveform samples
Definition: Ars.hh:271
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]; }
T data_[NUMBER_OF_SAMPLES]
data
Definition: Ars.hh:274
template<class T>
WF_Item< T >::ClassDef ( WF_Item< T ,
 
)

ROOT class definition.

WF_Header::ClassDef ( WF_Header  ,
 
)
inherited

ROOT class definition.

SPE_Item::ClassDef ( SPE_Item  ,
 
)
inherited

ROOT class definition.

Status_Item::ClassDef ( Status_Item  ,
 
)
inherited

ROOT class definition.

ARS_Item::ClassDef ( ARS_Item  ,
 
)
inherited

Member Data Documentation

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.

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

data

Definition at line 274 of file Ars.hh.

unsigned char WF_Header::waveformAddress
inherited

Waveform address.

Definition at line 245 of file Ars.hh.

unsigned char SPE_Item::avc
inherited

ARS Analogue to Voltage Convertor.

Definition at line 142 of file Ars.hh.

unsigned char SPE_Item::tvc
inherited

ARS Time to Voltage Convertor.

Definition at line 145 of file Ars.hh.

unsigned char Status_Item::status
inherited

ARS status.

Definition at line 41 of file Ars.hh.

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: