fastjet 2.4.3
Public Member Functions | Public Attributes

d0::HepEntity Class Reference

#include <HepEntity.h>

List of all members.

Public Member Functions

 HepEntity ()
 HepEntity (double E_in, double px_in, double py_in, double pz_in, int index_in=-1)
 HepEntity (const HepEntity &in)
double y () const
double phi () const
double pT () const
void p4vec (float *p) const
void Add (const HepEntity el)
void Fill (double E_in, double px_in, double py_in, double pz_in, int index_in=-1)

Public Attributes

double E
double px
double py
double pz
int index

Detailed Description

Definition at line 16 of file HepEntity.h.


Constructor & Destructor Documentation

d0::HepEntity::HepEntity ( ) [inline]

Definition at line 20 of file HepEntity.h.

References E, index, px, py, and pz.

              {
    E=0.;
    px=0.;
    py=0.;
    pz=0.;
    index = -1;
    return;
  }
d0::HepEntity::HepEntity ( double  E_in,
double  px_in,
double  py_in,
double  pz_in,
int  index_in = -1 
) [inline]

Definition at line 30 of file HepEntity.h.

                                                                                      : 
    E(E_in), px(px_in), py(py_in), pz(pz_in), index(index_in) {
    return;
  }
d0::HepEntity::HepEntity ( const HepEntity in) [inline]

Definition at line 36 of file HepEntity.h.

                                   : E(in.E), px(in.px), py(in.py), pz(in.pz), index(in.index) {
    return;
  }

Member Function Documentation

void d0::HepEntity::Add ( const HepEntity  el) [inline]

Definition at line 64 of file HepEntity.h.

References E, px, py, and pz.

                                      {
    E += el.E;
    px += el.px;
    py += el.py;
    pz += el.pz;
    return;
  }
void d0::HepEntity::Fill ( double  E_in,
double  px_in,
double  py_in,
double  pz_in,
int  index_in = -1 
) [inline]

Definition at line 72 of file HepEntity.h.

References E, index, px, py, and pz.

Referenced by d0::main().

                                                                                             {
    E = E_in;
    px = px_in;
    py = py_in;
    pz = pz_in;
    index = index_in;
    return;
  }
void d0::HepEntity::p4vec ( float *  p) const [inline]

Definition at line 56 of file HepEntity.h.

References E, px, py, and pz.

                                    {
    p[0] = px;
    p[1] = py;
    p[2] = pz;
    p[3] = E;
    return;
  }
double d0::HepEntity::phi ( ) const [inline]

Definition at line 46 of file HepEntity.h.

References px, and py.

                            {
     return inline_maths::phi(px,py);
  }
double d0::HepEntity::pT ( ) const [inline]

Definition at line 51 of file HepEntity.h.

References px, py, and d0::inline_maths::sqr().

double d0::HepEntity::y ( ) const [inline]

Definition at line 41 of file HepEntity.h.

References E, and pz.

                          {
    return inline_maths::y(E,pz);
  }

Member Data Documentation

Definition at line 82 of file HepEntity.h.

Referenced by Add(), Fill(), HepEntity(), p4vec(), and y().

Definition at line 86 of file HepEntity.h.

Referenced by Fill(), and HepEntity().

Definition at line 83 of file HepEntity.h.

Referenced by Add(), Fill(), HepEntity(), p4vec(), phi(), and pT().

Definition at line 84 of file HepEntity.h.

Referenced by Add(), Fill(), HepEntity(), p4vec(), phi(), and pT().

Definition at line 85 of file HepEntity.h.

Referenced by Add(), Fill(), HepEntity(), p4vec(), and y().


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