Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef GAIN_H_
  2. #define GAIN_H_
  3.  
  4. struct FIT{
  5.         int success;
  6.         float pixPos;
  7.         float x;
  8.         float y;
  9.         float chi2;
  10.         float ndf;
  11.         float p0;
  12.         float p0e;
  13.         float p1;
  14.         float p1e;
  15.         float p2;
  16.         float p2e;
  17. };
  18.  
  19. int charge(int runNumber, int save = 0);
  20. float getGain(TH1D * h, int deadChannelSigm = 2);
  21. int gain(int runNumber, int save = 0);
  22.  
  23. #endif