FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
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)
 
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 DrawTube (Color_t color)
 
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
 
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 17 of file PndTrkSkewHit.h.

Constructor & Destructor Documentation

PndTrkSkewHit::PndTrkSkewHit ( )

Definition at line 21 of file PndTrkSkewHit.cxx.

21 : PndTrkHit(), fTrackID(-1), fRightIntersection(-1), fCenter1(0., 0., 0.), fCenter2(0., 0., 0.), fIntersection1(0., 0., 0.), fIntersection2(0., 0., 0.), fa(-1), fb(-1), fPhi1(0), fPhi2(0), fBeta(0) {}
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
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 
)

Definition at line 23 of file PndTrkSkewHit.cxx.

23 : PndTrkHit(hitID, detID, used, iregion, sensorID, pos, isochrone, sortvar), fTrackID(trackID), fRightIntersection(rightone), fCenter1(center1), fCenter2(center2), fIntersection1(intersection1), fIntersection2(intersection2), fa(a), fb(b), fPhi1(phi1), fPhi2(phi2), fBeta(beta) {}
TVector3 pos
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
TTree * b
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
Int_t a
Definition: anaLmdDigi.C:126
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
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 
)

Definition at line 25 of file PndTrkSkewHit.cxx.

25 : PndTrkHit(hit), fTrackID(trackID), fRightIntersection(rightone), fCenter1(center1), fCenter2(center2), fIntersection1(intersection1), fIntersection2(intersection2), fa(a), fb(b), fPhi1(phi1), fPhi2(phi2), fBeta(beta) {}
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
TTree * b
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
Int_t a
Definition: anaLmdDigi.C:126
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
PndTrkSkewHit::PndTrkSkewHit ( PndTrkHit hit)

Definition at line 28 of file PndTrkSkewHit.cxx.

28 : PndTrkHit(hit), fTrackID(-1), fRightIntersection(-1), fCenter1(0., 0., 0.), fCenter2(0., 0., 0.), fIntersection1(0., 0., 0.), fIntersection2(0., 0., 0.), fa(-1), fb(-1), fPhi1(0), fPhi2(0), fBeta(0) {}
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
PndTrkSkewHit::PndTrkSkewHit ( const PndTrkSkewHit hit)

Definition at line 31 of file PndTrkSkewHit.cxx.

References hit.

31  : PndTrkHit(hit), fTrackID(-1), fRightIntersection(-1), fCenter1(0., 0., 0.), fCenter2(0., 0., 0.), fIntersection1(0., 0., 0.), fIntersection2(0., 0., 0.), fa(-1), fb(-1), fPhi1(0), fPhi2(0), fBeta(0) {
32  *this = hit;
33 }
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
PndSdsMCPoint * hit
Definition: anasim.C:70
PndTrkSkewHit::~PndTrkSkewHit ( )

Definition at line 35 of file PndTrkSkewHit.cxx.

35 {}

Member Function Documentation

PndTrkSkewHit::ClassDef ( PndTrkSkewHit  ,
 
)
PndTrkHit::ClassDef ( PndTrkHit  ,
 
)
inherited
Int_t PndTrkHit::Compare ( const TObject *  hit) const
inherited

Definition at line 69 of file PndTrkHit.cxx.

References PndTrkHit::fSortVariable.

69  {
70  // Compare abstract method. Must be overridden if a class wants to be able
71  // to compare itself with other objects. Must return -1 if this is smaller
72  // than obj, 0 if objects are equal and 1 if this is larger than obj.
73  // cout << "comparison " << fSortVariable<< " " << ((PndTrkHit*) hit)->fSortVariable << " " << (fSortVariable < ((PndTrkHit*) hit)->fSortVariable) << " " << (fSortVariable == ((PndTrkHit*) hit)->fSortVariable) << endl;
74  if(fSortVariable < ((PndTrkHit*) hit)->fSortVariable) return -1;
75  else if(fSortVariable == ((PndTrkHit*) hit)->fSortVariable) return 0;
76  else return 1;
77 }
Double_t fSortVariable
Definition: PndTrkHit.h:104
PndSdsMCPoint * hit
Definition: anasim.C:70
void PndTrkSkewHit::Draw ( Color_t  color)

Definition at line 54 of file PndTrkSkewHit.cxx.

References fa, fb, fBeta, fCenter1, fCenter2, PndTrkHit::fUsed, and style().

Referenced by PndTrkSkewHitList::Draw().

