 |
Belle II Software
release-05-02-19
|
13 #include <framework/datastore/RelationsObject.h>
14 #include <framework/gearbox/Const.h>
16 #include <TMatrixDSym.h>
17 #include <G4ThreeVector.hh>
18 #include <G4ErrorSymMatrix.hh>
26 enum ExtHitStatus { EXT_FIRST = -1, EXT_ENTER, EXT_EXIT, EXT_STOP, EXT_ESCAPE,
28 EXT_ECLCROSS, EXT_ECLDL, EXT_ECLNEAR
50 const TVector3& r,
const TVector3& p,
const TMatrixDSym& e);
63 const G4ThreeVector& r,
const G4ThreeVector& p,
const G4ErrorSymMatrix& e);
111 for (
int k = 0; k < 21; ++k) {
162 const G4ThreeVector& r,
const G4ThreeVector& p,
const G4ErrorSymMatrix& e);
float m_TOF
time of flight (ns)
int getPdgCode() const
Get PDG code of this extrapolation's hypothesis.
TVector3 getPosition() const
Get position of this extrapolation hit.
float m_Momentum[3]
momentum (GeV/c)
double getErrorPhi() const
Get the uncertainty in the azimuthal angle phi (radians)
ClassDef(ExtHit, 8)
Needed to make the ROOT object storable.
Const::EDetector getDetectorID() const
Get detector ID of this extrapolation hit.
void setMomentum(const TVector3 &momentum)
Set momentum at this extrapolation hit.
Const::EDetector m_DetectorID
detector ID
void setTOF(double tof)
Set time of flight from the point of closest approach near the origin to this hit.
ExtHit()
Empty constructor for ROOT IO (needed to make the class storable)
void setCovariance(double covArray[21])
Set phase-space covariance at this extrapolation hit.
double getTOF() const
Get time of flight from the point of closest approach near the origin to this hit.
virtual ~ExtHit()
Destructor.
void setStatus(ExtHitStatus extHitStatus)
Set state of extrapolation at this hit.
EDetector
Enum for identifying the detector components (detector and subdetector).
ExtHitStatus
Define state of extrapolation for each recorded hit.
float m_Position[3]
position (cm)
void setPosition(const TVector3 &position)
Set position of this extrapolation hit.
Store one Ext hit as a ROOT object.
ExtHitStatus getStatus() const
Get state of extrapolation at this hit.
Abstract base class for different kinds of events.
void setDetectorID(Const::EDetector detectorID)
Set detector ID of this extrapolation hit.
void setBackwardPropagation(bool backwardPropagation)
Set the direction of track propagation.
void setPDGCode(int pdgCode)
Set PDG code of this extrapolation's hypothesis.
double getPolarCovariance(int i) const
Get diagonal elemment of the 3x3 position-covariance matrix in polar coordinates (r,...
bool m_BackwardPropagation
Direction of track propagation.
float m_Covariance[21]
phase-space covariance (symmetric 6x6 linearized to 6*(6+1)/2: position & momentum in cm & GeV/c)
ExtHitStatus m_Status
extrapolation state
int getCopyID() const
Get detector-element ID of sensitive element within detector.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
void update(ExtHitStatus status, double t, const G4ThreeVector &r, const G4ThreeVector &p, const G4ErrorSymMatrix &e)
Update the parameters of this extrapolation hit.
TVector3 getMomentum() const
Get momentum at this extrapolation hit.
ExtHit & operator=(const ExtHit &)
Assignment operator.
double getLength() const
Get path length from start of extrapolation to closest approach to ECL cluster (for EXT_ECLDL only)
double getErrorTheta() const
Get the uncertainty in the azimuthal angle phi (radians)
bool isBackwardPropagated() const
Get the direction of track propagation.
void setCopyID(int copyID)
Set detector-element ID of sensitive element within detector.
TMatrixDSym getCovariance() const
Get phase-space covariance at this extrapolation hit.