Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JCOMPASS::JOrientation Struct Reference

Orientation of module. More...

#include <JEvt.hh>

Inheritance diagram for JCOMPASS::JOrientation:
JCOMPASS::JQuaternion TObject

Public Member Functions

 JOrientation ()
 Default constructor.
 
 JOrientation (const int id, const double ts, const JQuaternion &Q, const size_t ns, const bool policy)
 Constructor.
 
 ClassDefNV (JOrientation, 2)
 
 ClassDefNV (JQuaternion, 1)
 

Public Attributes

int id
 module identifier
 
double t
 time [s]
 
size_t ns
 number of points
 
bool policy
 policy
 
double a
 
double b
 
double c
 
double d
 

Friends

std::ostream & operator<< (std::ostream &out, const JOrientation &object)
 Write orientation to output.
 

Detailed Description

Orientation of module.

Definition at line 91 of file JCompass/JEvt.hh.

Constructor & Destructor Documentation

◆ JOrientation() [1/2]

JCOMPASS::JOrientation::JOrientation ( )
inline

Default constructor.

Definition at line 98 of file JCompass/JEvt.hh.

98 :
100 id(-1),
101 t (0),
102 ns(0),
103 policy(false)
104 {}
int id
module identifier
size_t ns
number of points
JQuaternion()
Default constructor.

◆ JOrientation() [2/2]

JCOMPASS::JOrientation::JOrientation ( const int id,
const double ts,
const JQuaternion & Q,
const size_t ns,
const bool policy )
inline

Constructor.

Parameters
idmodule identifier
tstime [s]
Qorientation
nsnumber of points
policypolicy

Definition at line 116 of file JCompass/JEvt.hh.

120 :
121 JQuaternion(Q),
122 id(id),
123 t (ts),
124 ns(ns),
126 {}

Member Function Documentation

◆ ClassDefNV() [1/2]

JCOMPASS::JOrientation::ClassDefNV ( JOrientation ,
2  )

◆ ClassDefNV() [2/2]

JCOMPASS::JQuaternion::ClassDefNV ( JQuaternion ,
1  )
inherited

Friends And Related Symbol Documentation

◆ operator<<

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

Write orientation to output.

Parameters
outoutput stream
objectorientation
Returns
output stream

Definition at line 136 of file JCompass/JEvt.hh.

137 {
138 using namespace std;
139
140 out << setw(10) << object.id << ' '
141 << FIXED(20,0) << object.t << ' '
142 << static_cast<const JQuaternion&>(object) << ' '
143 << setw(3) << object.ns << ' '
144 << setw(1) << object.policy << endl;
145
146 return out;
147 }
Auxiliary data structure for floating point format specification.
Definition JManip.hh:448

Member Data Documentation

◆ id

int JCOMPASS::JOrientation::id

module identifier

Definition at line 152 of file JCompass/JEvt.hh.

◆ t

double JCOMPASS::JOrientation::t

time [s]

Definition at line 153 of file JCompass/JEvt.hh.

◆ ns

size_t JCOMPASS::JOrientation::ns

number of points

Definition at line 154 of file JCompass/JEvt.hh.

◆ policy

bool JCOMPASS::JOrientation::policy

policy

Definition at line 155 of file JCompass/JEvt.hh.

◆ a

double JCOMPASS::JQuaternion::a
inherited

Definition at line 81 of file JCompass/JEvt.hh.

◆ b

double JCOMPASS::JQuaternion::b
inherited

Definition at line 82 of file JCompass/JEvt.hh.

◆ c

double JCOMPASS::JQuaternion::c
inherited

Definition at line 83 of file JCompass/JEvt.hh.

◆ d

double JCOMPASS::JQuaternion::d
inherited

Definition at line 84 of file JCompass/JEvt.hh.


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