- cout<<" ntracks "<<ntracks<<endl;
- if (ntracks<=0) return;
- // Start loop on tracks in the photon hits containers
- // for amplitude
- /*
- if(brHitPhoton) {
- cout<<"brHitPhoton "<<endl;
- for (Int_t track=0; track<ntracks;track++) {
- brHitPhoton -> GetEntry(track);;
- nhits = STARThitsPhotons->GetEntriesFast();
- for (hit=0;hit<nhits;hit++) {
- startHitPhoton = (AliSTARThitPhoton*)
- STARThitsPhotons ->UncheckedAt(hit);
- pmt=startHitPhoton->fPmt;
- volume = startHitPhoton->fArray;
- if(RegisterPhotoE(startHitPhoton))
- {
- if (volume == 1) CountEr[pmt]++;
- if (volume == 2) CountEl[pmt]++;
- }
- } //hit photons
- } //track photons
- } // was photons
- */
+#ifdef DEBUG
+ Info("Digitizer",ntracks);
+#endif
+ if (ntracks<=0) return;