9#include "tracking/vxdCaTracking/ExporterHitInfo.h"
10#include <boost/lexical_cast.hpp>
11#include <tracking/dataobjects/FullSecID.h>
15using boost::lexical_cast;
21 std::string output = lexical_cast<std::string>(
m_hitPos.
X()) +
" " + lexical_cast<std::string>
22 (
m_hitPos.
Y()) +
" " + lexical_cast<std::string>
30 std::string output = lexical_cast<std::string>(
getParticleID()) +
" " + lexical_cast<std::string>(
float(
m_hitPos.
X())) +
" " +
31 lexical_cast<std::string>(
float(
m_hitPos.
Y())) +
" " + lexical_cast<std::string>(
float(
m_hitPos.
Z())) +
" " +
41 std::string output = lexical_cast<std::string>(
m_covVal.
X()) +
" " + lexical_cast<std::string>
42 (
m_covVal.
Y()) +
" " + lexical_cast<std::string>
51 std::string output = lexical_cast<std::string>(
m_layerID) +
" " + lexical_cast<std::string>(
m_hitID) +
" " +
52 lexical_cast<std::string>
DataType Z() const
access variable Z (= .at(2) without boundary check)
DataType X() const
access variable X (= .at(0) without boundary check)
DataType Y() const
access variable Y (= .at(1) without boundary check)
std::string getPositionFormatted()
Output of position in a string file: it is a line with Xpos[empty space]Ypos[empty space]Zpos.
int m_hitID
an event wise unique ID for the hit, which is a modified index number of truehit attached to this hit...
double m_sensorAngle
the angle between the orthogonal vector of the sensor plane of the hit and the x-axis.
int m_layerID
layerID, for PXD, this is normally 1 or 2, for SVD its typically 3-6
std::string getSimpleHitFormatted()
Output of simple hit info in a string file:
uInt m_sectorID
stores the sector ID on current sensor for current hit
B2Vector3D m_covVal
carries relevant values of the covariance matrix for the hit.
std::string getAdditionalInfoFormatted()
Output of additional information in a string file: it is a line with layerID[empty space]hitID[empty ...
int getParticleID() const
returns particleID of linked particle for recognition.
std::string getCovValuesFormatted()
Output of covValues in a string file: it is a line with CovUU[empty space]CovUV[empty space]CovVV.
B2Vector3D m_hitPos
global coordinates of hit
Class to identify a sector inside of the VXD.
Abstract base class for different kinds of events.