Skip to content
Snippets Groups Projects
Commit 08fa8a04 authored by Cyrano Bergmann's avatar Cyrano Bergmann
Browse files

signal shape histos start now with bin 0.

git-svn-id: https://subversion.gsi.de/cbmsoft/cbmroot/trunk@7576 5a1b234a-d7ce-0410-9a93-fd649a8fa65c
parent 05f86910
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ void CbmTrdRawBeamProfile::Exec(Option_t*)
fHM->H2(histName.Data())->Fill(chID,raw->GetSamples()[0]);
Float_t AdcIntegral = 0;
for (Int_t bin = 1; bin < nrSamples; bin++) {
for (Int_t bin = 0; bin < nrSamples; bin++) {
AdcIntegral += raw->GetSamples()[bin] + 256;// - raw->GetSamples()[0]);
histName = "Signal_Shape_" + syscore + spadic + channelId;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment