BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Gen_HEPEVT Class Reference

#include <Gen_HEPEVT.h>

Public Member Functions

 Gen_HEPEVT (void)
 
int nevhep (void) const
 
int nhep (void) const
 
int isthep (int ihep)
 
int idhep (int ihep)
 
int first_parent (int ihep)
 
int last_parent (int ihep)
 
int first_child (int ihep)
 
int last_child (int ihep)
 
double px (int ihep)
 
double py (int ihep)
 
double pz (int ihep)
 
double e (int ihep)
 
double m (int ihep)
 
double x (int ihep)
 
double y (int ihep)
 
double z (int ihep)
 
double t (int ihep)
 
void nevhep (int value)
 
void nhep (int value)
 
void isthep (int &ihep, int value)
 
void idhep (int &ihep, int value)
 
void mothers (int &ihep, int value1, int value2)
 
void daughters (int &ihep, int value1, int value2)
 
void momentum (int &ihep, double px, double py, double pz, double e, double m)
 
void position (int &ihep, double x, double y, double z, double t)
 

Detailed Description

Definition at line 11 of file Gen_HEPEVT.h.

Constructor & Destructor Documentation

◆ Gen_HEPEVT()

Gen_HEPEVT::Gen_HEPEVT ( void )
inline

Definition at line 93 of file Gen_HEPEVT.h.

94 : m_NEVHEP (0),
95 m_NHEP (0)
96{}

Member Function Documentation

◆ daughters()

void Gen_HEPEVT::daughters ( int & ihep,
int value1,
int value2 )
inline

Definition at line 193 of file Gen_HEPEVT.h.

194{ m_JDAHEP[ihep] = std::make_pair(value1, value2); }

◆ e()

double Gen_HEPEVT::e ( int ihep)
inline

Definition at line 146 of file Gen_HEPEVT.h.

147{ return m_PHEP3[ihep]; }

Referenced by momentum().

◆ first_child()

int Gen_HEPEVT::first_child ( int ihep)
inline

Definition at line 126 of file Gen_HEPEVT.h.

127{ return m_JDAHEP[ihep].first; }

◆ first_parent()

int Gen_HEPEVT::first_parent ( int ihep)
inline

Definition at line 118 of file Gen_HEPEVT.h.

119{ return m_JMOHEP[ihep].first; }

◆ idhep() [1/2]

void Gen_HEPEVT::idhep ( int & ihep,
int value )
inline

Definition at line 185 of file Gen_HEPEVT.h.

186{ m_IDHEP[ihep] = value; }

◆ idhep() [2/2]

int Gen_HEPEVT::idhep ( int ihep)
inline

Definition at line 114 of file Gen_HEPEVT.h.

115{ return m_IDHEP[ihep]; }

◆ isthep() [1/2]

void Gen_HEPEVT::isthep ( int & ihep,
int value )
inline

Definition at line 181 of file Gen_HEPEVT.h.

182{ m_ISTHEP[ihep] = value; }

◆ isthep() [2/2]

int Gen_HEPEVT::isthep ( int ihep)
inline

Definition at line 110 of file Gen_HEPEVT.h.

111{ return m_ISTHEP[ihep]; }

◆ last_child()

int Gen_HEPEVT::last_child ( int ihep)
inline

Definition at line 130 of file Gen_HEPEVT.h.

131{ return m_JDAHEP[ihep].second; }

◆ last_parent()

int Gen_HEPEVT::last_parent ( int ihep)
inline

Definition at line 122 of file Gen_HEPEVT.h.

123{ return m_JMOHEP[ihep].second; }

◆ m()

double Gen_HEPEVT::m ( int ihep)
inline

Definition at line 150 of file Gen_HEPEVT.h.

151{ return m_PHEP4[ihep]; }

Referenced by momentum().

◆ momentum()

void Gen_HEPEVT::momentum ( int & ihep,
double px,
double py,
double pz,
double e,
double m )
inline

Definition at line 197 of file Gen_HEPEVT.h.

199{
200 m_PHEP0[ihep] = px;
201 m_PHEP1[ihep] = py;
202 m_PHEP2[ihep] = pz;
203 m_PHEP3[ihep] = e;
204 m_PHEP4[ihep] = m;
205}
double px(int ihep)
Definition Gen_HEPEVT.h:134
double m(int ihep)
Definition Gen_HEPEVT.h:150
double pz(int ihep)
Definition Gen_HEPEVT.h:142
double py(int ihep)
Definition Gen_HEPEVT.h:138
double e(int ihep)
Definition Gen_HEPEVT.h:146

◆ mothers()

void Gen_HEPEVT::mothers ( int & ihep,
int value1,
int value2 )
inline

Definition at line 189 of file Gen_HEPEVT.h.

190{ m_JMOHEP[ihep] = std::make_pair(value1, value2); }

◆ nevhep() [1/2]

void Gen_HEPEVT::nevhep ( int value)
inline

Definition at line 173 of file Gen_HEPEVT.h.

174{ m_NEVHEP = value; }

◆ nevhep() [2/2]

int Gen_HEPEVT::nevhep ( void ) const
inline

Definition at line 102 of file Gen_HEPEVT.h.

103{ return m_NEVHEP; }

◆ nhep() [1/2]

void Gen_HEPEVT::nhep ( int value)
inline

Definition at line 177 of file Gen_HEPEVT.h.

178{ m_NHEP = value; }

◆ nhep() [2/2]

int Gen_HEPEVT::nhep ( void ) const
inline

Definition at line 106 of file Gen_HEPEVT.h.

107{ return m_NHEP; }

◆ position()

void Gen_HEPEVT::position ( int & ihep,
double x,
double y,
double z,
double t )
inline

Definition at line 208 of file Gen_HEPEVT.h.

210{
211 m_VHEP0[ihep] = x;
212 m_VHEP1[ihep] = y;
213 m_VHEP2[ihep] = z;
214 m_VHEP3[ihep] = t;
215}
TTree * t
Definition binning.cxx:23
double x(int ihep)
Definition Gen_HEPEVT.h:154
double z(int ihep)
Definition Gen_HEPEVT.h:162
double y[1000]

◆ px()

double Gen_HEPEVT::px ( int ihep)
inline

Definition at line 134 of file Gen_HEPEVT.h.

135{ return m_PHEP0[ihep]; }

Referenced by momentum().

◆ py()

double Gen_HEPEVT::py ( int ihep)
inline

Definition at line 138 of file Gen_HEPEVT.h.

139{ return m_PHEP1[ihep]; }

Referenced by momentum().

◆ pz()

double Gen_HEPEVT::pz ( int ihep)
inline

Definition at line 142 of file Gen_HEPEVT.h.

143{ return m_PHEP2[ihep]; }

Referenced by momentum().

◆ t()

double Gen_HEPEVT::t ( int ihep)
inline

Definition at line 166 of file Gen_HEPEVT.h.

167{ return m_VHEP3[ihep]; }

◆ x()

double Gen_HEPEVT::x ( int ihep)
inline

Definition at line 154 of file Gen_HEPEVT.h.

155{ return m_VHEP0[ihep]; }

◆ y()

double Gen_HEPEVT::y ( int ihep)
inline

Definition at line 158 of file Gen_HEPEVT.h.

159{ return m_VHEP1[ihep]; }

◆ z()

double Gen_HEPEVT::z ( int ihep)
inline

Definition at line 162 of file Gen_HEPEVT.h.

163{ return m_VHEP2[ihep]; }

Referenced by position().


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