FairRoot/PandaRoot
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
PndFTSCAGBHit Class Reference

#include <PndFTSCAGBHit.h>

Public Member Functions

 PndFTSCAGBHit ()
 
float X () const
 
float Y () const
 
float Z () const
 
float Err2X () const
 
float Err2Y () const
 
float Err2Z () const
 
void GetLocalX0X1X2 (float &x0, float &x1, float &x2) const
 
float Err2X0 () const
 
float Err2X1 () const
 
float ErrX12 () const
 
float Err2X2 () const
 
int IRow () const
 
int ID () const
 
FTSCAStripBStripP () const
 
FTSCAStripFStripP () const
 
void SetX (float v)
 
void SetY (float v)
 
void SetZ (float v)
 
void SetErr2X (float v)
 
void SetErr2Y (float v)
 
void SetErr2Z (float v)
 
void SetErrYZ (float v)
 
void SetIRow (int v)
 
void SetID (int v)
 
void SetErr2X0 (float v)
 
void SetErr2X1 (float v)
 
void SetErrX12 (float v)
 
void SetErr2X2 (float v)
 
void SetFStripP (FTSCAStrip *s)
 
void SetBStripP (FTSCAStrip *s)
 
void SetAngle (float v)
 
float Angle () const
 
void SetC (const TMatrixT< Double_t > c)
 
void SetPndDetID (int v)
 
void SetPndHitID (int v)
 
int PndDetID () const
 
int PndHitID () const
 

Static Public Member Functions

static bool Compare (const PndFTSCAGBHit &a, const PndFTSCAGBHit &b)
 Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector number at first, than by row number and at last by z-coordinate. More...
 
static bool CompareRowDown (const PndFTSCAGBHit &a, const PndFTSCAGBHit &b)
 Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector number at first, than by row number and at last by z-coordinate. More...
 
static bool ComparePRowDown (const PndFTSCAGBHit *a, const PndFTSCAGBHit *b)
 

Public Attributes

float point_X
 
float point_Y
 
float point_Z
 
float point_Px
 
float point_Py
 
float point_Pz
 
float point_Qp
 
int Track_ID
 

Protected Attributes

FTSCAStripfFStripP
 
FTSCAStripfBStripP
 
double fX
 
double fY
 
double fZ
 
float fErr2X0
 
float fErr2X1
 
float fErrX12
 
float fErr2X2
 
double fC [3][3]
 
int fIRow
 
int fID
 
double fPhi
 
int fPndDetID
 
int fPndHitID
 

Friends

ostream & operator<< (ostream &out, const PndFTSCAGBHit &a)
 
istream & operator>> (istream &in, PndFTSCAGBHit &a)
 

Detailed Description

The PndFTSCAGBHit class is the internal representation of the FTS clusters for the PndFTSCAGBTracker algorithm.

Definition at line 29 of file PndFTSCAGBHit.h.

Constructor & Destructor Documentation

PndFTSCAGBHit::PndFTSCAGBHit ( )
inline

Definition at line 32 of file PndFTSCAGBHit.h.

33  : fX( 0 ), fY( 0 ), fZ( 0 ), fErr2X0( 0 ), fErr2X1( 0 ), fErrX12( 0 ), fErr2X2( 0 ),
34  fIRow( 0 ), fID( 0 ), fPhi( 0 )
35 #if defined(DRIFT_TUBES)
36  , fR( 0 ), fErr2R( 0 ), fIsLeft( false ), fIsPileuped( false ), fXW(0), fYW(0), fZW(0),
37  fTubeR( 0 ), fHalfLength( 0 ), fEX( 0 ), fEY( 0 ), fEZ( 0 )
38 #endif
39  {}

Member Function Documentation

float PndFTSCAGBHit::Angle ( ) const
inline
FTSCAStrip* PndFTSCAGBHit::BStripP ( ) const
inline

Definition at line 85 of file PndFTSCAGBHit.h.

References fBStripP.

Referenced by FTSCAHitV::FTSCAHitV().

85 { return fBStripP; }
FTSCAStrip * fBStripP
bool PndFTSCAGBHit::Compare ( const PndFTSCAGBHit a,
const PndFTSCAGBHit b 
)
inlinestatic

Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector number at first, than by row number and at last by z-coordinate.

