#include <StdHep.h>
Public Member Functions | |
| StdHep () | |
| ~StdHep () | |
| void | Clear () |
| int | StdHepIndex () const |
| int | TruthIndex () const |
| int | ParentBeg () const |
| int | ParentEnd () const |
| int | ChildBeg () const |
| int | ChildEnd () const |
| int | GetIstHEP () const |
| int | GetIdHEP () const |
| float | GetMass () const |
| float | Px () const |
| float | Py () const |
| float | Pz () const |
| float | E () const |
| float | P () const |
| float | Energy () const |
| float | VtxX () const |
| float | VtxY () const |
| float | VtxZ () const |
| float | Time () const |
| Particle::Particle_t | Particle () const |
| bool | IsMuon () const |
| bool | IsLepton () const |
| bool | IsChild (int stdhep) const |
| bool | IsParent (int stdhep) const |
| void | Print (std::ostream &os=std::cout) const |
Private Attributes | |
| Int_t | index |
| Int_t | mc_index |
| Int_t | parent [2] |
| Int_t | child [2] |
| Int_t | IstHEP |
| Int_t | IdHEP |
| Float_t | mass |
| Float_t | p4 [4] |
| Float_t | vtx [4] |
Friends | |
| class | FillTruth |
|
|
Definition at line 14 of file StdHep.cxx. References child, p4, parent, and vtx. 00015 :index(-1), 00016 mc_index(-1), 00017 IstHEP(-1), 00018 IdHEP(0), 00019 mass(-1.0e6) 00020 { 00021 parent[0] = -1; 00022 parent[1] = -1; 00023 00024 child[0] = -1; 00025 child[1] = -1; 00026 00027 p4[0] = -1.0e6; 00028 p4[1] = -1.0e6; 00029 p4[2] = -1.0e6; 00030 p4[3] = -1.0e6; 00031 00032 vtx[0] = -1.0e6; 00033 vtx[1] = -1.0e6; 00034 vtx[2] = -1.0e6; 00035 vtx[3] = -1.0e6; 00036 }
|
|
|
Definition at line 39 of file StdHep.cxx. 00040 {
00041 }
|
|
|
Definition at line 87 of file PhysicsNtuple/StdHep.h. References child. Referenced by IsChild(). 00087 { return child[0]; }
|
|
|
Definition at line 88 of file PhysicsNtuple/StdHep.h. References child. Referenced by IsChild(). 00088 { return child[1]; }
|
|
|
Definition at line 44 of file StdHep.cxx. References child, IdHEP, index, IstHEP, mass, mc_index, p4, parent, and vtx. 00045 {
00046 index = -1;
00047 mc_index = -1;
00048 IstHEP = -1;
00049 IdHEP = -1;
00050 mass = -1.0e6;
00051
00052 parent[0] = -1;
00053 parent[1] = -1;
00054 child[0] = -1;
00055 child[1] = -1;
00056
00057 p4[0] = -1.0e6;
00058 p4[1] = -1.0e6;
00059 p4[2] = -1.0e6;
00060 p4[3] = -1.0e6;
00061
00062 vtx[0] = -1.0e6;
00063 vtx[1] = -1.0e6;
00064 vtx[2] = -1.0e6;
00065 vtx[3] = -1.0e6;
00066 }
|
|
|
Definition at line 97 of file PhysicsNtuple/StdHep.h. References p4. Referenced by Print(). 00097 { return p4[3]; }
|
|
|
Definition at line 99 of file PhysicsNtuple/StdHep.h. References p4. Referenced by Anp::StdHepTab::CreateArrows(). 00099 { return p4[3]; }
|
|
|
Definition at line 91 of file PhysicsNtuple/StdHep.h. Referenced by Anp::StdHepTab::CreateArrows(), and Print(). 00091 { return IdHEP; }
|
|
|
Definition at line 90 of file PhysicsNtuple/StdHep.h. Referenced by Print(), and Anp::TrueNu::TrueNu(). 00090 { return IstHEP; }
|
|
|
Definition at line 92 of file PhysicsNtuple/StdHep.h. 00092 { return mass; }
|
|
|
Definition at line 75 of file StdHep.cxx. References ChildBeg(), and ChildEnd(). 00076 {
00077 if(stdhep >= ChildBeg() && stdhep <= ChildEnd())
00078 {
00079 return true;
00080 }
00081
00082 return false;
00083 }
|
|
|
Definition at line 107 of file StdHep.cxx. Referenced by Anp::TrueNu::TrueNu(). 00108 {
00109 const int hep_ = std::abs(IdHEP);
00110 if(hep_ >= 11 && hep_ <= 16)
00111 {
00112 return true;
00113 }
00114
00115 return false;
00116 }
|
|
|
Definition at line 97 of file StdHep.cxx. References IdHEP. 00098 {
00099 if(IdHEP == 13 || IdHEP == -13)
00100 {
00101 return true;
00102 }
00103 return false;
00104 }
|
|
|
Definition at line 86 of file StdHep.cxx. References ParentBeg(), and ParentEnd(). 00087 {
00088 if(stdhep >= ParentBeg() && stdhep <= ParentEnd())
00089 {
00090 return true;
00091 }
00092
00093 return false;
00094 }
|
|
|
Definition at line 69 of file StdHep.cxx. References p4. Referenced by Anp::StdHepTab::CreateArrows(). 00070 {
00071 return std::sqrt(p4[0]*p4[0] + p4[1]*p4[1] + p4[2]*p4[2]);
00072 }
|
|
|
Definition at line 84 of file PhysicsNtuple/StdHep.h. References parent. Referenced by IsParent(), and Anp::TrueNu::TrueNu(). 00084 { return parent[0]; }
|
|
|
Definition at line 85 of file PhysicsNtuple/StdHep.h. References parent. Referenced by IsParent(), and Anp::TrueNu::TrueNu(). 00085 { return parent[1]; }
|
|
|
Definition at line 106 of file PhysicsNtuple/StdHep.h. References IdHEP, and Particle::PDGParticle(). Referenced by Print(). 00107 {
00108 return Particle::PDGParticle(IdHEP);
00109 }
|
|
|
Definition at line 119 of file StdHep.cxx. References E(), GetIdHEP(), GetIstHEP(), Particle::Name(), Particle(), Px(), Py(), Pz(), and StdHepIndex(). Referenced by Anp::TrueNu::TrueNu(). 00120 {
00121 os << "StdHep::Print" << endl
00122 << " index = " << StdHepIndex() << endl
00123 << " particle = " << Particle::Name(Particle()) << " = " << GetIdHEP() << endl
00124 << " status = " << GetIstHEP() << endl
00125 << " p = (" << Px() << ", " << Py() << ", " << Pz() << ", " << E() << ")" << endl;
00126 }
|
|
|
Definition at line 94 of file PhysicsNtuple/StdHep.h. References p4. Referenced by Anp::StdHepTab::CreateArrows(), Print(), and Anp::TrueNu::TrueNu(). 00094 { return p4[0]; }
|
|
|
Definition at line 95 of file PhysicsNtuple/StdHep.h. References p4. Referenced by Anp::StdHepTab::CreateArrows(), Print(), and Anp::TrueNu::TrueNu(). 00095 { return p4[1]; }
|
|
|
Definition at line 96 of file PhysicsNtuple/StdHep.h. References p4. Referenced by Anp::StdHepTab::CreateArrows(), Print(), and Anp::TrueNu::TrueNu(). 00096 { return p4[2]; }
|
|
|
Definition at line 81 of file PhysicsNtuple/StdHep.h. Referenced by Print(), and Anp::TrueNu::TrueNu(). 00081 { return index; }
|
|
|
Definition at line 104 of file PhysicsNtuple/StdHep.h. References vtx. 00104 { return vtx[3]; }
|
|
|
Definition at line 82 of file PhysicsNtuple/StdHep.h. Referenced by Anp::Truth::Match(), and Anp::TrueNu::TrueNu(). 00082 { return mc_index; }
|
|
|
Definition at line 101 of file PhysicsNtuple/StdHep.h. References vtx. Referenced by Anp::StdHepTab::CreateArrows(). 00101 { return vtx[0]; }
|
|
|
Definition at line 102 of file PhysicsNtuple/StdHep.h. References vtx. Referenced by Anp::StdHepTab::CreateArrows(). 00102 { return vtx[1]; }
|
|
|
Definition at line 103 of file PhysicsNtuple/StdHep.h. References vtx. Referenced by Anp::StdHepTab::CreateArrows(). 00103 { return vtx[2]; }
|
|
|
Definition at line 65 of file PhysicsNtuple/StdHep.h. |
|
|
Definition at line 70 of file PhysicsNtuple/StdHep.h. Referenced by ChildBeg(), ChildEnd(), Clear(), Anp::FillTruth::FillStdHep(), and StdHep(). |
|
|
Definition at line 72 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), Anp::FillTruth::FillStdHep(), IsLepton(), IsMuon(), and Particle(). |
|
|
Definition at line 67 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), and Anp::FillTruth::FillStdHep(). |
|
|
Definition at line 71 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), and Anp::FillTruth::FillStdHep(). |
|
|
Definition at line 73 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), and Anp::FillTruth::FillStdHep(). |
|
|
Definition at line 68 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), and Anp::FillTruth::FillStdHep(). |
|
|
Definition at line 74 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), E(), Energy(), Anp::FillTruth::FillStdHep(), P(), Px(), Py(), Pz(), and StdHep(). |
|
|
Definition at line 69 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), Anp::FillTruth::FillStdHep(), ParentBeg(), ParentEnd(), and StdHep(). |
|
|
Definition at line 75 of file PhysicsNtuple/StdHep.h. Referenced by Clear(), Anp::FillTruth::FillStdHep(), StdHep(), Time(), VtxX(), VtxY(), and VtxZ(). |
1.3.9.1