54  {
55  Int_t style = 1;
56  if(fUsed && color == kBlack) {
57  style = 0;
58  color = kGray;
59  }
60 
61  TEllipse *ell1 = new TEllipse(fCenter1.X(), fCenter1.Y(), fa, fb, 0, 360, -fBeta);
62  ell1->SetFillStyle(style);
63  ell1->SetLineColor(color);
64  ell1->Draw("SAME");
65 
66  TEllipse *ell2 = new TEllipse(fCenter2.X(), fCenter2.Y(), fa, fb, 0, 360, -fBeta);
67  ell2->SetFillStyle(style);
68  ell2->SetLineColor(color-5);
69  ell2->Draw("SAME");
70 }
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
void style()
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Bool_t fUsed
Definition: PndTrkHit.h:100
void PndTrkHit::DrawTube ( Color_t  color)
inherited

Definition at line 178 of file PndTrkHit.cxx.

References PndTrkHit::fIRegion, PndTrkHit::fPosition, PndTrkHit::fUsed, and TUBERADIUS.

Referenced by PndTrkLegendreNew::CreateClusterAroundTrack(), PndTrkCombiLegendreTask::CreateClusterAroundTrack(), PndTrkCombiLegendreTask::CreateClusterAroundTrack2(), PndTrkCombiLegendreTask::CreateClusterAroundTrack3(), PndTrkLegendreNew::DrawLists(), PndTrkLegendreNew::DrawNeighboringsToHit(), PndTrkCombiLegendreTask::DrawNeighboringsToHit(), PndTrkTrackFinder::DrawNeighboringsToHit(), and PndTrkCombiLegendreTask::Exec().

178  {
179  // cout << "draw "<< fIRegion << endl;
180  //Int_t style = 1; // [R.K. 03/2017] Unused variables
181  if(fUsed && color == kBlack) {
182  //style = 0; // [R.K. 03/2017] Unused variables
183  color = kGray;
184  }
185  TMarker *mrk = NULL;
186  TArc *arc = NULL;
187 
188  switch(fIRegion) {
189  case 0:
190  {
191  mrk = new TMarker(fPosition.X(), fPosition.Y(), 21);
192  break;
193  }
194  case 1:
195  {
196  mrk = new TMarker(fPosition.X(), fPosition.Y(), 25);
197  break;
198  }
199  case 2:
200  case 6:
201  case 3:
202  case 7:
203  {
204  arc = new TArc(fPosition.X(), fPosition.Y(), TUBERADIUS);
205  break;
206  }
207  case 4:
208  case 5:
209  {
210  // arc = new TArc(fPosition.X(), fPosition.Y(), TUBERADIUS); // CHECK skew
211  mrk = new TMarker(fPosition.X(), fPosition.Y(), 3);
212  break;
213  }
214  }
215 
216  if(mrk) {
217  mrk->SetMarkerColor(color);
218  mrk->Draw("SAME");
219  }
220  if(arc) {
221  arc->SetFillColor(color);
222  arc->SetLineColor(color);
223 // arc->SetFillStyle(style);
224  arc->Draw("SAME");
225  }
226 
227 
228 }
Int_t fIRegion
Definition: PndTrkHit.h:99
TVector3 fPosition
Definition: PndTrkHit.h:102
Bool_t fUsed
Definition: PndTrkHit.h:100
#define TUBERADIUS
Int_t PndTrkHit::GetDetectorID ( )
inlineinherited
Double_t PndTrkHit::GetDistance ( PndTrkHit fromhit)
inherited

Definition at line 83 of file PndTrkHit.cxx.

References PndTrkHit::GetPosition().

Referenced by PndTrkCluster::AddClusterAndSortFrom(), PndTrkClean::CheckPairOfHits(), PndTrkLegendreSecTask::Cleanup(), PndTrkLegendreTask::Cleanup(), PndTrkLegendreSecTask2::Cleanup(), and PndTrkCluster::SortFromHit().

83  {
84  TVector3 frompoint = fromhit->GetPosition();
85  TVector3 position = GetPosition();
86  return GetDistance(frompoint);
87 }
Double_t GetDistance(PndTrkHit *fromhit)
Definition: PndTrkHit.cxx:83
TVector3 GetPosition()
Definition: PndTrkHit.h:62
Double_t PndTrkHit::GetDistance ( TVector3  frompoint)
inherited

Definition at line 89 of file PndTrkHit.cxx.

References PndTrkHit::GetPosition().

89  {
90  TVector3 position = GetPosition();
91  return (position - frompoint).Mag();
92 }
TVector3 GetPosition()
Definition: PndTrkHit.h:62
Int_t PndTrkHit::GetHitID ( )
inlineinherited

Definition at line 56 of file PndTrkHit.h.

