AlphaTwirl is a python library that loops over event data and summarizes them into multi-dimensional categorical (binned) data as data frames. Event data, input to AlphaTwirl, are data with one entry (or row) for one event: for example, data in ROOT TTree with one entry per collision event of an LHC experiment. Event data are often large -- too large to be loaded in memory -- because they have as many entries as events. Multi-dimensional categorical data, the output of AlphaTwirl, have one row for one category. They are usually small -- small enough to be loaded in memory -- because they only have as many rows as categories. Users can, for example, import them as data frames into R and pandas, which usually load all data in memory, and can perform categorical data analyses with a rich set of data operations available in R and pandas. In this presentation, I will show (a) an example workflow of data analysis using AlphaTwirl and data frames, (b) the user interface of AlphaTwirl, e.g., how to specify conditions of event selection, binning and categories, and methods to summarize data in each category, and (c) features of implementation, such as concurrency in looping over large event data. In addition, I will mention particular analyses in CMS using AlphaTwirl. I will also discuss possibilities for future development.
|Publication status||In preparation - 10 Jul 2018|
|Event||23rd International Conference on Computing in High Energy and Nuclear Physics - National Palace of Culture, Sofia, Bulgaria|
Duration: 9 Jul 2018 → 13 Jul 2018
|Conference||23rd International Conference on Computing in High Energy and Nuclear Physics|
|Abbreviated title||CHEP 2018|
|Period||9/07/18 → 13/07/18|
Sakuma, T. (2018). AlphaTwirl: a python library for summarizing event data into multi-dimensional categorical data. Poster session presented at 23rd International Conference on Computing in High Energy and Nuclear Physics, Sofia, Bulgaria.