FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
PndTrkConformalHit Class Reference

#include <PndTrkConformalHit.h>

Inheritance diagram for PndTrkConformalHit:

Public Member Functions

 PndTrkConformalHit ()
 
 PndTrkConformalHit (PndTrkHit *hit, double u, double v, double rd)
 
 PndTrkConformalHit (PndTrkHit *hit, double u, double v)
 
 ~PndTrkConformalHit ()
 
Int_t GetHitID ()
 
Int_t GetDetectorID ()
 
TVector2 GetPosition ()
 
Double_t GetU ()
 
Double_t GetV ()
 
Double_t GetIsochrone ()
 
PndTrkHitGetHit ()
 
double GetDistanceFromTrack (double fitm, double fitp)
 
void SetPosition (double x, double y)
 
void Draw (Color_t color)
 
void Print ()
 
 ClassDef (PndTrkConformalHit, 1)
 

Public Attributes

PndTrkHitfHit
 
TVector2 fPosition
 
Double_t fIsochrone
 

Detailed Description

PndTrkHit Class for pattern recognition conformal hit

Author
Lia Lavezzi

Definition at line 14 of file PndTrkConformalHit.h.

Constructor & Destructor Documentation

PndTrkConformalHit::PndTrkConformalHit ( )

Definition at line 20 of file PndTrkConformalHit.cxx.

20 : fHit(NULL), fPosition(0., 0.), fIsochrone(-1) {}
PndTrkConformalHit::PndTrkConformalHit ( PndTrkHit hit,
double  u,
double  v,
double  rd 
)

Definition at line 23 of file PndTrkConformalHit.cxx.

23 : fHit(hit), fPosition(u, v), fIsochrone(rd) {}
__m128 v
Definition: P4_F32vec4.h:4
PndTrkConformalHit::PndTrkConformalHit ( PndTrkHit hit,
double  u,
double  v 
)

Definition at line 25 of file PndTrkConformalHit.cxx.

25 : fHit(hit), fPosition(u, v), fIsochrone(-1) {}
__m128 v
Definition: P4_F32vec4.h:4
PndTrkConformalHit::~PndTrkConformalHit ( )

Definition at line 27 of file PndTrkConformalHit.cxx.

27 {}

Member Function Documentation

PndTrkConformalHit::ClassDef ( PndTrkConformalHit  ,
 
)
void PndTrkConformalHit::Draw ( Color_t  color)

Definition at line 34 of file PndTrkConformalHit.cxx.

References fHit, fIsochrone, fPosition, and PndTrkHit::GetIRegion().

