What is an Event Loop ?

Event Loop is a package maintained by the ASG group for looping over events.


Creating your Event Loop algorithm

From your working directory (the one containing “RootCoreBin” which in this case is “analysis_1”) type:

$ROOTCOREBIN/user_scripts/EventLoop/make_skeleton analysis_1 UserEventLoopAlgorithm

which creates a skeleton EventLoop code called UserEventLoopalgorithm.cxx in your “UserPackage/Root” directory and a header file called UserEventLoopAlgorithm.h at the “UserPackage/UsersPackage” folder. At this point it is strongly suggested to take a look at your EventLoop code and read the descriptions provided for each part.

Now you can build your algorithm you have just created as follows:

  1. type rc find_packages
  2. type rc compile

Generally, every time you make a change in “Makefile.RootCore” (at UserPackage/cmt/) in terms of packages, you should rerun rc find_packages. If you just change your code, only rc compile is required.