Belle II Software  release-08-01-10
hcollect.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #include <string>
9 #include <stdio.h>
10 #include <stdlib.h>
11 
12 #include <framework/pcore/RbTuple.h>
13 
14 using namespace Belle2;
15 using namespace std;
16 
17 int main(int argc, char** argv)
18 {
19  if (argc < 3) {
20  printf("Usage : hcollect filename nprocs\n");
21  exit(-1);
22  }
23  string file = string(argv[1]);
24  int nprocs = atoi(argv[2]);
25  printf("hcollect here.... %s, nprocs=%d\n", file.c_str(), nprocs);
26 
27  RbTupleManager rbt(nprocs, file.c_str());
28  rbt.hadd(false);
29 
30 }
31 
32 
Class to manage histograms defined in registered modules.
Definition: RbTuple.h:29
Abstract base class for different kinds of events.
int main(int argc, char **argv)
Run all tests.
Definition: test_main.cc:91