Skip to content
Snippets Groups Projects
Commit ffc3dfc3 authored by Vardan Tadevosyan's avatar Vardan Tadevosyan Committed by Stephen A. Wood
Browse files

Correct filling of HitSet in THcShowerArray::CoarseProcess.

	Cycle over array of pedestal subtracted fADC signals fA_p in
	the same order as it was filled.
parent 2cee44f8
No related branches found
No related tags found
No related merge requests found
...@@ -399,8 +399,8 @@ Int_t THcShowerArray::CoarseProcess( TClonesArray& tracks ) ...@@ -399,8 +399,8 @@ Int_t THcShowerArray::CoarseProcess( TClonesArray& tracks )
THcShowerHitSet HitSet; //set of hits THcShowerHitSet HitSet; //set of hits
UInt_t k=0; UInt_t k=0;
for (UInt_t i=0; i<fNRows; i++) { for(UInt_t j=0; j < fNColumns; j++) {
for(UInt_t j=0; j < fNColumns; j++) { for (UInt_t i=0; i<fNRows; i++) {
if (fA_p[k] > 0) { //hit if (fA_p[k] > 0) { //hit
......
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