/[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.12 by mocchiut, Tue Aug 11 14:56:30 2009 UTC revision 1.14 by pizzolot, Fri Nov 13 09:08:54 2009 UTC
# Line 46  class Digitizer{ Line 46  class Digitizer{
46      int *ncal;      int *ncal;
47      int *nnd;      int *nnd;
48      int *nstr;      int *nstr;
49        int *comprcalomod;
50    
51      static const int fPSCUbuffer = 8;      static const int fPSCUbuffer = 8;
52      static const int fTRIGGERbuffer = 152; //(bytes)      static const int fTRIGGERbuffer = 152; //(bytes)
# Line 103  class Digitizer{ Line 104  class Digitizer{
104      UShort_t fSecCalo[4];      UShort_t fSecCalo[4];
105      UShort_t fSecCALOLength[4];      UShort_t fSecCALOLength[4];
106      UShort_t fCALOlength;      UShort_t fCALOlength;
107      UShort_t fModCalo;      UShort_t fModCalo ; //  0 is RAW, 1 is COMPRESS, 2 is FULL
108      Float_t fCalomip[2][22][96]; // ADC to MIP conversion values      Float_t fCalomip[2][22][96]; // ADC to MIP conversion values
109      Float_t fcalped[4][11][96]; // pedestals      Float_t fcalped[4][11][96]; // pedestals
110      Float_t fcalgood[4][11][96]; // used or not in the common noise calculation      Float_t fcalgood[4][11][96]; // used or not in the common noise calculation
# Line 118  class Digitizer{ Line 119  class Digitizer{
119      char* fFilename;      char* fFilename;
120      UInt_t fLen;      UInt_t fLen;
121        
122        UInt_t fEvent ; // cecilia, current evt nr
123    
124    
125      //  vectors, buffer, and variables for tracker      //  vectors, buffer, and variables for tracker
# Line 382  class Digitizer{ Line 384  class Digitizer{
384      TF1 *attenAC;      TF1 *attenAC;
385   public:   public:
386    
387      Digitizer(TTree*,char*&,int,int,int,int,int,int,int,int); // constructor      Digitizer(TTree*,char*&,int,int,int,int,int,int,int,int,int); // constructor
388    
389      void Close();      void Close();
390      void SetTree(TTree *tree) {fhBookTree = tree;};      void SetTree(TTree *tree) {fhBookTree = tree;};
# Line 433  class Digitizer{ Line 435  class Digitizer{
435      Float_t SaturationTracky(Float_t ADC); // Saturation simulation      Float_t SaturationTracky(Float_t ADC); // Saturation simulation
436      //  end methods for Tracker      //  end methods for Tracker
437    
438        // AC Methods
439        UShort_t EvaluateCrcAC( UShort_t* , Bool_t );
440        UShort_t crcAC(UShort_t, UShort_t);
441        
442    
443      void WriteData(); // writes data to file      void WriteData(); // writes data to file
444      void ReadData();      void ReadData();
445    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.23