PandaRoot
PndTrkSkewHit Class Reference

#include <PndTrkSkewHit.h>

Inheritance diagram for PndTrkSkewHit:
PndTrkHit

Public Member Functions

 PndTrkSkewHit ()
 
 PndTrkSkewHit (Int_t hitID, Int_t detID, Bool_t used, Int_t iregion, Int_t sensorID, TVector3 &pos, Double_t isochrone, Double_t sortvar, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta)
 
 PndTrkSkewHit (PndTrkHit &hit, Int_t trackID, TVector3 center1, TVector3 intersection1, double phi1, TVector3 center2, TVector3 intersection2, double phi2, double a, double b, int rightone, double beta)
 
 PndTrkSkewHit (PndTrkHit &hit)
 
 PndTrkSkewHit (const PndTrkSkewHit &hit)
 
PndTrkSkewHitoperator= (const PndTrkSkewHit &hit)
 
 ~PndTrkSkewHit ()
 
TVector3 GetIntersection1 ()
 
TVector3 GetIntersection2 ()
 
Double_t GetPhi1 ()
 
Double_t GetPhi2 ()
 
void SetPhi1 (Double_t phi1)
 
void SetPhi2 (Double_t phi2)
 
void Draw (Color_t color)
 
void Print ()
 
 ClassDef (PndTrkSkewHit, 1)
 
- Public Member Functions inherited from PndTrkHit
 PndTrkHit ()
 
 PndTrkHit (Int_t hitID, Int_t detID, Bool_t used, Int_t iregion, Int_t sensorID, TVector3 &pos, Double_t isochrone, Double_t sortvar)
 
 PndTrkHit (const PndTrkHit &hit)
 
 ~PndTrkHit ()
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsSortable ()
 
Int_t Compare (const TObject *hit) const
 
Bool_t operator== (const PndTrkHit &hit1)
 
Bool_t operator< (const PndTrkHit &hit1)
 
void SetIsochrone (Double_t isochrone)
 
void SetSortVariable (Double_t sortvar)
 
void SetPosition (TVector3 pos)
 
void SetPhi (Double_t phi)
 
void SetUsedFlag (Bool_t used)
 
void SetRefHitFlag (Bool_t used)
 
void SetRegion (Int_t iregion)
 
Int_t GetHitID ()
 
Int_t GetDetectorID ()
 
Bool_t IsUsed ()
 
Bool_t WasRefHit ()
 
Int_t GetSensorID ()
 
Int_t GetTubeID ()
 
TVector3 GetPosition ()
 
Double_t GetIsochrone ()
 
Int_t GetIRegion ()
 
Bool_t IsRegion (Int_t iregion)
 
Double_t GetSortVariable ()
 
Double_t GetPhi ()
 
Bool_t IsSttParallel ()
 
Bool_t IsSttSkew ()
 
Bool_t IsStt ()
 
Bool_t IsMvdPixel ()
 
Bool_t IsMvdStrip ()
 
Bool_t IsMvd ()
 
Bool_t IsGem ()
 
Bool_t IsSciTil ()
 
Double_t GetDistance (PndTrkHit *fromhit)
 
Double_t GetDistance (TVector3 frompoint)
 
Double_t GetXYDistance (PndTrkHit *fromhit)
 
Double_t GetXYDistance (TVector3 frompoint)
 
Double_t GetXYDistanceFromTrack (double x0, double y0, double R)
 
void Draw (Color_t color)
 
void DrawTube (Color_t color)
 
void Print ()
 
int GetSector ()
 
 ClassDef (PndTrkHit, 1)
 

Public Attributes

Int_t fTrackID
 
Int_t fRightIntersection
 
TVector3 fCenter1
 
TVector3 fCenter2
 
TVector3 fIntersection1
 
TVector3 fIntersection2
 
Double_t fa
 
Double_t fb
 
Double_t fPhi1
 
Double_t fPhi2
 
Double_t fBeta
 
- Public Attributes inherited from PndTrkHit
Int_t fHitID
 
Int_t fDetectorID
 
Int_t fIRegion
 
Int_t fSensorID
 
Bool_t fUsed
 
Bool_t fUsedAsRefHit
 
TVector3 fPosition
 
Double_t fIsochrone
 
Double_t fSortVariable
 
Double_t fPhi
 
Double_t fSector
 

Detailed Description

PndTrkSkewHit Class for pattern recognition hit

Author
Lia Lavezzi

fSensorID: identifies the specific sensor of the MVD, the specific tube of the STT

Definition at line 16 of file PndTrkSkewHit.h.

Constructor & Destructor Documentation

◆ PndTrkSkewHit() [1/5]

PndTrkSkewHit::PndTrkSkewHit ( )

◆ PndTrkSkewHit() [2/5]