References PndTrkHit::fHitID.

Referenced by PndTrkCombiLegendreTask::CleanTrack(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndTrkTrack::ConvertToPndTrackCand(), PndTrkCombiLegendreTask::DoesBelong(), PndTrkLegendreNew::DrawNeighboringsToHit(), PndTrkCombiLegendreTask::DrawNeighboringsToHit(), PndTrkTrackFinder::DrawNeighboringsToHit(), PndTrkLegendreNew::Exec(), PndTrkCombiLegendreTask::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto(), PndTrkLegendreNew::FindMvdPixelReferenceHit(), PndTrkLegendreSecTask::FindMvdPixelReferenceHit(), PndTrkLegendreTask::FindMvdPixelReferenceHit(), PndTrkCombiLegendreTask::FindMvdPixelReferenceHit(), PndTrkTrackFinder::FindMvdPixelReferenceHit(), PndTrkLegendreSecTask2::FindMvdPixelReferenceHit(), PndTrkLegendreNew::FindMvdStripReferenceHit(), PndTrkLegendreSecTask::FindMvdStripReferenceHit(), PndTrkLegendreTask::FindMvdStripReferenceHit(), PndTrkCombiLegendreTask::FindMvdStripReferenceHit(), PndTrkTrackFinder::FindMvdStripReferenceHit(), PndTrkLegendreSecTask2::FindMvdStripReferenceHit(), PndTrkLegendreNew::FindReferenceHit(), PndTrkCombiLegendreTask::FindReferenceHit(), PndTrkTrackFinder::FindReferenceHit(), PndTrkLegendreSecTask2::FindReferenceHit(), PndTrkConformalHit::GetHitID(), PndTrkNeighboringMap::GetIndivisiblesToHit(), PndTrkNeighboringMap::GetNeighboringsToHit(), PndTrkConformalHit::Print(), PndTrkCluster::Print(), PndTrkNeighboringMap::PrintIndivisibleMap(), PndTrkCluster::PrintList(), PndTrkClean::SplitAtHit(), and PndTrkCluster::SplitAtHit().

56 { return fHitID; }
Int_t fHitID
Definition: PndTrkHit.h:99
TVector3 PndTrkSkewHit::GetIntersection1 ( )
inline
TVector3 PndTrkSkewHit::GetIntersection2 ( )
inline
Int_t PndTrkHit::GetIRegion ( )
inlineinherited
Double_t PndTrkHit::GetIsochrone ( )
inlineinherited

Definition at line 63 of file PndTrkHit.h.

References PndTrkHit::fIsochrone.

Referenced by PndTrkLegendreSecTask2::AddHitToClusterByDistance(), PndTrkTrackFinder::Apollonius(), PndTrkTrackFinder::CircleBy3Points(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndTrkLegendreSecTask::CreateClusterByDistance(), PndTrkLegendreTask::CreateClusterByDistance(), PndTrkLegendreSecTask2::CreateClusterByDistance(), PndTrkLegendreSecTask::CreateClusterByRealDistance(), PndTrkLegendreTask::CreateClusterByRealDistance(), PndTrkLegendreSecTask2::CreateClusterByRealDistance(), PndTrkLegendreTask::CreateSkewHitList(), PndTrkLegendreSecTask::CreateSkewHitList(), PndTrkLegendreSecTask2::CreateSkewHitList(), PndTrkTrackFinder::CreateSkewHitList(), PndTrkCombiLegendreTask::DoesBelong(), PndTrkTrackFinder::Exec(), PndTrkLegendreNew::FindReferenceHit(), PndTrkCombiLegendreTask::FindReferenceHit(), PndTrkTrackFinder::FindReferenceHit(), PndTrkLegendreSecTask2::FindReferenceHit(), PndTrkLegendreNew::FindSttReferenceHit(), PndTrkLegendreTask::FindSttReferenceHit(), PndTrkLegendreSecTask::FindSttReferenceHit(), PndTrkCombiLegendreTask::FindSttReferenceHit(), PndTrkLegendreSecTask2::FindSttReferenceHit(), PndTrkTrackFinder::FindSttReferenceHit(), PndTrkConformalTransform::GetConformalSttHit(), PndTrkLegendreNew::IntersectionFinder(), PndTrkCombiLegendreTask::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), PndTrkTrackFinder::MinuitFit2(), PndTrkLegendreTask::ZPhiFit(), PndTrkLegendreSecTask::ZPhiFit(), and PndTrkLegendreSecTask2::ZPhiFit().

63 { return fIsochrone; }
Double_t fIsochrone
Definition: PndTrkHit.h:103
Double_t PndTrkHit::GetPhi ( )
inlineinherited
Double_t PndTrkSkewHit::GetPhi1 ( )
inline
Double_t PndTrkSkewHit::GetPhi2 ( )
inline
TVector3 PndTrkHit::GetPosition ( )
inlineinherited

Definition at line 62 of file PndTrkHit.h.

References PndTrkHit::fPosition.

Referenced by PndTrkLegendreSecTask2::AddHitToClusterByDistance(), PndTrkTrackFinder::AnalyticalFit(), PndTrkLegendreNew::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalParabolaFit(), PndTrkTrackFinder::Apollonius(), PndTrkCluster::CheckClusterAgainsV(), PndTrkTrackFinder::CircleBy3Points(), PndTrkLegendreSecTask::CleanupZPhiFit(), PndTrkLegendreTask::CleanupZPhiFit(), PndTrkLegendreSecTask2::CleanupZPhiFit(), PndTrkTrack::ComputeCharge(), PndTrkLegendreNew::ComputeTraAndRot(), PndTrkLegendreSecTask::ComputeTraAndRot(), PndTrkLegendreTask::ComputeTraAndRot(), PndTrkCombiLegendreTask::ComputeTraAndRot(), PndTrkLegendreSecTask2::ComputeTraAndRot(), PndTrkTrackFinder::ComputeTraAndRot(), PndTrkLegendreSecTask::ComputeZRediduals(), PndTrkLegendreTask::ComputeZRediduals(), PndTrkLegendreSecTask2::ComputeZRediduals(), PndTrkTrack::ConvertToPndTrack(), PndTrkLegendreTask::CorrectZ(), PndTrkLegendreSecTask::CorrectZ(), PndTrkLegendreSecTask2::CorrectZ(), PndTrkCombiLegendreTask::CreateClusterAroundTrack2(), PndTrkLegendreSecTask::CreateClusterByDistance(), PndTrkLegendreTask::CreateClusterByDistance(), PndTrkLegendreSecTask2::CreateClusterByDistance(), PndTrkLegendreSecTask::CreateClusterByMixedDistance(), PndTrkLegendreTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask2::CreateClusterByMixedDistance(), PndTrkLegendreTask::CreateClusterByRealDistance(), PndTrkLegendreSecTask::CreateClusterByRealDistance(), PndTrkLegendreSecTask2::CreateClusterByRealDistance(), PndTrkTrack::Draw(), PndTrkLegendreSecTask::Exec(), PndTrkLegendreTask::Exec(), PndTrkLegendreSecTask2::Exec(), PndTrkTrackFinder::Exec(), PndTrkConformalTransform::GetConformalHit(), PndTrkConformalTransform::GetConformalSttHit(), PndTrkHit::GetDistance(), PndTrkHit::GetXYDistance(), PndTrkTrackFinder::MinuitFit(), PndTrkTrackFinder::MinuitFit2(), PndTrkCluster::SortFromHit(), PndTrkClean::SplitAtHit(), PndTrkCluster::SplitAtHit(), PndTrkCluster::SplitV(), PndTrkLegendreTask::ZPhiFit(), PndTrkLegendreSecTask::ZPhiFit(), and PndTrkLegendreSecTask2::ZPhiFit().

62 { return fPosition; }
TVector3 fPosition
Definition: PndTrkHit.h:102
int PndTrkHit::GetSector ( )
inlineinherited

Definition at line 95 of file PndTrkHit.h.

References PndTrkHit::fSector.

Referenced by PndTrkTrackFinder::Exec().

95 { return fSector; }
Double_t fSector
Definition: PndTrkHit.h:106
Int_t PndTrkHit::GetSensorID ( )
inlineinherited
Double_t PndTrkHit::GetSortVariable ( )
inlineinherited

Definition at line 66 of file PndTrkHit.h.

References PndTrkHit::fSortVariable.

Referenced by PndTrkTrackFinder::Exec(), PndTrkCluster::Print(), and PndTrkCluster::ReverseSort().

66 { return fSortVariable; }
Double_t fSortVariable
Definition: PndTrkHit.h:104
Int_t PndTrkHit::GetTubeID ( )
inlineinherited

Definition at line 61 of file PndTrkHit.h.

References PndTrkHit::fSensorID.

Referenced by PndTrkSttHitList::AddHit(), PndTrkNeighboringMap::AddNeighboringsToHit(), PndTrkClean::CheckPairOfHits(), PndTrkClean::CheckSectorDistribution(), PndTrkClean::CleanSectors(), PndTrkCombiLegendreTask::CleanTrack(), PndTrkLegendreSecTask::Cleanup(), PndTrkLegendreTask::Cleanup(), PndTrkLegendreSecTask2::Cleanup(), PndTrkLegendreSecTask::CorrectZ(), PndTrkLegendreTask::CorrectZ(), PndTrkLegendreSecTask2::CorrectZ(), PndTrkTrackFinder::CountPossibleTracks(), PndTrkLegendreNew::CountTracksInCluster(), PndTrkCombiLegendreTask::CountTracksInCluster(), PndTrkTrackFinder::CountTracksInCluster(), PndTrkLegendreNew::CreateClusterAroundTrack(), PndTrkCombiLegendreTask::CreateClusterAroundTrack(), PndTrkTrackFinder::CreateClusterAroundTrack(), PndTrkCombiLegendreTask::CreateClusterAroundTrack2(), PndTrkLegendreNew::CreateFullClusterization(), PndTrkCombiLegendreTask::CreateFullClusterization(), PndTrkTrackFinder::CreateFullClusterization(), PndTrkLegendreTask::CreateSkewHitList(), PndTrkLegendreSecTask::CreateSkewHitList(), PndTrkLegendreSecTask2::CreateSkewHitList(), PndTrkTrackFinder::CreateSkewHitList(), PndTrkLegendreNew::DrawLists(), PndTrkCombiLegendreTask::DrawLists(), PndTrkTrackFinder::DrawLists(), PndTrkLegendreNew::DrawNeighboringsToHit(), PndTrkCombiLegendreTask::DrawNeighboringsToHit(), PndTrkTrackFinder::DrawNeighboringsToHit(), PndTrkLegendreSecTask2::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreNew::FillHitMap(), PndTrkTrackFinder::FillHitMap(), PndTrkCombiLegendreTask::FillHitMap(), PndTrkNeighboringMap::GetCandseeds(), PndTrkNeighboringMap::GetSeeds(), PndTrkLegendreNew::IntersectionFinder(), PndTrkCombiLegendreTask::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), PndTrkNeighboringMap::PrintIndivisibleMap(), and PndTrkClean::SplitAtHit().

