All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FileMeta.hh
Go to the documentation of this file.
1 #ifndef __sbnanalysis_core_FileMeta__
2 #define __sbnanalysis_core_FileMeta__
3 
4 /**
5  * \file FileMeta.hh
6  *
7  * File-level information.
8  *
9  * Author: G. Putnam <grayputnam@uchicago.edu> 2019/12/11
10  */
11 
12 /**
13  * \class FileMeta
14  * \brief Metadata for each input file.
15  */
16 class FileMeta {
17 public:
19  : n_events(0), n_gen_events(0) {}
20 
21  FileMeta(unsigned _n_events, unsigned _n_gen_events)
22  : n_events(_n_events), n_gen_events(_n_gen_events) {}
23 
24  unsigned n_events;
25  unsigned n_gen_events;
26 };
27 
28 #endif // __sbnanalysis_core_FileMeta__
29 
FileMeta(unsigned _n_events, unsigned _n_gen_events)
Definition: FileMeta.hh:21
unsigned n_events
Definition: FileMeta.hh:24
FileMeta()
Definition: FileMeta.hh:18
unsigned n_gen_events
Definition: FileMeta.hh:25
Metadata for each input file.
Definition: FileMeta.hh:16