Belle II Software
release-05-01-25
SVDDetectorConfigurationImporter.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2017 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Laura Zani *
7
* *
8
* This software is provided "as is" without any warranty. *
9
* WARNING: Do not try to fry it with water. Use only olive oil. *
10
**************************************************************************/
11
12
#pragma once
13
14
#include <TObject.h>
15
16
namespace
Belle2
{
28
class
SVDDetectorConfigurationImporter {
29
30
public
:
31
35
SVDDetectorConfigurationImporter
():
36
m_firstExperiment
(0),
m_firstRun
(0),
37
m_lastExperiment
(-1),
m_lastRun
(-1)
38
{
39
}
40
45
SVDDetectorConfigurationImporter
(
int
fexp,
int
frun,
int
lexp,
int
lrun):
46
m_firstExperiment
(fexp),
m_firstRun
(frun),
47
m_lastExperiment
(lexp),
m_lastRun
(lrun)
48
{
49
}
50
51
55
virtual
~SVDDetectorConfigurationImporter
()
56
{}
57
63
void
importSVDGlobalXMLFile
(
const
std::string& fileName = std::string(
"svd/data/global.xml"
));
64
65
72
void
importSVDGlobalConfigParametersFromXML
(
const
std::string& xmlfileName);
73
80
void
importSVDLocalConfigParametersFromXML
(
const
std::string& xmlfileName);
81
82
private
:
83
88
int
m_firstExperiment
;
89
int
m_firstRun
;
90
int
m_lastExperiment
;
91
int
m_lastRun
;
93
};
94
96
}
// Belle2 namespace
Belle2::SVDDetectorConfigurationImporter::m_firstRun
int m_firstRun
First run.
Definition:
SVDDetectorConfigurationImporter.h:98
Belle2::SVDDetectorConfigurationImporter::importSVDGlobalXMLFile
void importSVDGlobalXMLFile(const std::string &fileName=std::string("svd/data/global.xml"))
This method import to the database the global configuration xml file used during data taking.
Belle2::SVDDetectorConfigurationImporter::m_lastRun
int m_lastRun
Last run.
Definition:
SVDDetectorConfigurationImporter.h:100
Belle2::SVDDetectorConfigurationImporter::m_firstExperiment
int m_firstExperiment
The interval of validity coordinates are defined as private members.
Definition:
SVDDetectorConfigurationImporter.h:97
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::SVDDetectorConfigurationImporter::importSVDGlobalConfigParametersFromXML
void importSVDGlobalConfigParametersFromXML(const std::string &xmlfileName)
This method import to the database the global configuration parameters used during data taking.
Belle2::SVDDetectorConfigurationImporter::importSVDLocalConfigParametersFromXML
void importSVDLocalConfigParametersFromXML(const std::string &xmlfileName)
This method import to the database the local configuration parameters used during data taking.
Belle2::SVDDetectorConfigurationImporter::SVDDetectorConfigurationImporter
SVDDetectorConfigurationImporter()
Default constructor.
Definition:
SVDDetectorConfigurationImporter.h:44
Belle2::SVDDetectorConfigurationImporter::~SVDDetectorConfigurationImporter
virtual ~SVDDetectorConfigurationImporter()
Destructor.
Definition:
SVDDetectorConfigurationImporter.h:64
Belle2::SVDDetectorConfigurationImporter::m_lastExperiment
int m_lastExperiment
Last experiment.
Definition:
SVDDetectorConfigurationImporter.h:99
svd
calibration
include
SVDDetectorConfigurationImporter.h
Generated on Fri Nov 5 2021 03:57:56 for Belle II Software by
1.8.17