Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
Status_Item Class Reference

ARS STATUS. More...

#include <Ars.hh>

Inheritance diagram for Status_Item:
ARS_Item CRM_Item RTS_Item SPE_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

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

Public Attributes

unsigned char status
 ARS status.
 
unsigned int timestamp
 ARS timestamp (24 bits)
 

Friends

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

Detailed Description

ARS STATUS.

Definition at line 36 of file Ars.hh.

Constructor & Destructor Documentation

◆ Status_Item()

Status_Item::Status_Item ( )
inline

Default constructor.

Definition at line 49 of file Ars.hh.

49 :
50 status(0),
51 timestamp(0)
52 {}
unsigned int timestamp
ARS timestamp (24 bits)
Definition Ars.hh:44
unsigned char status
ARS status.
Definition Ars.hh:41

Member Function Documentation

◆ ClassDef() [1/2]

Status_Item::ClassDef ( Status_Item ,
2  )

ROOT class definition.

◆ ClassDef() [2/2]

ARS_Item::ClassDef ( ARS_Item ,
2  )
inherited

Friends And Related Symbol Documentation

◆ operator<<

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

Print ASCII.

Parameters
outoutput stream
objectStatus item
Returns
output stream

Definition at line 61 of file Ars.hh.

62 {
63 using namespace std;
64
65 return out << setw(2) << setfill('0') << hex << (int) object.status
66 << setw(6) << setfill('0') << hex << object.timestamp
67 << setfill(' ') << dec;
68 }

Member Data Documentation

◆ status

unsigned char Status_Item::status

ARS status.

Definition at line 41 of file Ars.hh.

◆ timestamp

unsigned int Status_Item::timestamp

ARS timestamp (24 bits)

Definition at line 44 of file Ars.hh.


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