Update (16 dec 2008) here

Ped deviation monitoring (10/03/2008)

The following plots show the evolution with time of the pedestal deviation for LEX1,HEX1,LEX8 and HEX8 .I use the root file CALPEDSANALYZER and canvas CalXAdcPedPedMeanDeviation_LEX1_TH1 ( LEX1,HEX1,LEX8 and HEX8).
I put the data into a histogram and fit with a Gaussian (see plot). The reported value is the mean of the gaussian (with 3 parameters, N ,mu, sigma) ( which give the peak of the distribution) and the error bar is the width of the Gaussian sigma

the time range is more or less 30 days


we see a clear trend that could explain the trend is FLE and FHE threshold.
h2 updated plots (10/04/2008)

FLE threshold

FHE threshold

LAC pos threshold

LAC neg threshold

LAC monitoring


generated with /a/surrey01/vol/vol2/g.USAWork1/berrie/glast/flight/lachist_v2.py
The mean value shows a slight increase with time
When zooming the points, there is a very significant oscillation of very small amplitude with a ~1day period.

FLE and FHE monitoring

We used the RECONHIST file to monitor the FLE and FHE threshold, downloaded by the following command :

/afs/slac.stanford.edu/u/gl/glast/datacatalog/prod/datacat find --group RECONHIST --site SLAC_XROOT /Data/Flight/Level1/LPA --sort 'nRun'  --filter '(nRun>"+str(MetStart)+"&&nRun<"+str(MetStop)+")&&nMootKey==2419||nMootKey==2321||nMootKey==2417)'

Fitting procedure

For FLE, we fit the 'SuspCalLo_Highest0_EnergyDistribution_TH1' histogram with the following function :

f1 = ROOT.TF1("f1","([2]/pow(x,[3]))/(1+exp(([0]-x)/[4]))+[1]",30,200)

For FHE, we fit the 'SuspCalHi_Highest0_EnergyDistribution_TH1' histogram with the following function :

f1 = ROOT.TF1("f1","([2]/pow(x,[3]))/(1+exp(([0]-x)/[4]))+[1]",300,2000)

Results

Location:

sanchez@noric07 $ pwd
/a/sulky36/g.glast.u33/sanchez/flight/CAL_mon/flefhemon
sanchez@noric07 $ ls *eps *dat
	    fhemon.eps	    flemon.dat	flemon_all.eps
fhemon.dat  fhemon_all.eps  flemon.eps

The following plots show the evolution of the fitted parameter [0] as a function of time for both FLE and FHE. This parameter is likely to described the mean FLE (FHE) threshold.

TODO