61 { return fSensorID; }
Int_t fSensorID
Definition: PndTrkHit.h:99
Double_t PndTrkHit::GetXYDistance ( PndTrkHit fromhit)
inherited
Double_t PndTrkHit::GetXYDistance ( TVector3  frompoint)
inherited

Definition at line 100 of file PndTrkHit.cxx.

References PndTrkHit::GetPosition().

100  {
101  TVector3 position = GetPosition();
102  return (position - frompoint).Perp();
103 }
TVector3 GetPosition()
Definition: PndTrkHit.h:62
Double_t PndTrkHit::GetXYDistanceFromTrack ( double  x0,
double  y0,
double  R 
)
inherited
virtual Bool_t PndTrkHit::IsEqual ( const TObject *  obj) const
inlinevirtualinherited

Definition at line 30 of file PndTrkHit.h.

References PndTrkHit::fDetectorID, and PndTrkHit::fHitID.

30  {
31  return (((PndTrkHit *) obj)->fDetectorID == fDetectorID) && (((PndTrkHit *) obj)->fHitID == fHitID);
32  }
Int_t fDetectorID
Definition: PndTrkHit.h:99
Int_t fHitID
Definition: PndTrkHit.h:99
Bool_t PndTrkHit::IsGem ( )
inlineinherited

