BmnRoot
Loading...
Searching...
No Matches
BmnSsdHit Class Reference

data class for a reconstructed 3-d hit in the SSD More...

#include <BmnSsdHit.h>

Inheritance diagram for BmnSsdHit:
[legend]
Collaboration diagram for BmnSsdHit:
[legend]

Public Member Functions

 BmnSsdHit ()
 
 BmnSsdHit (Int_t address, const TVector3 &pos, const TVector3 &dpos, Double_t dxy, Int_t frontClusterId, Int_t backClusterId, Double_t time=0., Double_t timeError=0., Double_t du=0., Double_t dv=0.)
 
virtual ~BmnSsdHit ()
 
Int_t GetBackClusterId () const
 
Double_t GetDu () const
 Error of coordinate across front-side strips @value Coordinate error [cm].
 
Double_t GetDv () const
 Error of coordinate across front-side strips @value Coordinate error [cm].
 
Int_t GetFrontClusterId () const
 
virtual std::string ToString () const
 
- Public Member Functions inherited from BmnPixelHit
 BmnPixelHit ()
 Default constructor.
 
 BmnPixelHit (Int_t address, Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, Double_t dz, Double_t dxy, Int_t refId, Double_t time=-1., Double_t timeError=-1.)
 Standard constructor.
 
 BmnPixelHit (Int_t address, const TVector3 &pos, const TVector3 &err, Double_t dxy, Int_t refId, Double_t time=-1., Double_t timeError=-1.)
 
virtual ~BmnPixelHit ()
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetDx () const
 
Double_t GetDy () const
 
Double_t GetDxy () const
 
void Position (TVector3 &pos) const
 Copies hit position to pos.
 
void PositionError (TVector3 &dpos) const
 Copies hit position error to pos.
 
void SetX (Double_t x)
 
void SetY (Double_t y)
 
void SetDx (Double_t dx)
 
void SetDy (Double_t dy)
 
void SetDxy (Double_t dxy)
 
void SetPosition (const TVector3 &pos)
 Sets position of the hit.
 
void SetPositionError (const TVector3 &dpos)
 
- Public Member Functions inherited from BmnBaseHit
 BmnBaseHit ()
 Default constructor.
 
 BmnBaseHit (HitType _type, Double_t _z, Double_t _dz, Int_t _refId, Int_t _address, Double_t _time=-1., Double_t _timeError=-1.)
 Constructor with arguments.
 
virtual ~BmnBaseHit ()
 Destructor.
 
HitType GetType () const
 
Double_t GetZ () const
 
Double_t GetDz () const
 
Int_t GetRefId () const
 
Int_t GetAddress () const
 
BmnMatchGetMatch () const
 
Double_t GetTime () const
 
Double_t GetTimeError () const
 
void SetZ (Double_t z)
 
void SetDz (Double_t dz)
 
void SetRefId (Int_t refId)
 
void SetAddress (Int_t address)
 
void SetMatch (BmnMatch *match)
 
void SetTime (Double_t time)
 
void SetTime (Double_t time, Double_t error)
 
void SetTimeError (Double_t error)
 
virtual Int_t GetPlaneId () const
 

Additional Inherited Members

- Protected Member Functions inherited from BmnBaseHit
void SetType (HitType type)
 Sets hit type.
 
 BmnBaseHit (const BmnBaseHit &)
 
BmnBaseHitoperator= (const BmnBaseHit &)
 

Detailed Description

data class for a reconstructed 3-d hit in the SSD

A hit in the SSD is a position measurement constructed from two clusters on the front and back side of the sensors, respectively, which have a geometric intersection. In addition to the base class, it provides indices of the contributing clusters and the measurement time.

Definition at line 25 of file BmnSsdHit.h.

Constructor & Destructor Documentation

◆ BmnSsdHit() [1/2]

BmnSsdHit::BmnSsdHit ( )

Default constructor

Definition at line 16 of file BmnSsdHit.cxx.

References BmnBaseHit::SetTime(), and BmnBaseHit::SetTimeError().

◆ BmnSsdHit() [2/2]

BmnSsdHit::BmnSsdHit ( Int_t  address,
const TVector3 &  pos,
const TVector3 &  dpos,
Double_t  dxy,
Int_t  frontClusterId,
Int_t  backClusterId,
Double_t  time = 0.,
Double_t  timeError = 0.,
Double_t  du = 0.,
Double_t  dv = 0. 
)

Constructor with all parameters

Parameters
addressUnique detector address (see BmnSsdAddress)
posHit coordinate vector [cm]
dposHit coordinate error vector [cm]
dxyx-y covariance [cm**2]
frontClusterIdIndex of front-side cluster
backClusterIdIndex of back-side cluster
timeHit time [ns]
timeErrorHit time error [ns]
duCoordinate error across front-side strips [cm]
dvCoordinate error across back-side strips [cm]

Definition at line 30 of file BmnSsdHit.cxx.

References BmnBaseHit::SetTime(), and BmnBaseHit::SetTimeError().

◆ ~BmnSsdHit()

BmnSsdHit::~BmnSsdHit ( )
virtual

Destructor

Definition at line 47 of file BmnSsdHit.cxx.

Member Function Documentation

◆ GetBackClusterId()

Int_t BmnSsdHit::GetBackClusterId ( ) const
inline

Index of cluster at the back side @value Back-side cluster index

Definition at line 59 of file BmnSsdHit.h.

◆ GetDu()

Double_t BmnSsdHit::GetDu ( ) const
inline

Error of coordinate across front-side strips @value Coordinate error [cm].

Note that this error is defined only in the local coordinate system of the sensor.

Definition at line 68 of file BmnSsdHit.h.

◆ GetDv()

Double_t BmnSsdHit::GetDv ( ) const
inline

Error of coordinate across front-side strips @value Coordinate error [cm].

Note that this error is defined only in the local coordinate system of the sensor.

Definition at line 77 of file BmnSsdHit.h.

◆ GetFrontClusterId()

Int_t BmnSsdHit::GetFrontClusterId ( ) const
inline

Index of cluster at the front side @value Front-side cluster index

Definition at line 83 of file BmnSsdHit.h.

◆ ToString()

string BmnSsdHit::ToString ( ) const
virtual

The documentation for this class was generated from the following files: