Belle II Software  release-05-01-25
RunInfo.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Karim, Vishal
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <framework/dbobjects/RunInfo.h>
12 #include <framework/gearbox/Const.h>
13 #include <framework/gearbox/Unit.h>
14 
15 #include <iostream>
16 
17 using namespace std;
18 using namespace Belle2;
19 
20 
21 void RunInfo::Print(Option_t*) const
22 {
23  std::cout << " " << std::endl;
24  std::cout << "Run Summary" << std::endl;
25  std::cout << " Exp " << m_exp << ", Run " << m_run << std::endl;
26  std::cout << " Run Type " << m_runType << std::endl;
27  std::cout << " Start time " << m_startTime << ", Stop time " << m_stopTime
28  << ", Run Length " << m_runLength << ", Trigger Rate " << m_triggerRate << std::endl;
29  std::cout << " Received nevents " << m_receivedNevent << " Accepted nevents " << m_acceptedNevent
30  << ", Sent nevents " << m_sentNevent << std::endl;
31 
32  std::cout << "Detector used " << std::endl;
33  for (int i = 0; i < int(m_Belle2Detector.size()); ++i) {
34  std::cout << m_Belle2Detector[i] << " : " ;
35  }
36  std::cout << std::endl;
37 
38 
39 }
40 
41 
42 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19