to compile:

rm -f main
c++ -I. -Wall `root-config --cflags --libs` -o main main.cc    \
  Event.cc EventSource.cc EventReadFromFile.cc EventSim.cc     \
  AnalysisSteering.cc PtStatistic.cc EventDump.cc MassHisto.cc \
  HHCandidate.cc JPsiKCandidate.cc                             \
  Cartesian.cc Utilities.cc Constants.cc

or

source compile

------------

to run:

main input particle_events.dat
or 
main sim 100 234
(to simulate 100 events with random seed 234)