Definition at line 199 of file PndFTSCAGBHit.h.

References fIRow, and fZ.

Referenced by PndFTSCAGBTracker::IdealTrackFinder().

206 {
207  //* Comparison function for sorting hits
208  if ( a.fIRow < b.fIRow ) return 1;
209  if ( a.fIRow > b.fIRow ) return 0;
210  return ( a.fZ < b.fZ );
211 }
static bool PndFTSCAGBHit::ComparePRowDown ( const PndFTSCAGBHit a,
const PndFTSCAGBHit b 
)
inlinestatic

Hits are sorted by row number

Definition at line 143 of file PndFTSCAGBHit.h.

References fIRow.

143  {
144  return ( a->fIRow > b->fIRow );
146  }
static bool PndFTSCAGBHit::CompareRowDown ( const PndFTSCAGBHit a,
const PndFTSCAGBHit b 
)
inlinestatic

Hits reordering in accordance with the geometry and the track-finder needs: Hits are sorted by sector number at first, than by row number and at last by z-coordinate.

Hits are sorted by row number

Definition at line 138 of file PndFTSCAGBHit.h.

References fIRow.

138  {
139  return ( a.fIRow > b.fIRow );
140 
142  }
float PndFTSCAGBHit::Err2X ( ) const
inline

Definition at line 45 of file PndFTSCAGBHit.h.

References fErr2X0.

45 { return fErr2X0; }
float PndFTSCAGBHit::Err2X0 ( ) const
inline

Definition at line 51 of file PndFTSCAGBHit.h.

References fErr2X0.

51 { return fErr2X0; }
float PndFTSCAGBHit::Err2X1 ( ) const
inline

Definition at line 52 of file PndFTSCAGBHit.h.

References fErr2X1.

Referenced by FTSCAHitV::FTSCAHitV().

52 { return fErr2X1; }
float PndFTSCAGBHit::Err2X2 ( ) const
inline

Definition at line 54 of file PndFTSCAGBHit.h.

References fErr2X2.

Referenced by FTSCAHitV::FTSCAHitV().

54 { return fErr2X2; }
float PndFTSCAGBHit::Err2Y ( ) const
inline

Definition at line 46 of file PndFTSCAGBHit.h.

References fErr2X1.

46 { return fErr2X1; }
float PndFTSCAGBHit::Err2Z ( ) const
inline

Definition at line 47 of file PndFTSCAGBHit.h.

References fErr2X2.

47 { return fErr2X2; }
float PndFTSCAGBHit::ErrX12 ( ) const
inline

Definition at line 53 of file PndFTSCAGBHit.h.

References fErrX12.

Referenced by PndFTSCADisplay::DrawGBHits(), PndFTSCADisplay::DrawRecoTrack(), and FTSCAHitV::FTSCAHitV().

53 { return fErrX12; }
FTSCAStrip* PndFTSCAGBHit::FStripP ( ) const
inline

Definition at line 86 of file PndFTSCAGBHit.h.

References fFStripP.

Referenced by FTSCAHitV::FTSCAHitV().

86 { return fFStripP; }
FTSCAStrip * fFStripP
void PndFTSCAGBHit::GetLocalX0X1X2 ( float &  x0,
float &  x1,
float &  x2 
) const

Definition at line 28 of file PndFTSCAGBHit.cxx.

References fPhi, fX, fY, fZ, and PndFTSCAParameters::GlobalToCALocal().

Referenced by PndFTSCADisplay::DrawRecoTrack(), FTSCAHit::FTSCAHit(), and FTSCAHitV::FTSCAHitV().

28  {
29  double x0_, x1_, x2_;
30  PndFTSCAParameters::GlobalToCALocal( fX, fY, fZ, fPhi, x0_, x1_, x2_ );
31  x0 = x0_;
32  x1 = x1_;
33  x2 = x2_;
34 }
Double_t x0
Definition: checkhelixhit.C:70
static void GlobalToCALocal(T x, T y, T angle, T &x0, T &x1)
int PndFTSCAGBHit::ID ( ) const
inline
int PndFTSCAGBHit::IRow ( ) const
inline
int PndFTSCAGBHit::PndDetID ( ) const
inline