Definition at line 80 of file PndTrkHit.h.

References PndTrkHit::fIRegion, and GEM.

Referenced by PndTrkTrackFinder::AnalyticalFit(), PndTrkTrackFinder::AnalyticalParabolaFit(), and PndTrkTrackFinder::Exec().

80 { return fIRegion == GEM; }
#define GEM
Int_t fIRegion
Definition: PndTrkHit.h:99
Bool_t PndTrkHit::IsMvd ( )
inlineinherited

Definition at line 77 of file PndTrkHit.h.

References PndTrkHit::IsMvdPixel(), and PndTrkHit::IsMvdStrip().

Referenced by PndTrkClean::CheckPairOfHits(), PndTrkTrackFinder::Exec(), and PndTrkCluster::GetMvdHitList().

77 { return IsMvdStrip() || IsMvdPixel(); }
Bool_t IsMvdPixel()
Definition: PndTrkHit.h:75
Bool_t IsMvdStrip()
Definition: PndTrkHit.h:76
Bool_t PndTrkHit::IsMvdPixel ( )
inlineinherited
Bool_t PndTrkHit::IsMvdStrip ( )
inlineinherited
Bool_t PndTrkHit::IsRegion ( Int_t  iregion)
inlineinherited
Bool_t PndTrkHit::IsSciTil ( )
inlineinherited

