Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#ifndef GAIN_H_
#define GAIN_H_

struct FIT{
        int success;
        float pixPos;
        float x;
        float y;
        float chi2;
        float ndf;
        float p0;
        float p0e;
        float p1;
        float p1e;
        float p2;
        float p2e;
};

int charge(int runNumber, int save = 0);
float getGain(TH1D * h, int deadChannelSigm = 2);
int gain(int runNumber, int save = 0);

#endif