Referenced by PndTrkLegendreNew::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalFit2(), PndTrkCombiLegendreTask::AnalyticalFit2(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndTrkConformalHitList::Draw(), PndTrkTrackFinder::Exec(), PndTrkCombiLegendreTask::FillPeakCouplesHisto(), and PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto().

34  {
35 
36  TMarker *mrk = NULL;
37  TArc *arc = NULL;
38 
39  switch(fHit->GetIRegion()) {
40  case 0:
41  {
42  mrk = new TMarker(fPosition.X(), fPosition.Y(), 21);
43  break;
44  }
45  case 1:
46  {
47  mrk = new TMarker(fPosition.X(), fPosition.Y(), 25);
48  break;
49  }
50  case 2:
51  case 6:
52  case 3:
53  case 7:
54  {
55  arc = new TArc(fPosition.X(), fPosition.Y(), fIsochrone); // TUBERADIUS);
56  break;
57  }
58  case 4:
59  case 5:
60  {
61  // arc = new TArc(fPosition.X(), fPosition.Y(), TUBERADIUS); // CHECK skew
62  mrk = new TMarker(fPosition.X(), fPosition.Y(), 3);
63  break;
64  }
65  case 8:
66  {
67  mrk = new TMarker(fPosition.X(), fPosition.Y(), 29);
68  break;
69  }
70  case 9:
71  {
72  mrk = new TMarker(fPosition.X(), fPosition.Y(), 24);
73  break;
74  }
75  case 10:
76  {
77  mrk = new TMarker(fPosition.X(), fPosition.Y(), 25);
78  break;
79  }
80  }
81 
82  if(mrk) {
83  mrk->SetMarkerColor(color);
84  mrk->Draw("SAME");
85  }
86  if(arc) {
87  arc->SetFillStyle(0);
88  arc->SetLineColor(color);
89  arc->Draw("SAME");
90  }
91 
92 
93 }
Int_t GetIRegion()
Definition: PndTrkHit.h:64
Int_t PndTrkConformalHit::GetDetectorID ( )
inline
double PndTrkConformalHit::GetDistanceFromTrack ( double  fitm,
double  fitp 
)
PndTrkHit* PndTrkConformalHit::GetHit ( )
inline
Int_t PndTrkConformalHit::GetHitID ( )
inline
Double_t PndTrkConformalHit::GetIsochrone ( )
inline

Definition at line 32 of file PndTrkConformalHit.h.

References fIsochrone.

Referenced by PndTrkTrackFinder::AnalyticalFit(), PndTrkLegendreNew::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalFit2(), PndTrkCombiLegendreTask::AnalyticalFit2(), PndTrkTrackFinder::AnalyticalParabolaFit(), PndTrkCombiLegendreTask::ComputePerpendicularChi2(), PndTrkLegendreNew::ComputePlaneExtremities(), PndTrkCombiLegendreTask::ComputePlaneExtremities(), PndTrkTrackFinder::ComputePlaneExtremities(), PndTrkLegendreTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask2::CreateClusterByConfDistance(), PndTrkLegendreTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask2::CreateClusterByMixedDistance(), PndTrkLegendreSecTask::DoesConfHitBelong(), PndTrkLegendreTask::DoesConfHitBelong(), PndTrkLegendreSecTask2::DoesConfHitBelong(), PndTrkLegendreSecTask2::Exec(), PndTrkLegendreTask::Exec(), PndTrkLegendreSecTask::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreNew::ExtractLegendre(), PndTrkTrackFinder::ExtractLegendre(), PndTrkLegendreSecTask::ExtractLegendre(), PndTrkLegendreTask::ExtractLegendre(), PndTrkLegendreSecTask2::ExtractLegendre(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkLegendreTask::FillLegendreHisto(), PndTrkLegendreSecTask::FillLegendreHisto(), PndTrkLegendreSecTask2::FillLegendreHisto(), PndTrkLegendreNew::FillLegendreHisto(), PndTrkTrackFinder::FillLegendreHisto(), PndTrkCombiLegendreTask::FillPeakCouplesHisto(), PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto(), PndTrkLegendreNew::IntersectionFinder(), PndTrkCombiLegendreTask::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), and PndTrkTrackFinder::MinuitFit().

32 { return fIsochrone; }
TVector2 PndTrkConformalHit::GetPosition ( )
inline
Double_t PndTrkConformalHit::GetU ( )
inline

Definition at line 30 of file PndTrkConformalHit.h.

References fPosition.

Referenced by PndTrkLegendreNew::ComputePlaneExtremities(), PndTrkCombiLegendreTask::ComputePlaneExtremities(), PndTrkTrackFinder::ComputePlaneExtremities(), PndTrkLegendreNew::CreateClusterAroundTrack(), PndTrkTrackFinder::CreateClusterAroundTrack(), PndTrkLegendreTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask2::CreateClusterByConfDistance(), PndTrkLegendreTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask2::CreateClusterByMixedDistance(), PndTrkLegendreTask::Exec(), PndTrkLegendreSecTask::Exec(), PndTrkLegendreSecTask2::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreNew::ExtractLegendre(), PndTrkTrackFinder::ExtractLegendre(), PndTrkLegendreTask::ExtractLegendre(), PndTrkLegendreSecTask::ExtractLegendre(), PndTrkLegendreSecTask2::ExtractLegendre(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkLegendreTask::FillLegendreHisto(), PndTrkLegendreSecTask::FillLegendreHisto(), PndTrkLegendreSecTask2::FillLegendreHisto(), PndTrkLegendreNew::FillLegendreHisto(), PndTrkTrackFinder::FillLegendreHisto(), PndTrkCombiLegendreTask::FillPeakCouplesHisto(), PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto(), PndTrkLegendreNew::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), and PndTrkCombiLegendreTask::IntersectionFinder().

30 { return fPosition.X(); }
Double_t PndTrkConformalHit::GetV ( )
inline

Definition at line 31 of file PndTrkConformalHit.h.

References fPosition.

Referenced by PndTrkLegendreNew::ComputePlaneExtremities(), PndTrkCombiLegendreTask::ComputePlaneExtremities(), PndTrkTrackFinder::ComputePlaneExtremities(), PndTrkLegendreNew::CreateClusterAroundTrack(), PndTrkTrackFinder::CreateClusterAroundTrack(), PndTrkLegendreTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask::CreateClusterByConfDistance(), PndTrkLegendreSecTask2::CreateClusterByConfDistance(), PndTrkLegendreTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask::CreateClusterByMixedDistance(), PndTrkLegendreSecTask2::CreateClusterByMixedDistance(), PndTrkLegendreTask::Exec(), PndTrkLegendreSecTask::Exec(), PndTrkLegendreSecTask2::Exec(), PndTrkTrackFinder::Exec(), PndTrkLegendreNew::ExtractLegendre(), PndTrkTrackFinder::ExtractLegendre(), PndTrkLegendreTask::ExtractLegendre(), PndTrkLegendreSecTask::ExtractLegendre(), PndTrkLegendreSecTask2::ExtractLegendre(), PndTrkLegendreSecTask2::FillConformalHitList(), PndTrkLegendreTask::FillLegendreHisto(), PndTrkLegendreSecTask::FillLegendreHisto(), PndTrkLegendreSecTask2::FillLegendreHisto(), PndTrkLegendreNew::FillLegendreHisto(), PndTrkTrackFinder::FillLegendreHisto(), PndTrkCombiLegendreTask::FillPeakCouplesHisto(), PndTrkCombiLegendreTask::FillPeakNeighCouplesHisto(), PndTrkLegendreNew::IntersectionFinder(), PndTrkTrackFinder::IntersectionFinder(), and PndTrkCombiLegendreTask::IntersectionFinder().

31 { return fPosition.Y(); }
void PndTrkConformalHit::Print ( )

Definition at line 95 of file PndTrkConformalHit.cxx.

References fHit, fIsochrone, fPosition, PndTrkHit::GetDetectorID(), and PndTrkHit::GetHitID().

Referenced by PndTrkConformalHitList::Print().

95  {
96 
97  cout << "conformal hit ###############################" << endl;
98  cout << "hitID " << fHit->GetHitID() << " detID " << fHit->GetDetectorID() << endl;
99  cout << "isochrone " << fIsochrone << endl;
100  fPosition.Print();
101 }
Int_t GetHitID()
Definition: PndTrkHit.h:56
Int_t GetDetectorID()
Definition: PndTrkHit.h:57
void PndTrkConformalHit::SetPosition ( double  x,
double  y 
)
inline

Member Data Documentation

PndTrkHit* PndTrkConformalHit::fHit

Definition at line 45 of file PndTrkConformalHit.h.

Referenced by Draw(), GetDetectorID(), GetHit(), GetHitID(), and Print().

Double_t PndTrkConformalHit::fIsochrone

Definition at line 47 of file PndTrkConformalHit.h.

Referenced by Draw(), GetIsochrone(), and Print().

TVector2 PndTrkConformalHit::fPosition

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