Definition at line 83 of file PndTrkHit.h.

References PndTrkHit::fIRegion, and SCIT.

Referenced by PndTrkTrackFinder::AnalyticalFit(), PndTrkTrackFinder::AnalyticalParabolaFit(), and PndTrkTrackFinder::Exec().

83 { return fIRegion == SCIT; }
#define SCIT
Int_t fIRegion
Definition: PndTrkHit.h:99
virtual Bool_t PndTrkHit::IsSortable ( )
inlinevirtualinherited

Definition at line 34 of file PndTrkHit.h.

References PndTrkHit::fSortVariable.

34 { return !(fSortVariable == -1); }
Double_t fSortVariable
Definition: PndTrkHit.h:104
Bool_t PndTrkHit::IsStt ( )
inlineinherited
Bool_t PndTrkHit::IsSttParallel ( )
inlineinherited

Definition at line 70 of file PndTrkHit.h.

References PndTrkHit::fIRegion, INNER_LEFT, INNER_RIGHT, OUTER_LEFT, and OUTER_RIGHT.

Referenced by PndTrkLegendreNew::AnalyticalFit(), PndTrkTrackFinder::AnalyticalFit(), PndTrkCombiLegendreTask::AnalyticalFit(), PndTrkTrackFinder::AnalyticalParabolaFit(), PndTrkClean::CheckPairOfHits(), PndTrkLegendreTask::CleanupZPhiFit(), PndTrkLegendreSecTask::CleanupZPhiFit(), PndTrkLegendreSecTask2::CleanupZPhiFit(), PndTrkLegendreTask::ComputeZRediduals(), PndTrkLegendreSecTask::ComputeZRediduals(), PndTrkLegendreSecTask2::ComputeZRediduals(), PndTrkLegendreSecTask::CorrectZ(), PndTrkLegendreTask::CorrectZ(), PndTrkLegendreSecTask2::CorrectZ(), PndTrkLegendreNew::CountTracksInCluster(), PndTrkCombiLegendreTask::CountTracksInCluster(), PndTrkTrackFinder::CountTracksInCluster(), PndTrkLegendreNew::CreateClusterAroundTrack(), PndTrkTrackFinder::CreateClusterAroundTrack(), PndTrkLegendreSecTask2::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkLegendreNew::FillConformalHitList(), PndTrkCombiLegendreTask::FillConformalHitList(), PndTrkTrackFinder::FillConformalHitList(), PndTrkLegendreNew::FindReferenceHit(), PndTrkCombiLegendreTask::FindReferenceHit(), PndTrkTrackFinder::FindReferenceHit(), PndTrkLegendreSecTask2::FindReferenceHit(), PndTrkCluster::GetSttParallelHitList(), PndTrkHit::IsStt(), PndTrkTrackFinder::MinuitFit(), PndTrkTrackFinder::MinuitFit2(), PndTrkLegendreTask::ZPhiFit(), PndTrkLegendreSecTask::ZPhiFit(), and PndTrkLegendreSecTask2::ZPhiFit().

#define INNER_LEFT
#define INNER_RIGHT
Int_t fIRegion
Definition: PndTrkHit.h:99
#define OUTER_RIGHT
#define OUTER_LEFT
Bool_t PndTrkHit::IsSttSkew ( )
inlineinherited

Definition at line 71 of file PndTrkHit.h.

References PndTrkHit::fIRegion, SKEW_LEFT, and SKEW_RIGHT.

