Jpp 20.0.0-rc.2
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 ARS_Item CRM_Item CRM_Item RTS_Item RTS_Item SPE_Item SPE_Item ARS_Hit< SPE_Item > ARS_Hit< SPE_Item > WF_Header WF_Header ARS_Hit< SPE_Item > ARS_Hit< SPE_Item > WF_Header WF_Header

Public Member Functions

 Status_Item ()
 Default constructor.
 
 ClassDef (Status_Item, 2)
 ROOT class definition.
 
 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.
 
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() [1/2]

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

◆ Status_Item() [2/2]

Status_Item::Status_Item ( )
inline

Default constructor.

Definition at line 49 of file build/antares-dataformat/Ars.hh.

49 :
50 status(0),
51 timestamp(0)
52 {}

Member Function Documentation

◆ ClassDef() [1/3]

Status_Item::ClassDef ( Status_Item ,
2  )

ROOT class definition.

◆ ClassDef() [2/3]

Status_Item::ClassDef ( Status_Item ,
2  )

ROOT class definition.

◆ ClassDef() [3/3]

ARS_Item::ClassDef ( ARS_Item ,
2  )
inherited

Friends And Related Symbol Documentation

◆ operator<< [1/2]

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 }

◆ operator<< [2/2]

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 build/antares-dataformat/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 files: