Changeset 17665


Ignore:
Timestamp:
04/11/14 11:57:38 (11 years ago)
Author:
ftemme
Message:
Forget to set the arrays of the MTruePhotonsPerPixel container to zero, before adding the photons in MSimCamera
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimcamera/MSimCamera.cc

    r17663 r17665  
    339339
    340340    Double_t tot = 0;
     341
     342    for (int i=0 ; i<1440 ; i++)
     343    {
     344        (*fTruePhotons->cherenkov_photons_weight)[idx] = 0;
     345        (*fTruePhotons->cherenkov_photons_number)[idx] = 0;
     346        (*fTruePhotons->cherenkov_arrival_time_mean)[idx] = ;
     347        (*fTruePhotons->cherenkov_arrival_time_variance)[idx] = 0;
     348        (*fTruePhotons->muon_cherenkov_photons_weight)[idx] = 0;
     349        (*fTruePhotons->muon_cherenkov_photons_number)[idx] = 0;
     350        (*fTruePhotons->cherenkov_arrival_time_min)[idx] = 10000;
     351        (*fTruePhotons->cherenkov_arrival_time_max)[idx] = 0;
     352        (*fTruePhotons->noise_photons_weight)[idx] = 0;
     353    }
    341354
    342355    // Simulate pulses
Note: See TracChangeset for help on using the changeset viewer.