]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDmcmSim.h
Mods
[u/mrichter/AliRoot.git] / TRD / AliTRDmcmSim.h
index 4989d5ff583cf0201decdbd6cec5b8bb0deaefdd..d7cb067355233e3d6420af677e3ebc7a356c49e6 100644 (file)
@@ -181,6 +181,7 @@ class AliTRDmcmSim : public TObject {
          // hit detection
          // individual hits can be stored as MC info
          struct Hit_t {                                // Array of detected hits (only available in MC)
+         Hit_t() : fChannel(0), fTimebin(0), fQtot(0), fYpos(0) { fLabel[0] = 0; fLabel[1] = 0; fLabel[2] = 0; }
            Int_t fChannel;                             // ADC channel of the hit
            Int_t fTimebin;                             // timebin of the hit
            Int_t fQtot;                                // total charge of the hit