Definition of the one-dimensional track stubs.
More...
#include "QwTreeLine.h"
#include <cmath>
#include "QwHit.h"
#include "QwHitPattern.h"
#include "QwHitContainer.h"
Go to the source code of this file.
Definition of the one-dimensional track stubs.
- Author
- Wouter Deconinck wdcon.nosp@m.inc@.nosp@m.mit.e.nosp@m.du
-
Jie Pan jpan@.nosp@m.jlab.nosp@m..org
- Date
- Sun May 24 11:05:29 CDT 2009
Definition in file QwTreeLine.cc.
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const QwTreeLine & |
tl |
|
) |
| |
Stream some info about the tree line
- Parameters
-
stream | Stream as lhs of the operator |
tl | Tree line as rhs of the operator |
- Returns
- Stream as result of the operator
Definition at line 340 of file QwTreeLine.cc.
References QwTreeLine::a_beg, QwTreeLine::a_end, QwTreeLine::b_beg, QwTreeLine::b_end, Qw::cm, QwTreeLine::fAverageResidual, QwTreeLine::fChi, QwTreeLine::fOffset, QwTreeLine::fQwHits, QwTreeLine::fSlope, VQwTrackingElement::GetDirection(), VQwTrackingElement::GetPackage(), VQwTrackingElement::GetPlane(), VQwTrackingElement::GetRegion(), QwTreeLine::IsVoid(), and kRegionIDNull.
343 stream << tl.
a_beg <<
"," << tl.
a_end <<
" -- ";
350 stream <<
"/" << tl.
GetPlane() <<
")";
356 stream <<
", fSlope = " << tl.
fSlope;
358 stream <<
", fChi = " << tl.
fChi;
359 stream <<
"; hits (" << tl.
fQwHits.size() <<
"):";
360 for (
size_t hit = 0; hit < tl.
fQwHits.size(); hit++)
361 stream <<
" " << tl.
fQwHits.at(hit)->GetPlane() <<
":" << tl.
fQwHits.at(hit)->GetElement();
363 if (tl.
IsVoid()) stream <<
" (void)";
double fChi
chi squared(?)
double fOffset
track offset
double fAverageResidual
///< link to next list element
std::vector< QwHit * > fQwHits
List of hits in this tree line.
EQwRegionID GetRegion() const
Get the region.
int GetPlane() const
Get the plane number.
int b_end
bin in last layer
bool IsVoid() const
Is this tree line void?
int a_end
bin in first layer
EQwDirectionID GetDirection() const
Get the direction.
EQwDetectorPackage GetPackage() const
Get the package.
static const double cm
Length units: base unit is mm.