Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
selectEvents_s.cc File Reference
#include "hddm_select_events.h"
#include "particleType.h"

Go to the source code of this file.

Macros

#define SQR(X)   ((X)*(X))
 

Functions

bool selectEvent_s (int select_type, hddm_s::HDDM &record, int nevents, bool debug)
 

Variables

TRandom2 * rndm
 

Macro Definition Documentation

#define SQR (   X)    ((X)*(X))

Definition at line 12 of file selectEvents_s.cc.

Referenced by selectEvent_s().

Function Documentation

bool selectEvent_s ( int  select_type,
hddm_s::HDDM &  record,
int  nevents,
bool  debug 
)

Definition at line 17 of file selectEvents_s.cc.

References alpha, Eta, Gamma, KPlus, Lambda, ParticleMass(), ParticleType(), Pi0, PiMinus, PiPlus, Proton, py, rndm, SQR, sqrt(), and XiMinus.

Referenced by main().

Variable Documentation

TRandom2* rndm

Definition at line 25 of file hddm_select_events.cc.

Referenced by main(), and selectEvent_s().