Commit 51b9c968 authored by Vratislav Chudoba's avatar Vratislav Chudoba

Commentaries in parameter file possible.

parent fa30d6f2
......@@ -28,6 +28,7 @@ protected:
TString fParFileName;
//todo energies used for calibration should be in this class
//CsI parameters
......
......@@ -75,6 +75,10 @@ void AculCalParsScint::SetPars() {
fFilePars.resize(fNoFiles);
for (Int_t j = 0; j < fNoFiles; j++) {
line.ReadLine(infile);
if ( line.BeginsWith("#") || line.BeginsWith("//") ) {
j--;
continue;
}
sscanf(line, "%s", fname);
word = fname;
fFilePars[j].SetRawFileName(fname);
......@@ -89,6 +93,10 @@ void AculCalParsScint::SetPars() {
fCutsFileName = fname;
for (Int_t j = 0; j < fNoCuts; j++) {
line.ReadLine(infile);
if ( line.BeginsWith("#") || line.BeginsWith("//") ) {
j--;
continue;
}
sscanf(line, "%s", cname);
fCutName.push_back(cname);
}
......
energies 4 #number of energy points
crystals 16 #number of crystals in detector
files 4
#fileID fileName
data/csi_13_Ealpha16.root
data/csi_13_Ealpha21.root
data/csi_13_Ealpha26.root
......@@ -9,15 +10,17 @@ data/csi_13_Ealpha30.root
cutFile cuts/cutsSQ13Alpha.root 8
cutsSQ13Alpha16
cutSQ13Alpha21
#
cutSQ13Alpha26
cutSQ13Alpha30
#
cutSQ13Alpha16Amp
cutSQ13Alpha21Amp
cutSQ13Alpha26Amp
cutSQ13Alpha30Amp
#detector particle
#keyword detector particle
detector SQ13 Alpha
#energy [MeV/A]
#keyword energy [MeV/A]
energy 66.542
#channel minimum maximum
0 650 830
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment