Determination of the time residual vector of hits for a track along z-axis (JFIT::JLine1Z).
More...
#include <JVectorNZ.hh>
Determination of the time residual vector of hits for a track along z-axis (JFIT::JLine1Z).
Definition at line 25 of file JVectorNZ.hh.
◆ JVectorNZ() [1/2]
JFIT::JVectorNZ::JVectorNZ |
( |
| ) |
|
|
inline |
◆ JVectorNZ() [2/2]
template<class T >
JFIT::JVectorNZ::JVectorNZ |
( |
const JLine1Z & |
track, |
|
|
T |
__begin, |
|
|
T |
__end |
|
) |
| |
|
inline |
Constructor.
The template argument T
refers to an iterator of a data structure which should have the following member methods:
- double getX(); // [m]
- double getY(); // [m]
- double getZ(); // [m]
- double getT(); // [ns]
- Parameters
-
track | track |
__begin | begin of data |
__end | end of data |
Definition at line 51 of file JVectorNZ.hh.
56 set(track, __begin, __end);
◆ set()
template<class T >
void JFIT::JVectorNZ::set |
( |
const JLine1Z & |
track, |
|
|
T |
__begin, |
|
|
T |
__end |
|
) |
| |
|
inline |
Set time residual vector.
The template argument T
refers to an iterator of a data structure which should have the following member methods:
- double getX(); // [m]
- double getY(); // [m]
- double getZ(); // [m]
- double getT(); // [ns]
- Parameters
-
track | track |
__begin | begin of data |
__end | end of data |
Definition at line 74 of file JVectorNZ.hh.
82 for (T hit = __begin; hit != __end; ++hit) {
83 this->push_back(hit->getT() - track.
getT(JVector3D(hit->getX(),
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JVectorNZ & |
Y |
|
) |
| |
|
friend |
Print ASCII formatted output.
- Parameters
-
out | output stream |
Y | Y vector |
- Returns
- output stream
Definition at line 97 of file JVectorNZ.hh.
103 for (JVectorNZ::const_iterator i = Y.begin(); i != Y.end(); ++i) {
104 out << showpos <<
SCIENTIFIC(10,2) << *i <<
' ';
The documentation for this class was generated from the following file: