Skip to content

Functor returning decisions of list of HLT lines and extra ODIN functors

Abhijit Mathad requested to merge AM_decodin into master

Addresses #285 (closed) and add following functors:

  • Selection decisions: F.DECISIONS(Lines=lines, "Path/To/DecReports")
  • Selection TCK: F.TCK(decreports)
  • Bunch crossing ID: F.BUNCHCROSSING_ID(odin)
  • Bunch crossing type: F.BUNCHCROSSING_TYPE(odin)
  • Odin TCK: F.ODINTCK(odin)
  • GPSTime: F.GPSTIME(odin)

Includes two changes to existing code:

  • Change existing Functors (F.EVENTNUMBER, F.EVENTTYPE and F.RUNNUMBER) to use a new class (OdinInfo) to retrieve relevant info.

  • Changes to grammer.py: Grammer has changed as follows (for more info refer to discussion)

    • if tuple (regardless of type) -> std::tuple
    • if list (contains different types) -> std::tuple
    • if list (contains same types) -> std::vector.

To be tested with: Moore!1367 (merged), Analysis!867 (merged) and DaVinci!654 (merged).

FYI: @pkoppenb and @erodrigu

Edited by Abhijit Mathad

Merge request reports

Loading