BMPTEvent Class Reference

#include <BMPTEvent.h>

List of all members.

Public Member Functions

 BMPTEvent ()
 BMPTEvent (double, double, double, double, double, double, int, int)
 ~BMPTEvent ()
double Momentum ()
double Mass ()

Public Attributes

double x
double y
double z
double px
double py
double pz
int pid
int gen

Detailed Description

Definition at line 4 of file BMPTEvent.h.


Constructor & Destructor Documentation

BMPTEvent::BMPTEvent (  ) 

Definition at line 10 of file BMPTEvent.cxx.

References Msg::kDebug, and MSG.

00010                      :
00011   x(0),y(0),z(0),px(0),py(0),pz(0),pid(0),gen(0)
00012 {
00013   MSG("BMPT",Msg::kDebug) << "In BMPTEvent Constructor" << endl;
00014 }

BMPTEvent::BMPTEvent ( double  X,
double  Y,
double  Z,
double  PX,
double  PY,
double  PZ,
int  PID,
int  GEN 
)

Definition at line 17 of file BMPTEvent.cxx.

References gen, pid, px, py, pz, x, y, and z.

00020 {
00021   x=X; y=Y; z=Z; 
00022   px=PX; py=PY; pz=PZ;
00023   pid=PID; gen=GEN;
00024 }

BMPTEvent::~BMPTEvent (  ) 

Definition at line 27 of file BMPTEvent.cxx.

References Msg::kDebug, and MSG.

00028 {
00029   MSG("BMPT",Msg::kDebug) << "In BMPTEvent Destructor" << endl;
00030 }


Member Function Documentation

double BMPTEvent::Mass (  ) 

Definition at line 39 of file BMPTEvent.cxx.

References pid.

Referenced by BMPTCalc::AH(), and BMPTCalc::YLD().

00040 {
00041   if(pid==14) return 1.1;
00042   else if(pid==15) return 1.0;
00043   return 0;
00044 }

double BMPTEvent::Momentum (  ) 

Definition at line 33 of file BMPTEvent.cxx.

References px, py, and pz.

Referenced by BMPTCalc::AH().

00034 {
00035   return sqrt(px*px + py*py + pz*pz);
00036 }


Member Data Documentation

Definition at line 23 of file BMPTEvent.h.

Referenced by BMPTEvent().

Definition at line 22 of file BMPTEvent.h.

Referenced by BMPTCalc::AH(), BMPTEvent(), Mass(), and BMPTCalc::XSec().

double BMPTEvent::px

Definition at line 19 of file BMPTEvent.h.

Referenced by BMPTEvent(), Momentum(), BMPTCalc::XSec(), BMPTCalc::YLD(), and BMPTCalc::ZPRIME().

double BMPTEvent::py

Definition at line 20 of file BMPTEvent.h.

Referenced by BMPTEvent(), Momentum(), BMPTCalc::XSec(), BMPTCalc::YLD(), and BMPTCalc::ZPRIME().

double BMPTEvent::pz

Definition at line 21 of file BMPTEvent.h.

Referenced by BMPTEvent(), Momentum(), BMPTCalc::XSec(), BMPTCalc::YLD(), and BMPTCalc::ZPRIME().

double BMPTEvent::x

Definition at line 16 of file BMPTEvent.h.

Referenced by BMPTEvent(), and BMPTCalc::ZPRIME().

double BMPTEvent::y

Definition at line 17 of file BMPTEvent.h.

Referenced by BMPTEvent(), and BMPTCalc::ZPRIME().

double BMPTEvent::z

Definition at line 18 of file BMPTEvent.h.

Referenced by BMPTEvent(), BMPTCalc::FZ(), and BMPTCalc::ZPRIME().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1