12#include <tracking/dataobjects/ExtHit.h>
13#include <arich/dataobjects/ARICHPhoton.h>
14#include <arich/dataobjects/ARICHAeroHit.h>
16#include <Math/Vector2D.h>
50 ROOT::Math::XYZVector momentum)
53 m_x = (float) position.X();
54 m_y = (float) position.Y();
55 m_z = (float) position.Z();
57 momentum = momentum.Unit();
58 m_dx = (float) momentum.X();
59 m_dy = (float) momentum.Y();
60 m_dz = (float) momentum.Z();
73 m_x = (float) pos.X();
74 m_y = (float) pos.Y();
75 m_z = (float) pos.Z();
80 m_dx = (float) mom.X();
81 m_dy = (float) mom.Y();
82 m_dz = (float) mom.Z();
94 m_x = (float) pos.X();
95 m_y = (float) pos.Y();
96 m_z = (float) pos.Z();
101 m_dx = (float) mom.X();
102 m_dy = (float) mom.Y();
103 m_dz = (float) mom.Z();
174 m_dx = (float) dir.X();
175 m_dy = (float) dir.Y();
176 m_dz = (float) dir.Z();
Datastore class that holds information on track parameters at the entrance in aerogel.
ROOT::Math::XYZVector getMomentum() const
Get track momentum (at entrance in 1. aerogel plane)
ROOT::Math::XYZVector getPosition() const
Get track position (at entrance in 1. aerogel plane)
Struct for ARICH reconstructed photon (hit related to track) information.
Datastore class that holds position and momentum information of tracks that hit ARICH.
ARICHTrack(const ExtHit *extHit)
Constructor from ExtHit.
ClassDef(ARICHTrack, 2)
the class title
ARICHTrack()
Empty constructor for ROOT IO.
void setReconstructedValues(ROOT::Math::XYZVector r, ROOT::Math::XYZVector dir, double p)
Sets the reconstructed value of track parameters.
ARICHTrack(const ARICHAeroHit *aeroHit)
Constructor from ARICHAeroHit.
ARICHTrack(ROOT::Math::XYZVector position, ROOT::Math::XYZVector momentum)
Useful constructor.
float m_dy
Reconstructed direction.
float m_dx
Reconstructed direction.
bool hitsWindow() const
Returns true if track hits HAPD window.
ROOT::Math::XYZVector getDirection() const
returns track direction vector
void setHapdWindowHit(const ExtHit *extHit)
Set information about hit on HAPD window.
void setHapdWindowHit(double x, double y)
Set information about hit on HAPD window.
float m_momentum
Reconstructed momentum.
const std::vector< ARICHPhoton > & getPhotons() const
Returns vector of ARICHPhoton's associated with track.
float m_winY
y position of track extrapolated to HAPD plane
float m_winX
x position of track extrapolated to HAPD plane
float m_y
Reconstructed position.
float m_dz
Reconstructed direction.
void addPhoton(ARICHPhoton photon)
Add ARICHPhoton to collection of photons.
ROOT::Math::XYZVector getPosition() const
returns track position vector
std::vector< ARICHPhoton > m_photons
collection of ARICHPhotons associated with the track
bool m_hitWin
true if track hits HAPD window
float m_z
Reconstructed position.
float m_x
Reconstructed position.
ROOT::Math::XYVector windowHitPosition() const
Get HAPD window hit position.
double getMomentum() const
returns track momentum
Store one Ext hit as a ROOT object.
ROOT::Math::XYZVector getMomentum() const
Get momentum at this extrapolation hit.
ROOT::Math::XYZVector getPosition() const
Get position of this extrapolation hit.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.