#include <Vertex.h>
Public Member Functions | |
| Vertex () | |
| Vertex (vector< const recobase::Prong * > &prvec) | |
| ~Vertex () | |
| bool | Add (const recobase::Prong *pr) |
| int | NProng () const |
| double | X () const |
| double | Y () const |
| double | Z () const |
| void | Pos (double pos[3]) |
| const recobase::Prong * | Prong (int i) const |
| void | SetPos (double pos[3]) |
Private Attributes | |
| TRefArray | fProng |
| double | fX [3] |
|
|
Definition at line 22 of file Vertex.cxx. References fX. 00023 {
00024 for (int i=0; i<3; ++i)
00025 fX[i] = -1.e9;
00026 }
|
|
|
Definition at line 32 of file Vertex.cxx. 00033 {
00034 for (int i=0; i<3; ++i)
00035 fX[i] = -1.e9;
00036
00037 for (unsigned int i=0; i<prvec.size(); ++i)
00038 fProng.Add((recobase::Prong*)prvec[i]);
00039
00040 }
|
|
|
Definition at line 46 of file Vertex.cxx. 00047 {
00048
00049 }
|
|
|
Definition at line 71 of file Vertex.cxx. References recobase::Prong::Add(), and fProng. 00072 {
00073 fProng.Add((recobase::Prong*)pr);
00074 return true;
00075
00076 }
|
|
|
Definition at line 53 of file Vertex.cxx. References fProng. Referenced by Prong(). 00054 {
00055 return fProng.GetLast() + 1;
00056 }
|
|
|
Definition at line 38 of file Vertex.h. 00038 { for (int i=0; i<3; ++i) pos[i]=fX[i]; }
|
|
|
Definition at line 60 of file Vertex.cxx. References assert_jobc, fProng, and NProng(). 00061 {
00062 assert_jobc((i >= 0) && (i < this->NProng()),
00063 "Vertex::Prong(): out of bounds exception!");
00064
00065 recobase::Prong* pr = dynamic_cast<recobase::Prong*>(fProng.At(i));
00066 return pr;
00067 }
|
|
|
Definition at line 42 of file Vertex.h. 00042 { for (int i=0; i<3; ++i) fX[i] = pos[i]; }
|
|
|
Definition at line 35 of file Vertex.h. 00035 { return fX[0]; }
|
|
|
Definition at line 36 of file Vertex.h. 00036 { return fX[1]; }
|
|
|
Definition at line 37 of file Vertex.h. 00037 { return fX[2]; }
|
|
|
|
|
|
Definition at line 47 of file Vertex.h. Referenced by Vertex(). |
1.3.9.1