Referenced by PndTrkLegendreNew::AnalyticalFit(), PndTrkTrackFinder::AnalyticalFit(), PndTrkCombiLegendreTask::AnalyticalFit(), PndTrkLegendreNew::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalFit2(), PndTrkCombiLegendreTask::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalParabolaFit(), PndTrkClean::CheckPairOfHits(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndTrkLegendreTask::CreateClusterByRealDistance(), PndTrkLegendreSecTask::CreateClusterByRealDistance(), PndTrkLegendreSecTask2::CreateClusterByRealDistance(), PndTrkLegendreTask::CreateSkewHitList(), PndTrkLegendreSecTask::CreateSkewHitList(), PndTrkLegendreSecTask2::CreateSkewHitList(), PndTrkTrackFinder::CreateSkewHitList(), PndTrkLegendreSecTask2::Exec(), PndTrkCombiLegendreTask::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreTask::FillConformalHitList(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkLegendreNew::FindSttReferenceHit(), PndTrkLegendreTask::FindSttReferenceHit(), PndTrkLegendreSecTask::FindSttReferenceHit(), PndTrkCombiLegendreTask::FindSttReferenceHit(), PndTrkTrackFinder::FindSttReferenceHit(), PndTrkLegendreSecTask2::FindSttReferenceHit(), PndTrkCluster::GetSttSkewHitList(), PndTrkHit::IsStt(), PndTrkTrackFinder::MinuitFit(), and PndTrkTrackFinder::MinuitFit2().

71 { return fIRegion == SKEW_LEFT || fIRegion == SKEW_RIGHT; }
#define SKEW_RIGHT
#define SKEW_LEFT
Int_t fIRegion
Definition: PndTrkHit.h:99
Bool_t PndTrkHit::IsUsed ( )
inlineinherited
Bool_t PndTrkHit::operator< ( const PndTrkHit hit1)
inherited

Definition at line 32 of file PndTrkHit.cxx.

References PndTrkHit::fSortVariable.

32  {
33  return fSortVariable < hit1.fSortVariable;
34 }
Double_t fSortVariable
Definition: PndTrkHit.h:104
PndTrkSkewHit & PndTrkSkewHit::operator= ( const PndTrkSkewHit hit)

Definition at line 39 of file PndTrkSkewHit.cxx.

References fa, fb, fBeta, fCenter1, fCenter2, fIntersection1, fIntersection2, fPhi1, fPhi2, fRightIntersection, and fTrackID.

39  {
40  fTrackID = skewhit.fTrackID;
41  fRightIntersection = skewhit.fRightIntersection;
42  fCenter1 = skewhit.fCenter1;
43  fCenter2 = skewhit.fCenter2;
44  fIntersection1 = skewhit.fIntersection1;
45  fIntersection2 = skewhit.fIntersection2;
46  fa = skewhit.fa;
47  fb = skewhit.fb;
48  fPhi1 = skewhit.fPhi1;
49  fPhi2 = skewhit.fPhi2;
50  fBeta = skewhit.fBeta;
51  return *this;
52 }
TVector3 fCenter1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
Double_t fBeta
Definition: PndTrkSkewHit.h:51
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
Int_t fRightIntersection
Definition: PndTrkSkewHit.h:49
TVector3 fCenter2
Definition: PndTrkSkewHit.h:50
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
Bool_t PndTrkHit::operator== ( const PndTrkHit hit1)
inherited

Definition at line 28 of file PndTrkHit.cxx.

References PndTrkHit::fDetectorID, and PndTrkHit::fHitID.

28  {
29  return fDetectorID == hit1.fDetectorID && fHitID == hit1.fHitID;
30 }
Int_t fDetectorID
Definition: PndTrkHit.h:99
Int_t fHitID
Definition: PndTrkHit.h:99
void PndTrkSkewHit::Print ( )

Definition at line 72 of file PndTrkSkewHit.cxx.

References PndTrkHit::fHitID, fIntersection1, fIntersection2, PndTrkHit::fIRegion, PndTrkHit::fIsochrone, and PndTrkHit::fUsed.

Referenced by PndTrkSkewHitList::Print().

72  {
73  cout << "####### SKEW ########################" << endl;
74  cout << "hitID " << fHitID << " used " << fUsed << " iregion " << fIRegion << endl;
75  cout << "isochrone " << fIsochrone << endl;
76  fIntersection1.Print();
77  fIntersection2.Print();
78 }
TVector3 fIntersection1
Definition: PndTrkSkewHit.h:50
TVector3 fIntersection2
Definition: PndTrkSkewHit.h:50
Double_t fIsochrone
Definition: PndTrkHit.h:103
Int_t fHitID
Definition: PndTrkHit.h:99
Int_t fIRegion
Definition: PndTrkHit.h:99
Bool_t fUsed
Definition: PndTrkHit.h:100
void PndTrkHit::SetIsochrone ( Double_t  isochrone)
inlineinherited

Definition at line 43 of file PndTrkHit.h.

References PndTrkHit::fIsochrone.

43 { fIsochrone = isochrone; }
Double_t fIsochrone
Definition: PndTrkHit.h:103
void PndTrkHit::SetPhi ( Double_t  phi)
inlineinherited
void PndTrkSkewHit::SetPhi1 ( Double_t  phi1)
inline

Definition at line 40 of file PndTrkSkewHit.h.

References fPhi1.

Referenced by PndTrkTrackFinder::Exec().

40 { fPhi1 = phi1; }
Double_t fPhi1
Definition: PndTrkSkewHit.h:51
void PndTrkSkewHit::SetPhi2 ( Double_t  phi2)
inline

Definition at line 41 of file PndTrkSkewHit.h.

References fPhi2.

Referenced by PndTrkTrackFinder::Exec().

41 { fPhi2 = phi2; }
Double_t fPhi2
Definition: PndTrkSkewHit.h:51
void PndTrkHit::SetPosition ( TVector3  pos)
inlineinherited
void PndTrkHit::SetRefHitFlag ( Bool_t  used)
inlineinherited

Definition at line 51 of file PndTrkHit.h.

References PndTrkHit::fUsedAsRefHit.

Referenced by PndTrkCombiLegendreTask::FindReferenceHit().

51 { fUsedAsRefHit = used; }
Bool_t fUsedAsRefHit
Definition: PndTrkHit.h:101
void PndTrkHit::SetRegion ( Int_t  iregion)
inlineinherited

Definition at line 53 of file PndTrkHit.h.

References PndTrkHit::fIRegion.

53 { fIRegion = iregion; }
Int_t fIRegion
Definition: PndTrkHit.h:99
void PndTrkHit::SetSortVariable ( Double_t  sortvar)
inlineinherited
void PndTrkHit::SetUsedFlag ( Bool_t  used)
inlineinherited
Bool_t PndTrkHit::WasRefHit ( )
inlineinherited

Definition at line 59 of file PndTrkHit.h.

References PndTrkHit::fUsedAsRefHit.

Referenced by PndTrkCombiLegendreTask::FindReferenceHit().

59 { return fUsedAsRefHit; }
Bool_t fUsedAsRefHit
Definition: PndTrkHit.h:101

Member Data Documentation

Double_t PndTrkSkewHit::fa

Definition at line 51 of file PndTrkSkewHit.h.

Referenced by Draw(), and operator=().

Double_t PndTrkSkewHit::fb

Definition at line 51 of file PndTrkSkewHit.h.

Referenced by Draw(), and operator=().

Double_t PndTrkSkewHit::fBeta

Definition at line 51 of file PndTrkSkewHit.h.

Referenced by Draw(), and operator=().

TVector3 PndTrkSkewHit::fCenter1

Definition at line 50 of file PndTrkSkewHit.h.

Referenced by Draw(), and operator=().

TVector3 PndTrkSkewHit::fCenter2

Definition at line 50 of file PndTrkSkewHit.h.

Referenced by Draw(), and operator=().

Int_t PndTrkHit::fDetectorID
inherited
Int_t PndTrkHit::fHitID
inherited
TVector3 PndTrkSkewHit::fIntersection1

Definition at line 50 of file PndTrkSkewHit.h.

Referenced by GetIntersection1(), operator=(), and Print().

TVector3 PndTrkSkewHit::fIntersection2

Definition at line 50 of file PndTrkSkewHit.h.

Referenced by GetIntersection2(), operator=(), and Print().

Int_t PndTrkHit::fIRegion
inherited
Double_t PndTrkHit::fIsochrone
inherited
Double_t PndTrkHit::fPhi
inherited
Double_t PndTrkSkewHit::fPhi1

Definition at line 51 of file PndTrkSkewHit.h.

Referenced by GetPhi1(), operator=(), and SetPhi1().

Double_t PndTrkSkewHit::fPhi2

Definition at line 51 of file PndTrkSkewHit.h.

Referenced by GetPhi2(), operator=(), and SetPhi2().

TVector3 PndTrkHit::fPosition
inherited
Int_t PndTrkSkewHit::fRightIntersection

Definition at line 49 of file PndTrkSkewHit.h.

Referenced by operator=().

Double_t PndTrkHit::fSector
inherited

Definition at line 106 of file PndTrkHit.h.

Referenced by PndTrkHit::GetSector(), and PndTrkHit::PndTrkHit().

Int_t PndTrkHit::fSensorID
inherited

Definition at line 99 of file PndTrkHit.h.

Referenced by PndTrkHit::GetSensorID(), PndTrkHit::GetTubeID(), and PndTrkHit::Print().

Double_t PndTrkHit::fSortVariable
inherited
Int_t PndTrkSkewHit::fTrackID

Definition at line 49 of file PndTrkSkewHit.h.

Referenced by operator=().

Bool_t PndTrkHit::fUsed
inherited
Bool_t PndTrkHit::fUsedAsRefHit
inherited

Definition at line 101 of file PndTrkHit.h.

Referenced by PndTrkHit::SetRefHitFlag(), and PndTrkHit::WasRefHit().


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