PndTrkSkewHit::PndTrkSkewHit ( Int_t  hitID,
Int_t  detID,
Bool_t  used,
Int_t  iregion,
Int_t  sensorID,
TVector3 &  pos,
Double_t  isochrone,
Double_t  sortvar,
Int_t  trackID,
TVector3  center1,
TVector3  intersection1,
double  phi1,
TVector3  center2,
TVector3  intersection2,
double  phi2,
double  a,
double  b,
int  rightone,
double  beta 
)

◆ PndTrkSkewHit() [3/5]

PndTrkSkewHit::PndTrkSkewHit ( PndTrkHit hit,
Int_t  trackID,
TVector3  center1,
TVector3  intersection1,
double  phi1,
TVector3  center2,
TVector3  intersection2,
double  phi2,
double  a,
double  b,
int  rightone,
double  beta 
)

◆ PndTrkSkewHit() [4/5]

PndTrkSkewHit::PndTrkSkewHit ( PndTrkHit hit)

◆ PndTrkSkewHit() [5/5]

PndTrkSkewHit::PndTrkSkewHit ( const PndTrkSkewHit hit)

◆ ~PndTrkSkewHit()

PndTrkSkewHit::~PndTrkSkewHit ( )

Member Function Documentation

◆ ClassDef()

PndTrkSkewHit::ClassDef ( PndTrkSkewHit  ,
 
)

◆ Draw()

void PndTrkSkewHit::Draw ( Color_t  color)

Referenced by SetPhi2().

◆ GetIntersection1()

TVector3 PndTrkSkewHit::GetIntersection1 ( )
inline

Definition at line 31 of file PndTrkSkewHit.h.

References fIntersection1.

31 { return fIntersection1; }
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:46

◆ GetIntersection2()

TVector3 PndTrkSkewHit::GetIntersection2 ( )
inline

Definition at line 32 of file PndTrkSkewHit.h.

References fIntersection2.

32 { return fIntersection2; }
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:46

◆ GetPhi1()

Double_t PndTrkSkewHit::GetPhi1 ( )
inline

Definition at line 34 of file PndTrkSkewHit.h.

References fPhi1.

34 { return fPhi1; }
Double_t fPhi1
Definition: PndTrkSkewHit.h:47

◆ GetPhi2()

Double_t PndTrkSkewHit::GetPhi2 ( )
inline

Definition at line 35 of file PndTrkSkewHit.h.

References fPhi2.

35 { return fPhi2; }
Double_t fPhi2
Definition: PndTrkSkewHit.h:47

◆ operator=()

PndTrkSkewHit& PndTrkSkewHit::operator= ( const PndTrkSkewHit hit)

◆ Print()

void PndTrkSkewHit::Print ( )

Referenced by SetPhi2().

◆ SetPhi1()

void PndTrkSkewHit::SetPhi1 ( Double_t  phi1)
inline

Definition at line 37 of file PndTrkSkewHit.h.

References fPhi1.

37 { fPhi1 = phi1; }
Double_t fPhi1
Definition: PndTrkSkewHit.h:47

◆ SetPhi2()

void PndTrkSkewHit::SetPhi2 ( Double_t  phi2)
inline

Definition at line 38 of file PndTrkSkewHit.h.

References Draw(), fPhi2, and Print().

38 { fPhi2 = phi2; }
Double_t fPhi2
Definition: PndTrkSkewHit.h:47

Member Data Documentation

◆ fa

Double_t PndTrkSkewHit::fa

Definition at line 47 of file PndTrkSkewHit.h.

◆ fb

Double_t PndTrkSkewHit::fb

Definition at line 47 of file PndTrkSkewHit.h.

◆ fBeta

Double_t PndTrkSkewHit::fBeta

Definition at line 47 of file PndTrkSkewHit.h.

◆ fCenter1

TVector3 PndTrkSkewHit::fCenter1

Definition at line 46 of file PndTrkSkewHit.h.

◆ fCenter2

TVector3 PndTrkSkewHit::fCenter2

Definition at line 46 of file PndTrkSkewHit.h.

◆ fIntersection1

TVector3 PndTrkSkewHit::fIntersection1

Definition at line 46 of file PndTrkSkewHit.h.

Referenced by GetIntersection1().

◆ fIntersection2

TVector3 PndTrkSkewHit::fIntersection2

Definition at line 46 of file PndTrkSkewHit.h.

Referenced by GetIntersection2().

◆ fPhi1

Double_t PndTrkSkewHit::fPhi1

Definition at line 47 of file PndTrkSkewHit.h.

Referenced by GetPhi1(), and SetPhi1().

◆ fPhi2

Double_t PndTrkSkewHit::fPhi2

Definition at line 47 of file PndTrkSkewHit.h.

Referenced by GetPhi2(), and SetPhi2().

◆ fRightIntersection

Int_t PndTrkSkewHit::fRightIntersection

Definition at line 45 of file PndTrkSkewHit.h.

◆ fTrackID

Int_t PndTrkSkewHit::fTrackID

Definition at line 45 of file PndTrkSkewHit.h.


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