12 #include <tracking/dataobjects/ExtHit.h>
13 #include <arich/dataobjects/ARICHPhoton.h>
14 #include <arich/dataobjects/ARICHAeroHit.h>
50 m_x = (float) position.X();
51 m_y = (float) position.Y();
52 m_z = (float) position.Z();
54 momentum = momentum.Unit();
55 m_dx = (float) momentum.X();
56 m_dy = (float) momentum.Y();
57 m_dz = (float) momentum.Z();
70 m_x = (float) pos.X();
71 m_y = (float) pos.Y();
72 m_z = (float) pos.Z();
77 m_dx = (float) mom.X();
78 m_dy = (float) mom.Y();
79 m_dz = (float) mom.Z();
91 m_x = (float) pos.X();
92 m_y = (float) pos.Y();
93 m_z = (float) pos.Z();
98 m_dx = (float) mom.X();
99 m_dy = (float) mom.Y();
100 m_dz = (float) mom.Z();
171 m_dx = (float) dir.X();
172 m_dy = (float) dir.Y();
173 m_dz = (float) dir.Z();
Datastore class that holds information on track parameters at the entrance in aerogel.
TVector3 getMomentum() const
Get track momentum (at entrance in 1. aerogel plane)
TVector3 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(TVector3 r, TVector3 dir, double p)
Sets the reconstructed value of track parameters.
ARICHTrack(const ARICHAeroHit *aeroHit)
Constructor from ARICHAeroHit.
const std::vector< ARICHPhoton > & getPhotons() const
Returns vector of ARICHPhoton's associated with track.
float m_dy
Reconstructed direction.
float m_dx
Reconstructed direction.
bool hitsWindow() const
Returns true if track hits HAPD window.
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.
float m_winY
y position of track extrapolated to HAPD plane
ARICHTrack(TVector3 position, TVector3 momentum)
Useful constructor.
float m_winX
x position of track extrapolated to HAPD plane
TVector3 getPosition() const
returns track position vector
float m_y
Reconstructed position.
float m_dz
Reconstructed direction.
void addPhoton(ARICHPhoton photon)
Add ARICHPhoton to collection of photons.
std::vector< ARICHPhoton > m_photons
collection of ARICHPhotons associated with the track
TVector2 windowHitPosition() const
Get HAPD window hit position.
bool m_hitWin
true if track hits HAPD window
float m_z
Reconstructed position.
float m_x
Reconstructed position.
TVector3 getDirection() const
returns track direction vector
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.