Commit e22eb000 authored by Philippe Calfayan's avatar Philippe Calfayan
Browse files

reduced some array lengths from 1800 to 1080

parent 7ed3bb35
......@@ -350,10 +350,10 @@ void TRT_ToT_dEdx::update_New(std::map<std::string,std::vector<float> > &result_
for (unsigned int ind=0; ind < 180; ++ind) {
Dedxcorrection::para_short_mimicToXe_MC[0][ind]=result_dict["para_short_mimicToXeXe"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_DATA[0][ind]=result_dict["para_long_mimicToXeXe"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_MC[0][ind]=result_dict["para_long_mimicToXeXe"][ind];
}
......@@ -428,10 +428,10 @@ void TRT_ToT_dEdx::update_New(std::map<std::string,std::vector<float> > &result_
for (unsigned int ind=0; ind < 180; ++ind) {
Dedxcorrection::para_short_mimicToXe_MC[1][ind]=result_dict["para_short_mimicToXeAr"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_DATA[1][ind]=result_dict["para_long_mimicToXeAr"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_MC[1][ind]=result_dict["para_long_mimicToXeAr"][ind];
}
......@@ -506,10 +506,10 @@ void TRT_ToT_dEdx::update_New(std::map<std::string,std::vector<float> > &result_
for (unsigned int ind=0; ind < 180; ++ind) {
Dedxcorrection::para_short_mimicToXe_MC[2][ind]=result_dict["para_short_mimicToXeKr"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_DATA[2][ind]=result_dict["para_long_mimicToXeKr"][ind];
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_MC[2][ind]=result_dict["para_long_mimicToXeKr"][ind];
}
}
......@@ -586,7 +586,7 @@ void TRT_ToT_dEdx::update_Old(std::map<std::string,std::vector<float> > &result_
Dedxcorrection::para_short_mimicToXe_DATA[gasType][ind] = 1.;
}
for (unsigned int ind=0; ind < 1800; ++ind) {
for (unsigned int ind=0; ind < 1080; ++ind) {
Dedxcorrection::para_long_mimicToXe_MC[gasType][ind] = 1.;
Dedxcorrection::para_long_mimicToXe_DATA[gasType][ind] = 1.;
}
......
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