/[PAMELA software]/PamelaDigitizer/Digitizer.h
ViewVC logotype

Diff of /PamelaDigitizer/Digitizer.h

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

revision 1.9 by pamelats, Wed Oct 15 14:03:20 2008 UTC revision 1.11 by pamelats, Tue May 5 14:17:46 2009 UTC
# Line 49  class Digitizer{ Line 49  class Digitizer{
49      static const int fPSCUbuffer = 8;      static const int fPSCUbuffer = 8;
50      static const int fTRIGGERbuffer = 152; //(bytes)      static const int fTRIGGERbuffer = 152; //(bytes)
51      static const int fTOFbuffer = 276;     //(bytes)      static const int fTOFbuffer = 276;     //(bytes)
     static const int fRunHeaderbuffer = 27; // ??  
     static const int fRunTrailerbuffer = 17;  
52      static const int fACbuffer = 128;      static const int fACbuffer = 128;
53      static const int fNDbuffer = 6;      static const int fNDbuffer = 6;
54      static const int fS4buffer = 3;      static const int fS4buffer = 3;
# Line 92  class Digitizer{ Line 90  class Digitizer{
90      UShort_t fDataPadding[fPADbuffer];      UShort_t fDataPadding[fPADbuffer];
91      UInt_t fPadding;      UInt_t fPadding;
92    
     UShort_t fDataRunHeader[fRunHeaderbuffer];  
     UShort_t fDataRunTrailer[fRunTrailerbuffer];  
   
93      UChar_t fDataTrigger[fTRIGGERbuffer];      UChar_t fDataTrigger[fTRIGGERbuffer];
94      UChar_t fDataTof[fTOFbuffer];      UChar_t fDataTof[fTOFbuffer];
95    
# Line 394  class Digitizer{ Line 389  class Digitizer{
389    
390      void DigitizePSCU(UInt_t, UChar_t, UShort_t*);  // digitizes the CPU header      void DigitizePSCU(UInt_t, UChar_t, UShort_t*);  // digitizes the CPU header
391      void AddPadding();      void AddPadding();
     void DigitizeRunHeader();  
     void DigitizeRunTrailer();  
     //    void DigitizeTRIGGER();  // SO nov'07: included in DigitizeTOF  
392      void DigitizeTOF(int np,float *atte1,float *atte2,float *lambda1,float *lambda2);  // digitizes the tof      void DigitizeTOF(int np,float *atte1,float *atte2,float *lambda1,float *lambda2);  // digitizes the tof
393      void LoadTOFCalib(int np,float *atte1,float *atte2,float *lambda1,float *lambda2); //load TOF calibration      void LoadTOFCalib(int np,float *atte1,float *atte2,float *lambda1,float *lambda2); //load TOF calibration
394      void DigitizeAC();  // digitizes the anti-counter      void DigitizeAC();  // digitizes the anti-counter
# Line 440  class Digitizer{ Line 432  class Digitizer{
432      Float_t SaturationTracky(Float_t ADC); // Saturation simulation      Float_t SaturationTracky(Float_t ADC); // Saturation simulation
433      //  end methods for Tracker      //  end methods for Tracker
434    
     void WriteRunHeader();  
     void WriteRunTrailer();  
435      void WriteData(); // writes data to file      void WriteData(); // writes data to file
436      void ReadData();      void ReadData();
437    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23