forked from h2gglobe/h2gglobe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cut.cc
30 lines (26 loc) · 770 Bytes
/
Cut.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "Cut.h"
#include <iostream>
Cut::Cut() {}
Cut::~Cut() {}
void Cut::Print() {
std::cout<<"Cut print"<<std::endl;
std::cout<<"name "<<name<<std::endl;
std::cout<<"fromright "<<fromright<<std::endl;
std::cout<<"finalcut "<<finalcut<<std::endl;
std::cout<<"index "<<index<<std::endl;
std::cout<<"ncat "<<ncat<<std::endl;
for (int j=0; j<ncat; j++) {
if(fromright==2) {
std::cout<<j<<" cut range "<<cutintervall[j]<<" "<<cutintervalh[j]<<std::endl;
} else {
std::cout<<j<<" cut "<<cut[j]<<std::endl;
}
}
std::cout<<"mycutvar "<<mycutvar<<std::endl;
if(mycutvar) {
//" "<<*(mycutvar+1)<<std::endl;
for (int j=0; j<ncat; j++) {
std::cout<<"mycutvar new test "<<j<<" "<<mycutvar[j]<<std::endl;
}
}
}