Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
SPE_Item Class Reference

ARS SPE. More...

#include <Ars.hh>

Inheritance diagram for SPE_Item:
Status_Item ARS_Item ARS_Hit< SPE_Item > WF_Header SPE_Hit WF_Item< AWF_Sample > WF_Item< DWF_Sample > WF_Item< T > TriggeredSPE_Hit AWF_Item DWF_Item ARS_Hit< AWF_Item > ARS_Hit< DWF_Item > AWF_Hit DWF_Hit

Public Member Functions

 SPE_Item ()
 Default constructor.
 
 ClassDef (SPE_Item, 2)
 ROOT class definition.
 
 ClassDef (Status_Item, 2)
 ROOT class definition.
 
 ClassDef (ARS_Item, 2)
 

Public Attributes

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)
 

Friends

std::ostream & operator<< (std::ostream &out, const SPE_Item &object)
 Print ASCII.
 

Detailed Description

ARS SPE.

Definition at line 137 of file Ars.hh.

Constructor & Destructor Documentation

◆ SPE_Item()

SPE_Item::SPE_Item ( )
inline

Default constructor.

Definition at line 150 of file Ars.hh.

150 :
151 Status_Item(),
152 avc(0),
153 tvc(0)
154 {}
unsigned char avc
ARS Analogue to Voltage Convertor.
Definition Ars.hh:142
unsigned char tvc
ARS Time to Voltage Convertor.
Definition Ars.hh:145
Status_Item()
Default constructor.
Definition Ars.hh:49

Member Function Documentation

◆ ClassDef() [1/3]

SPE_Item::ClassDef ( SPE_Item ,
2  )

ROOT class definition.

◆ ClassDef() [2/3]

Status_Item::ClassDef ( Status_Item ,
2  )
inherited

ROOT class definition.

◆ ClassDef() [3/3]

ARS_Item::ClassDef ( ARS_Item ,
2  )
inherited

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const SPE_Item & object )
friend

Print ASCII.

Parameters
outoutput stream
objectSPE item
Returns
output stream

Definition at line 163 of file Ars.hh.

164 {
165 using namespace std;
166
167 out << static_cast<const Status_Item&>(object);
168 out << setw(2) << setfill('0') << hex << (int) object.avc
169 << setw(2) << setfill('0') << hex << (int) object.tvc
170 << setfill(' ') << dec;
171
172 return out;
173 }

Member Data Documentation

◆ avc

unsigned char SPE_Item::avc

ARS Analogue to Voltage Convertor.

Definition at line 142 of file Ars.hh.

◆ tvc

unsigned char SPE_Item::tvc

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: