Subversion Repositories f9daq

Rev

Rev 36 | Rev 40 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
35 f9daq 1
#include "TROOT.h"
2
#include "TFile.h"
3
#include "TBenchmark.h"
4
#include "TH1F.h"
5
#include "TH2F.h"
6
#include "TH3F.h"
7
#include "TCanvas.h"
8
#include "TStyle.h"
9
#include "TPad.h"
10
#include "TF1.h"
11
#include "TGraph.h"
12
#include "TSpectrum.h"
13
#include "stdio.h"
38 f9daq 14
#include "THStack.h"
35 f9daq 15
 
16
#include "include/RTUtil.h"
17
 
18
double getNoise(TH2F*, int, int);
19
 
36 f9daq 20
int biasScan(char filename[256] = "test", char plopt[256]="th", int chXstart=0, int chXend=7, int chYstart=0, int chYend=7, bool debug = false)
35 f9daq 21
{
22
  const int c_nChannels = 64;
23
  const double c_xOffset = 1; // mm
24
  const double c_yOffset = 0.7;
25
 
26
  int map[8][8]={{32,34,53,55,40,42,61,63},
27
                 {48,50,37,39,56,58,45,47},
28
                 {33,35,52,54,41,43,60,62},
29
                 {49,51,36,38,57,59,44,46},
30
                 {17,19,4,6,25,27,12,14},
31
                 {1,3,20,22,9,11,28,30},
32
                 {16,