Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcPrototypeTrack.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcPrototypeTrack.cc
1 // $Id: $
2 
11 #include "TpcPrototypeTrack.h"
12 
13 #include <cmath>
14 #include <limits>
15 
16 using namespace std;
17 
19  : event(0)
20  , trackID(-1)
21  , chisq(NAN)
22  , ndf(0)
23  , px(NAN)
24  , py(NAN)
25  , pz(NAN)
26  , x(NAN)
27  , y(NAN)
28  , z(NAN)
29  , nCluster(0)
30 {
31  for (int i = 0; i < nLayer; ++i)
32  {
33  clusterKey[i] = numeric_limits<uint64_t>::max();
34  clusterlayer[i] = -1;
35  clusterid[i] = -1;
36  clusterX[i] = numeric_limits<float>::signaling_NaN();
37  clusterY[i] = numeric_limits<float>::signaling_NaN();
38  clusterZ[i] = numeric_limits<float>::signaling_NaN();
39  clusterE[i] = numeric_limits<float>::signaling_NaN();
40  clusterSizePhi[i] = numeric_limits<float>::signaling_NaN();
41  clusterProjectionPhi[i] = numeric_limits<float>::signaling_NaN();
42  clusterResidualPhi[i] = clusterResidualZ[i] = numeric_limits<float>::signaling_NaN();
43  }
44 }
45 
47 {
48  // TODO Auto-generated destructor stub
49 }