#include <Prong.h>
Inheritance diagram for recobase::Prong:

Public Member Functions | |
| Prong () | |
| Prong (vector< const recobase::Cluster * > &clvec) | |
| ~Prong () | |
| bool | Add (const recobase::Cluster *cl) |
| int | NCluster () const |
| const recobase::Cluster * | Cluster (int i) const |
| const double * | Dir () const |
| double | EVis () const |
| double | ZStart () const |
| double | ZStop () const |
| const double * | StartPos () const |
| const double * | EndPos () const |
| int | NKalmanState () |
| const KalmanState & | GetKalmanState (unsigned int i) |
| void | SetEVis (double e) |
| void | SetStart (const double *xyz) |
| void | SetStop (const double *xyz) |
| void | SetDir (const double dir[]) |
| void | AddKalmanState (const recobase::KalmanState &ks) |
Private Attributes | |
| vector< recobase::KalmanState > | KState |
| TRefArray | fCluster |
| double | fXYZStart [3] |
| Start location (xyz, cm). | |
| double | fXYZStop [3] |
| End point (xyz, cm). | |
| double | fEVis |
| Total visible energy (units??). | |
| double | fDir [3] |
| Direction at starting point. | |
|
|
Definition at line 24 of file Prong.cxx. References fDir, fXYZStart, and fXYZStop. 00024 : 00025 fEVis(0) 00026 { 00027 for (int i=0; i<3; ++i) { 00028 fXYZStart[i] = -1.e9; 00029 fXYZStop[i] = -1.e9; 00030 fDir[i] = -1.e9; 00031 } 00032 }
|
|
|
Definition at line 37 of file Prong.cxx. References fCluster, fDir, fXYZStart, and fXYZStop. 00037 : 00038 fEVis(0) 00039 { 00040 for (int i=0; i<3; ++i) { 00041 fXYZStart[i] = 0.0; 00042 fXYZStop[i] = 0.0; 00043 fDir[i] = -1.e9; 00044 } 00045 00046 for (unsigned int i=0; i<clvec.size(); ++i) 00047 fCluster.Add((recobase::Cluster*)clvec[i]); 00048 00049 }
|
|
|
Definition at line 54 of file Prong.cxx. 00055 {
00056
00057 }
|
|
|
Definition at line 72 of file Prong.cxx. References recobase::Cluster::Add(), and fCluster. Referenced by recobase::Vertex::Add(), and trk::DemoShell::Reco(). 00073 {
00074 fCluster.Add((recobase::Cluster*)cl);
00075 return true;
00076
00077 }
|
|
|
Definition at line 51 of file Prong.h. 00051 {
00052 KState.push_back(KalmanState(ks));
00053 }
|
|
|
Definition at line 61 of file Prong.cxx. References assert_jobc, fCluster, and NCluster(). 00062 {
00063 assert_jobc((i >= 0) && (i < this->NCluster()),
00064 "Prong::Cluster(): out of bounds exception!");
00065
00066 recobase::Cluster* cl = dynamic_cast<recobase::Cluster*>(fCluster.At(i));
00067 return cl;
00068 }
|
|
|
Definition at line 38 of file Prong.h. 00038 {return fDir; }
|
|
|
Definition at line 43 of file Prong.h. 00043 {return fXYZStop; }
|
|
|
Definition at line 39 of file Prong.h. 00039 {return fEVis; }
|
|
|
Definition at line 45 of file Prong.h. 00045 {return KState[i]; }
|
|
|
Definition at line 34 of file Prong.h. Referenced by Cluster(). 00034 {return fCluster.GetLast() + 1; }
|
|
|
Definition at line 44 of file Prong.h. 00044 { return KState.size(); }
|
|
|
Definition at line 93 of file Prong.cxx. References fDir. Referenced by trk::DemoShell::Reco().
|
|
|
Definition at line 47 of file Prong.h. 00047 { fEVis = e; }
|
|
|
Definition at line 81 of file Prong.cxx. References fXYZStart. Referenced by trk::Circe::MakeProngs(), and trk::DemoShell::Reco(). 00082 {
00083 fXYZStart[0] = xyz[0];
00084 fXYZStart[1] = xyz[1];
00085 fXYZStart[2] = xyz[2];
00086 }
|
|
|
Definition at line 87 of file Prong.cxx. References fXYZStop. Referenced by trk::Circe::MakeProngs(), and trk::DemoShell::Reco().
|
|
|
Definition at line 42 of file Prong.h. 00042 {return fXYZStart; }
|
|
|
Definition at line 40 of file Prong.h. 00040 {return fXYZStart[2]; }
|
|
|
Definition at line 41 of file Prong.h. 00041 {return fXYZStop[2]; }
|
|
|
|
|
|
Direction at starting point.
|
|
|
Total visible energy (units??).
|
|
|
Start location (xyz, cm).
Definition at line 59 of file Prong.h. Referenced by Prong(), and SetStart(). |
|
|
End point (xyz, cm).
|
|
|
|
1.3.9.1