Jpp  18.0.0-rc.3
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ARS_Hit< T > Class Template Reference

Template hit. More...

#include <PhysicsEvent.hh>

Inheritance diagram for ARS_Hit< T >:

Public Types

typedef T data_type
 

Public Member Functions

 ARS_Hit ()
 Default constructor. More...
 
 ClassDef (ARS_Hit, 2)
 

Public Attributes

unsigned short lcm_id
 LCM identifier. More...
 
unsigned char ars_id
 ARS identifier. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const ARS_Hit &object)
 print ASCII More...
 

Detailed Description

template<class T>
class ARS_Hit< T >

Template hit.

Definition at line 21 of file PhysicsEvent.hh.

Member Typedef Documentation

template<class T>
typedef T ARS_Hit< T >::data_type

Definition at line 23 of file PhysicsEvent.hh.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 33 of file PhysicsEvent.hh.

33  :
34  T(),
35  lcm_id(0),
36  ars_id(0)
37  {}
do set_variable OUTPUT_DIRECTORY $WORKDIR T
unsigned short lcm_id
LCM identifier.
Definition: PhysicsEvent.hh:26
unsigned char ars_id
ARS identifier.
Definition: PhysicsEvent.hh:28

Member Function Documentation

template<class T>
ARS_Hit< T >::ClassDef ( ARS_Hit< T ,
 
)

Friends And Related Function Documentation

template<class T>
std::ostream& operator<< ( std::ostream &  out,
const ARS_Hit< T > &  object 
)
friend

print ASCII

Parameters
outoutput stream
objecthit
Returns
output stream

Definition at line 45 of file PhysicsEvent.hh.

46  {
47  using namespace std;
48 
49  out << setw(5) << (int) object. lcm_id << ' '
50  << setw(2) << (int) object. ars_id << ' ';
51  out << static_cast<const T&>(object);
52 
53  return out;
54  }
unsigned short lcm_id
LCM identifier.
Definition: PhysicsEvent.hh:26
unsigned char ars_id
ARS identifier.
Definition: PhysicsEvent.hh:28

Member Data Documentation

template<class T>
unsigned short ARS_Hit< T >::lcm_id

LCM identifier.

Definition at line 26 of file PhysicsEvent.hh.

template<class T>
unsigned char ARS_Hit< T >::ars_id

ARS identifier.

Definition at line 28 of file PhysicsEvent.hh.


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