[12gevmoller_sim] [JeffersonLab/remoll] 96e073: Add re-root prompt.

GitHub noreply at github.com
Wed Feb 22 11:07:30 EST 2017


  Branch: refs/heads/pion
  Home:   https://github.com/JeffersonLab/remoll
  Commit: 96e073e536c5f73693544a2eaf6704009608e2d6
      https://github.com/JeffersonLab/remoll/commit/96e073e536c5f73693544a2eaf6704009608e2d6
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M reroot.cc

  Log Message:
  -----------
  Add re-root prompt.


  Commit: bfffd3b62792c5e7f2c12d50381963715e84b586
      https://github.com/JeffersonLab/remoll/commit/bfffd3b62792c5e7f2c12d50381963715e84b586
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M CMakeLists.txt
    A include/remollRint.hh
    M reroot.cc
    A src/remollRint.cc

  Log Message:
  -----------
  Somewhat annoying way of forcing gcc to link the library into reroot
even if no actual objects from it are used, but setting up a silly
object and using it...


  Commit: 92c5efb9340be16b62411205fc8f98b430f952a3
      https://github.com/JeffersonLab/remoll/commit/92c5efb9340be16b62411205fc8f98b430f952a3
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    M rootlogon.C

  Log Message:
  -----------
  Change in loading library since renamed by CMakeLists.txt change previously.


  Commit: 365e0c61144fc64f9878e0144baf8090366f255d
      https://github.com/JeffersonLab/remoll/commit/365e0c61144fc64f9878e0144baf8090366f255d
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2017-02-22 (Wed, 22 Feb 2017)

  Changed paths:
    A analysis/my_analysis.C
    R analysis/remoll.C
    M analysis/remoll.h

  Log Message:
  -----------
  Removed remoll.C since not a solution that can be used for multiple analysis.

Now, my_analysis is the framework of an analysis script that can be copied
many times and modified as necessary without stepping on other code.

re-root [] .L analysis/my_analysis.C+
re-root [] my_analysis a;
re-root [] a.Loop()
re-root [] h_hit_n->Draw();
re-root [] h_hit_pid->Draw();

my_analysis is an example analysis object that inherits from remoll. The
pure virtual Loop function must be implemented by the analysis object.
Many different analysis objects can be generated by copying my_analysis.C
to different filenames and renaming the class (and even that is not really
necessary). Analysis objects can even have their own inheritance structure
(as long as you call Loop() properly and are OK with multiple loops through
the tree.


Compare: https://github.com/JeffersonLab/remoll/compare/5bda802cace8...365e0c61144f


More information about the 12gevmoller_sim mailing list