Definition at line 150 of file PndFTSCAGBHit.h.

References fPndDetID.

Referenced by PndFtsCATracking::Exec().

150 { return fPndDetID; }
int PndFTSCAGBHit::PndHitID ( ) const
inline

Definition at line 151 of file PndFTSCAGBHit.h.

References fPndHitID.

Referenced by PndFtsCATracking::Exec().

151 { return fPndHitID; }
void PndFTSCAGBHit::SetAngle ( float  v)
inline

Definition at line 106 of file PndFTSCAGBHit.h.

References fPhi, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

106 { fPhi = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetBStripP ( FTSCAStrip s)
inline

Definition at line 104 of file PndFTSCAGBHit.h.

References fBStripP, and s.

104 { fBStripP = s; }
TLorentzVector s
Definition: Pnd2DStar.C:50
FTSCAStrip * fBStripP
void PndFTSCAGBHit::SetC ( const TMatrixT< Double_t c)
inline

Definition at line 109 of file PndFTSCAGBHit.h.

References fC, and i.

Referenced by PndFtsCATracking::WriteFTSHits().

109  {
110  for( int i=0; i<3; i++ )
111  for( int j=0; j<3; j++) fC[i][j] = c[i][j];
112  }
double fC[3][3]
Int_t i
Definition: run_full.C:25
void PndFTSCAGBHit::SetErr2X ( float  v)
inline

Definition at line 91 of file PndFTSCAGBHit.h.

References fErr2X0, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

91 { fErr2X0 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErr2X0 ( float  v)
inline

Definition at line 98 of file PndFTSCAGBHit.h.

References fErr2X0, and v.

98 { fErr2X0 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErr2X1 ( float  v)
inline

Definition at line 99 of file PndFTSCAGBHit.h.

References fErr2X1, and v.

99 { fErr2X1 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErr2X2 ( float  v)
inline

Definition at line 101 of file PndFTSCAGBHit.h.

References fErr2X2, and v.

101 { fErr2X2 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErr2Y ( float  v)
inline

Definition at line 92 of file PndFTSCAGBHit.h.

References fErr2X1, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

92 { fErr2X1 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErr2Z ( float  v)
inline

Definition at line 93 of file PndFTSCAGBHit.h.

References fErr2X2, and v.

93 { fErr2X2 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErrX12 ( float  v)
inline

Definition at line 100 of file PndFTSCAGBHit.h.

References fErrX12, and v.

100 { fErrX12 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetErrYZ ( float  v)
inline

Definition at line 94 of file PndFTSCAGBHit.h.

References fErrX12, and v.

94 { fErrX12 = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetFStripP ( FTSCAStrip s)
inline

Definition at line 103 of file PndFTSCAGBHit.h.

References fFStripP, and s.

103 { fFStripP = s; }
TLorentzVector s
Definition: Pnd2DStar.C:50
FTSCAStrip * fFStripP
void PndFTSCAGBHit::SetID ( int  v)
inline

Definition at line 96 of file PndFTSCAGBHit.h.

References fID, and v.

Referenced by PndFTSCADisplay::DrawGBTrack(), and PndFtsCATracking::WriteFTSHits().

96 { fID = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetIRow ( int  v)
inline

Definition at line 95 of file PndFTSCAGBHit.h.

References fIRow, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

95 { fIRow = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetPndDetID ( int  v)
inline

Definition at line 148 of file PndFTSCAGBHit.h.

References fPndDetID, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

148 { fPndDetID = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetPndHitID ( int  v)
inline

Definition at line 149 of file PndFTSCAGBHit.h.

References fPndHitID, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

149 { fPndHitID = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetX ( float  v)
inline

Definition at line 88 of file PndFTSCAGBHit.h.

References fX, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

88 { fX = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetY ( float  v)
inline

Definition at line 89 of file PndFTSCAGBHit.h.

References fY, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

89 { fY = v; }
__m128 v
Definition: P4_F32vec4.h:4
void PndFTSCAGBHit::SetZ ( float  v)
inline

Definition at line 90 of file PndFTSCAGBHit.h.

References fZ, and v.

Referenced by PndFtsCATracking::WriteFTSHits().

90 { fZ = v; }
__m128 v
Definition: P4_F32vec4.h:4
float PndFTSCAGBHit::X ( ) const
inline
float PndFTSCAGBHit::Y ( ) const
inline
float PndFTSCAGBHit::Z ( ) const
inline

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const PndFTSCAGBHit a 
)
friend

Definition at line 36 of file PndFTSCAGBHit.cxx.

37 {
38 #ifdef STAR_HFT
39  out << a.fX << " " << a.fY << " " << a.fZ << std::endl
40  << a.fErr2X1 << " " << 0 << " " << a.fErr2X2 << std::endl
41 #elif defined(PANDA_STT) || defined(PANDA_FTS)
42  out << a.fX << " " << a.fY << " " << a.fZ << " " << a.fR << std::endl;
43  out << a.fC[0][0] << " " << a.fC[0][1] << " " << a.fC[0][2] << std::endl;// in global c.s.!
44  out << a.fC[1][0] << " " << a.fC[1][1] << " " << a.fC[1][2] << std::endl;
45  out << a.fC[2][0] << " " << a.fC[2][1] << " " << a.fC[2][2] << std::endl;
46  out << a.fErr2R << std::endl;
47  out << a.fTubeR << " " << a.fHalfLength << std::endl;
48  out << a.fEX << " "<< a.fEY <<" " << a.fEZ <<std::endl
49 #else
50  out << a.fX << " " << a.fY << " " << a.fZ << std::endl
51  << a.fErr2X1 << " " << a.fErrX12 << " " << a.fErr2X2 << std::endl
52 #endif
53  << a.fIRow << " " << a.fID << " " << -a.fPhi << std::endl;
54  return out;
55 }
double fC[3][3]
TFile * out
Definition: reco_muo.C:20
istream& operator>> ( istream &  in,
PndFTSCAGBHit a 
)
friend

Definition at line 57 of file PndFTSCAGBHit.cxx.

58 {
59  double tmp;
60  UNUSED_PARAM1(tmp);
61 #ifdef STAR_HFT
62  in >> a.fX >> a.fY >> a.fZ
63  >> a.fErr2X1 >> tmp >> a.fErr2X2
64  >> a.fIRow >> a.fID >> a.fPhi;
65 #elif defined(PANDA_STT) || defined(PANDA_FTS)
66  in >> a.fX >> a.fY >> a.fZ >> a.fR
67  >> a.fC[0][0] >> a.fC[0][1] >> a.fC[0][2] // in global c.s.!
68  >> a.fC[1][0] >> a.fC[1][1] >> a.fC[1][2]
69  >> a.fC[2][0] >> a.fC[2][1] >> a.fC[2][2]
70  >> a.fErr2R
71  >> a.fTubeR >> a.fHalfLength
72  >> a.fEX >> a.fEY >> a.fEZ
73  >> a.fIRow >> a.fID >> a.fPhi;
74  a.fPhi = - a.fPhi; // TODO: fix input files
75  a.fXW = a.fX;
76  a.fYW = a.fY;
77  a.fZW = a.fZ;
78 
79  // cout << " T0 " << endl;
80  // cout << a.fC[0][0] << " " << a.fC[0][1] << " " << a.fC[0][2] << endl;
81  // cout << a.fC[1][0] << " " << a.fC[1][1] << " " << a.fC[1][2] << endl;
82  // cout << a.fC[2][0] << " " << a.fC[2][1] << " " << a.fC[2][2] << endl;
83 
84 #if defined(PANDA_STT)
85 
86  const double s = sin(a.fPhi);
87  const double c = cos(a.fPhi);
88  // double T[3][3];
89  // T[0][0] = -s; T[0][1] = c; T[0][2] = 0;
90  // T[1][0] = c; T[1][1] = s; T[1][2] = 0;
91  // T[2][0] = 0; T[2][1] = 0; T[2][2] = -1;
92 
93  // double TC[3][3];
94  // TC[0][0] = T[0][0]*a.fC[0][0] + T[0][1]*a.fC[1][0] + T[0][2]*a.fC[2][0];
95  // TC[0][1] = T[0][0]*a.fC[0][1] + T[0][1]*a.fC[1][1] + T[0][2]*a.fC[2][1];
96  // TC[0][2] = T[0][0]*a.fC[0][2] + T[0][1]*a.fC[1][2] + T[0][2]*a.fC[2][2];
97  // TC[1][0] = T[1][0]*a.fC[0][0] + T[1][1]*a.fC[1][0] + T[1][2]*a.fC[2][0];
98  // TC[1][1] = T[1][0]*a.fC[0][1] + T[1][1]*a.fC[1][1] + T[1][2]*a.fC[2][1];
99  // TC[1][2] = T[1][0]*a.fC[0][2] + T[1][1]*a.fC[1][2] + T[1][2]*a.fC[2][2];
100  // TC[2][0] = T[2][0]*a.fC[0][0] + T[2][1]*a.fC[1][0] + T[2][2]*a.fC[2][0];
101  // TC[2][1] = T[2][0]*a.fC[0][1] + T[2][1]*a.fC[1][1] + T[2][2]*a.fC[2][1];
102  // TC[2][2] = T[2][0]*a.fC[0][2] + T[2][1]*a.fC[1][2] + T[2][2]*a.fC[2][2];
103 
104  // double TCT[3][3]; // local C
105  // // TCT'
106  // TCT[0][0] = TC[0][0]*T[0][0] + TC[0][1]*T[0][1] + TC[0][2]*T[0][2];
107  // TCT[0][1] = TC[0][0]*T[1][0] + TC[0][1]*T[1][1] + TC[0][2]*T[1][2];
108  // TCT[0][2] = TC[0][0]*T[2][0] + TC[0][1]*T[2][1] + TC[0][2]*T[2][2];
109  // TCT[1][0] = TC[1][0]*T[0][0] + TC[1][1]*T[0][1] + TC[1][2]*T[0][2];
110  // TCT[1][1] = TC[1][0]*T[1][0] + TC[1][1]*T[1][1] + TC[1][2]*T[1][2];
111  // TCT[1][2] = TC[1][0]*T[2][0] + TC[1][1]*T[2][1] + TC[1][2]*T[2][2];
112  // TCT[2][0] = TC[2][0]*T[0][0] + TC[2][1]*T[0][1] + TC[2][2]*T[0][2];
113  // TCT[2][1] = TC[2][0]*T[1][0] + TC[2][1]*T[1][1] + TC[2][2]*T[1][2];
114  // TCT[2][2] = TC[2][0]*T[2][0] + TC[2][1]*T[2][1] + TC[2][2]*T[2][2];
115 
116  // // cout << " T1 " << endl;
117  // // cout << TCT[0][0] << " " << TCT[0][1] << " " << TCT[0][2] << endl;
118  // // cout << TCT[1][0] << " " << TCT[1][1] << " " << TCT[1][2] << endl;
119  // // cout << TCT[2][0] << " " << TCT[2][1] << " " << TCT[2][2] << endl;
120 
121  // double x,y,z;
122  // PndFTSCAParameters::GlobalToCALocal( a.fEX, a.fEY, a.fEZ, a.fPhi, x, y, z );
123  // // cout << " A " << x << " " << y << " " << z << endl;
124  // double T2[3][3];
125  // T2[0][0] = 1; T2[0][1] = 0; T2[0][2] = 0;
126  // T2[1][0] = 0; T2[1][1] = z; T2[1][2] = -y;
127  // T2[2][0] = 0; T2[2][1] = y; T2[2][2] = z;
128 
129  // TC[0][0] = T2[0][0]*TCT[0][0] + T2[0][1]*TCT[1][0] + T2[0][2]*TCT[2][0];
130  // TC[0][1] = T2[0][0]*TCT[0][1] + T2[0][1]*TCT[1][1] + T2[0][2]*TCT[2][1];
131  // TC[0][2] = T2[0][0]*TCT[0][2] + T2[0][1]*TCT[1][2] + T2[0][2]*TCT[2][2];
132  // TC[1][0] = T2[1][0]*TCT[0][0] + T2[1][1]*TCT[1][0] + T2[1][2]*TCT[2][0];
133  // TC[1][1] = T2[1][0]*TCT[0][1] + T2[1][1]*TCT[1][1] + T2[1][2]*TCT[2][1];
134  // TC[1][2] = T2[1][0]*TCT[0][2] + T2[1][1]*TCT[1][2] + T2[1][2]*TCT[2][2];
135  // TC[2][0] = T2[2][0]*TCT[0][0] + T2[2][1]*TCT[1][0] + T2[2][2]*TCT[2][0];
136  // TC[2][1] = T2[2][0]*TCT[0][1] + T2[2][1]*TCT[1][1] + T2[2][2]*TCT[2][1];
137  // TC[2][2] = T2[2][0]*TCT[0][2] + T2[2][1]*TCT[1][2] + T2[2][2]*TCT[2][2];
138 
139  // TCT[0][0] = TC[0][0]*T2[0][0] + TC[0][1]*T2[0][1] + TC[0][2]*T2[0][2];
140  // TCT[0][1] = TC[0][0]*T2[1][0] + TC[0][1]*T2[1][1] + TC[0][2]*T2[1][2];
141  // TCT[0][2] = TC[0][0]*T2[2][0] + TC[0][1]*T2[2][1] + TC[0][2]*T2[2][2];
142  // TCT[1][0] = TC[1][0]*T2[0][0] + TC[1][1]*T2[0][1] + TC[1][2]*T2[0][2];
143  // TCT[1][1] = TC[1][0]*T2[1][0] + TC[1][1]*T2[1][1] + TC[1][2]*T2[1][2];
144  // TCT[1][2] = TC[1][0]*T2[2][0] + TC[1][1]*T2[2][1] + TC[1][2]*T2[2][2];
145  // TCT[2][0] = TC[2][0]*T2[0][0] + TC[2][1]*T2[0][1] + TC[2][2]*T2[0][2];
146  // TCT[2][1] = TC[2][0]*T2[1][0] + TC[2][1]*T2[1][1] + TC[2][2]*T2[1][2];
147  // TCT[2][2] = TC[2][0]*T2[2][0] + TC[2][1]*T2[2][1] + TC[2][2]*T2[2][2];
148 
149  // cout << " T2 " << endl;
150  // cout << TCT[0][0] << " " << TCT[0][1] << " " << TCT[0][2] << endl;
151  // cout << TCT[1][0] << " " << TCT[1][1] << " " << TCT[1][2] << endl;
152  // cout << TCT[2][0] << " " << TCT[2][1] << " " << TCT[2][2] << endl;
153 
154  // const float s = y;
155  // const float c = z;
156 
157  // const float s = sin( a.fPhi );
158  // const float c = cos( a.fPhi );
159  // T = sA cA
160  // cA -sA
161  a.fErr2X0 = s*s*a.fC[0][0] + 2*s*c*a.fC[0][1] + c*c*a.fC[1][1];
162  //a.fErrX01 = c*s*(a.fC[1][1] - a.fC[0][0]) + (c*c - s*s)*a.fC[0][1];
163  a.fErr2X1 = c*c*a.fC[0][0] - 2*s*c*a.fC[0][1] + s*s*a.fC[1][1];
164  a.fErrX12 = -(c*a.fC[0][2] - s*a.fC[1][2]);
165 
166  a.fErr2X2 = a.fC[2][2];
167 #else // FTS
168  a.fErr2X0 = a.fC[2][2];
169  a.fErr2X1 = a.fC[0][0];
170  a.fErrX12 = a.fC[0][1];
171 
172  a.fErr2X2 = a.fC[1][1];
173 #endif
174 #elif defined(ALICE_ITS)
175  in >> a.fX >> a.fY >> a.fZ
176  >> a.fErr2X1 >> a.fErrX12 >> a.fErr2X2
177  >> a.fIRow >> a.fID >> a.fPhi;
178 
179 #else
180  in >> a.fX >> a.fY >> a.fZ
181  >> a.fErr2X1 >> a.fErrX12 >> a.fErr2X2
182  >> a.fIRow >> a.fID >> a.fPhi;
183 #endif
184  return in;
185 }
friend F32vec4 cos(const F32vec4 &a)
Definition: P4_F32vec4.h:112
double fC[3][3]
friend F32vec4 sin(const F32vec4 &a)
Definition: P4_F32vec4.h:111
TLorentzVector s
Definition: Pnd2DStar.C:50

Member Data Documentation

FTSCAStrip * PndFTSCAGBHit::fBStripP
protected

Definition at line 166 of file PndFTSCAGBHit.h.

Referenced by BStripP(), and SetBStripP().

double PndFTSCAGBHit::fC[3][3]
protected

Definition at line 177 of file PndFTSCAGBHit.h.

Referenced by operator<<(), operator>>(), and SetC().

float PndFTSCAGBHit::fErr2X0
protected

Definition at line 172 of file PndFTSCAGBHit.h.

Referenced by Err2X(), Err2X0(), operator>>(), SetErr2X(), and SetErr2X0().

float PndFTSCAGBHit::fErr2X1
protected

Definition at line 173 of file PndFTSCAGBHit.h.

Referenced by Err2X1(), Err2Y(), operator<<(), operator>>(), SetErr2X1(), and SetErr2Y().

float PndFTSCAGBHit::fErr2X2
protected

Definition at line 175 of file PndFTSCAGBHit.h.

Referenced by Err2X2(), Err2Z(), operator<<(), operator>>(), SetErr2X2(), and SetErr2Z().

float PndFTSCAGBHit::fErrX12
protected

Definition at line 174 of file PndFTSCAGBHit.h.

Referenced by ErrX12(), operator<<(), operator>>(), SetErrX12(), and SetErrYZ().

FTSCAStrip* PndFTSCAGBHit::fFStripP
protected

Definition at line 166 of file PndFTSCAGBHit.h.

Referenced by FStripP(), and SetFStripP().

int PndFTSCAGBHit::fID
protected

Definition at line 180 of file PndFTSCAGBHit.h.

Referenced by ID(), operator<<(), operator>>(), and SetID().

int PndFTSCAGBHit::fIRow
protected
double PndFTSCAGBHit::fPhi
protected

Definition at line 182 of file PndFTSCAGBHit.h.

Referenced by Angle(), GetLocalX0X1X2(), operator<<(), operator>>(), and SetAngle().

int PndFTSCAGBHit::fPndDetID
protected

Definition at line 195 of file PndFTSCAGBHit.h.

Referenced by PndDetID(), and SetPndDetID().

int PndFTSCAGBHit::fPndHitID
protected

Definition at line 196 of file PndFTSCAGBHit.h.

Referenced by PndHitID(), and SetPndHitID().

double PndFTSCAGBHit::fX
protected

Definition at line 168 of file PndFTSCAGBHit.h.

Referenced by GetLocalX0X1X2(), operator<<(), operator>>(), SetX(), and X().

double PndFTSCAGBHit::fY
protected

Definition at line 169 of file PndFTSCAGBHit.h.

Referenced by GetLocalX0X1X2(), operator<<(), operator>>(), SetY(), and Y().

double PndFTSCAGBHit::fZ
protected

Definition at line 170 of file PndFTSCAGBHit.h.

Referenced by Compare(), GetLocalX0X1X2(), operator<<(), operator>>(), SetZ(), and Z().

float PndFTSCAGBHit::point_Px

Definition at line 159 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_Py

Definition at line 160 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_Pz

Definition at line 161 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_Qp

Definition at line 162 of file PndFTSCAGBHit.h.

Referenced by PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_X

Definition at line 156 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_Y

Definition at line 157 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

float PndFTSCAGBHit::point_Z

Definition at line 158 of file PndFTSCAGBHit.h.

Referenced by PndFTSCAGBTracker::Refit_1(), and PndFtsCATracking::WriteFTSHits().

int PndFTSCAGBHit::Track_ID

Definition at line 163 of file PndFTSCAGBHit.h.

Referenced by PndFtsCATracking::WriteFTSHits().


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