/[PAMELA software]/PamVMC/cal/src/PamVMCCaloDig.cxx
ViewVC logotype

Diff of /PamVMC/cal/src/PamVMCCaloDig.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by pizzolot, Wed Jan 20 11:34:14 2010 UTC revision 1.7 by pizzolot, Wed Sep 15 06:54:17 2010 UTC
# Line 721  void PamVMCCaloDig::DigitizeCaloCompress Line 721  void PamVMCCaloDig::DigitizeCaloCompress
721      //      //
722      DataCALO[fCALOlength] = Getevtcalo() ;      DataCALO[fCALOlength] = Getevtcalo() ;
723      fCALOlength++;      fCALOlength++;
724      cout<<" evtcalo?"<<Getevtcalo()<<endl;      //cout<<" evtcalo?"<<Getevtcalo()<<endl;
725      //      //
726      // Start here with data      // Start here with data
727      //      //
# Line 881  void PamVMCCaloDig::DigitizeCaloCompress Line 881  void PamVMCCaloDig::DigitizeCaloCompress
881      //      //
882      // Write the length      // Write the length
883      //      //
884      DataCALO[fSecPointer+1] = fCALOlength-fSecPointer+1 ;      DataCALO[fSecPointer+1] = (fCALOlength-fSecPointer+1)-2 ;
885        // total length of the packet: -2: because the words with status and length are not included
886      DataCALO[fNofTStripsPointer] = NofTransmittedStrips ;      DataCALO[fNofTStripsPointer] = NofTransmittedStrips ;
887      //      //
888      // here we calculate and save the CRC      // here we calculate and save the CRC

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23