HighLAND
psyche
psycheCore
v3r12
src
DataSample.cxx
1
#include "DataSample.hxx"
2
3
#include <sstream>
4
5
//********************************************************************
6
DataSample::DataSample():
TreeManager
(),
Header
(){
7
//********************************************************************
8
9
_norm=0;
10
_cut=
""
;
11
_filePath=
""
;
12
_systGroup=
"default"
;
13
_systOption=
""
;
14
}
15
16
//********************************************************************
17
DataSample::DataSample(
const
std::string& file,
double
norm,
const
std::string& cut):
TreeManager
(),
Header
(){
18
//********************************************************************
19
20
_cut = cut;
21
_norm = norm;
22
_filePath = file;
23
_systGroup=
"default"
;
24
_systOption=
""
;
25
26
// Load all POT and Spill values from the header tree in the file
27
ReadHeader(file);
28
29
// Load all trees from the file
30
ReadFile(_filePath);
31
}
TreeManager
Definition:
TreeManager.hxx:16
Header
This class handles POT info, SoftwareVersion and IsMC.
Definition:
Header.hxx:10
Generated by
1.8.13