2 |
* FTrkCalibQLookExpert.cpp |
* FTrkCalibQLookExpert.cpp |
3 |
* |
* |
4 |
* autor: D.Fedele |
* autor: D.Fedele |
5 |
* version 2.0 |
* version 3.0 |
6 |
* Parameters: |
* Parameters: |
7 |
* file - the data file to analyze |
* file - the data file to analyze |
8 |
* step - select =1 in order to analyze one event at time |
* step - select =1 in order to analyze one event at time |
336 |
/* -----------> HISTOGRAMS */ |
/* -----------> HISTOGRAMS */ |
337 |
/* calibration parameters */ |
/* calibration parameters */ |
338 |
title<<"DSP "<<n+1; |
title<<"DSP "<<n+1; |
339 |
hid<<"h"<<n; |
hid<<"h"<<n<<"i"<<i; |
340 |
histosig[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3072,0.5,3072.5); |
histosig[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3072,0.5,3072.5); |
341 |
hid.str(""); |
hid.str(""); |
342 |
hid<<"hh"<<n; |
hid<<"hh"<<n<<"i"<<i; |
343 |
histoped[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3072,0.5,3072.5); |
histoped[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3072,0.5,3072.5); |
344 |
hid.str(""); |
hid.str(""); |
345 |
hid<<"hhh"<<n; |
hid<<"hhh"<<n<<"i"<<i; |
346 |
title.str(""); |
title.str(""); |
347 |
hid.str(""); |
hid.str(""); |
348 |
/* AVERAGE calibration parameters */ |
/* AVERAGE calibration parameters */ |
349 |
hid<<"ah"<<n; |
hid<<"ah"<<n<<"i"<<i; |
350 |
histoasig[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3,0.5,3072.5); |
histoasig[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3,0.5,3072.5); |
351 |
hid.str(""); |
hid.str(""); |
352 |
hid<<"ahh"<<n; |
hid<<"ahh"<<n<<"i"<<i; |
353 |
histoaped[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3,0.5,3072.5); |
histoaped[n] = new TH1F(hid.str().c_str(),title.str().c_str(),3,0.5,3072.5); |
354 |
hid.str(""); |
hid.str(""); |
355 |
}; //end loop on views |
}; //end loop on views |