11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 1 Pulse shape reconstruction : CMS ECAL Introduction –the problem –the tools –experimental pulse shape.

Slides:



Advertisements
Similar presentations
INFN Milano, Universita` degli Studi Milano Bicocca Siena IPRD May Testbeam results of the CMS electromagnetic calorimeter Alessio Ghezzi.
Advertisements

Lorentz force detuning measurements on the CEA cavity
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
ECAL Testbeam Meeting, Rome 28 March 2007 Toyoko Orimoto Adolf Bornheim, Chris Rogan, Yong Yang California Institute of Technology Lastest Results from.
Comments to the AGS pC polarimeter data processing t 0 based calibration Observations of Boris Morozov’s results Dead layer corrections. A novel method.
Introduction to Error Analysis
Intercalibration of the CMS Electromagnetic Calorimeter Using Neutral Pion Decays 1 M. Gataullin (California Institute of Technology) on behalf of the.
The PEPPo e - & e + polarization measurements E. Fanchini On behalf of the PEPPo collaboration POSIPOL 2012 Zeuthen 4-6 September E. Fanchini -Posipol.
1 S. E. Tzamarias Hellenic Open University N eutrino E xtended S ubmarine T elescope with O ceanographic R esearch Readout Electronics DAQ & Calibration.
06/03/06Calice TB preparation1 HCAL test beam monitoring - online plots & fast analysis - - what do we want to monitor - how do we want to store & communicate.
W  eν The W->eν analysis is a phi uniformity calibration, and only yields relative calibration constants. This means that all of the α’s in a given eta.
C. Seez Imperial College November 28th, 2002 ECAL testbeam Workshop 1 Pulse Reconstruction Worth considering the experience of other experiments using.
Outrigger Timing Calibration & Reconstruction Milagro – 11/17/03 Shoup – 1 Purpose: To incorporate outrigger hits in event angle fitting Additionally incorporated.
Status of the Beam Phase and Intensity Monitor for LHCb Richard Jacobsson Zbigniew Guzik Federico Alessio TFC Team: Motivation Aims Overview of the board.
STAR Analysis Meeting, BNL, Dec 2004 Alexandre A. P. Suaide University of Sao Paulo Slide 1 BEMC software and calibration L3 display 200 GeV February.
GEM MINIDRIFT DETECTOR WITH CHEVRON READOUT EIC Tracking Meeting 10/6/14 B.Azmoun, BNL.
Progress in identification of damping: Energy-based method with incomplete and noisy data Marco Prandina University of Liverpool.
STAR Collaboration Meeting Rene Bellwied – Wayne State University July 2004 SVT Calibration and STI tracking status An update of work since the SVT review.
A statistical test for point source searches - Aart Heijboer - AWG - Cern june 2002 A statistical test for point source searches Aart Heijboer contents:
MICE input beam weighting Dr Chris Rogers Analysis PC 05/09/2007.
1 xCAL monitoring Yu. Guz, IHEP, Protvino I.Machikhiliyan, ITEP, Moscow.
NA62 Trigger Algorithm Trigger and DAQ meeting, 8th September 2011 Cristiano Santoni Mauro Piccini (INFN – Sezione di Perugia) NA62 collaboration meeting,
Kali Calo progress report Dasha Savrina (ITEP/Moscow), Vanya Belyaev.
STAR Collaboration Meeting, BNL, Feb 2005 Alexandre A. P. Suaide University of Sao Paulo Slide 1 BEMC software update L3 display 200 GeV February.
Dec.11, 2008 ECL parallel session, Super B1 Results of the run with the new electronics A.Kuzmin, Yu.Usov, V.Shebalin, B.Shwartz 1.New electronics configuration.
Dr. Sudharman K. Jayaweera and Amila Kariyapperuma ECE Department University of New Mexico Ankur Sharma Department of ECE Indian Institute of Technology,
21 Jun 2010Paul Dauncey1 First look at FNAL tracking chamber alignment Paul Dauncey, with lots of help from Daniel and Angela.
7 May 2009Paul Dauncey1 Tracker alignment issues Paul Dauncey.
G4 Validation meeting (5/11/2003) S.VIRET LPSC Grenoble Photon testbeam Data/G4 comparison  Motivation  Testbeam setup & simulation  Analysis & results.
1 A first look at the KEK tracker data with G4MICE Malcolm Ellis 2 nd December 2005.
Review of fundamental 1 Data mining in 1D: curve fitting by LLS Approximation-generalization tradeoff First homework assignment.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
1 P.Rebecchi (CERN) “Monitoring of radiation damage of PbWO 4 crystals under strong Cs 137  irradiation in GIF-ECAL” “Advanced Technology and Particle.
FADC Time Study EJ, HD 10/09. Purpose: to test Hai Dong’s firmware implementation of Indiana U. timing algorithm NOT meant to be a definitive study of.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
Feature Extractor Dima Chirkin, LBNL The future is here.
Longitudinal shower profile - CERN electron runs Valeria Bartsch University College London.
M. LefebvreATLAS LAr week, November 19th HEC-EMEC beam test data analysis Filtering weight synchronization and timing issues TDC timing Cubic timing.
06/2006I.Larin PrimEx Collaboration meeting  0 analysis.
1 EMCAL Reconstruction in Pass pp 900 GeV 29/03/2010 Gustavo Conesa Balbastre.
Development of a pad interpolation algorithm using charge-sharing.
Elliptic flow of D mesons Francesco Prino for the D2H physics analysis group PWG3, April 12 th 2010.
Energy Calibration of BESIII EMC  ‘Digi’-calibration Bhabha calibration  0 calibration Radiative Bhabha calibration  ‘Cluster’-calibration.
Régis Lefèvre (LPC Clermont-Ferrand - France)ATLAS Physics Workshop - Lund - September 2001 In situ jet energy calibration General considerations The different.
Comparison of MC and data Abelardo Moralejo Padova.
December, Calibration of electromagnetic calorimeter of Hall A DVCS experiment Eric FUCHEY Ph.D Laboratoire de Physique Corpusculaire.
1 XCAL LED quality check and time alignment consideration CALO meeting Anatoli Konoplyannikov [ITEP / LAPP] Outline  CALO sub-detector status.
LNF 12/12/06 1 F.Ambrosino-T. Capussela-F.Perfetto Update on        Dalitz plot slope Where we started from A big surprise Systematic checks.
M.D. Nov 27th 2002M0' workshop1 M0’ linearity study  Contents : Electronic injection Laser injection Beam injection Conclusion.
28/11/02Guy Dewhirst1 Ultra Light Weights Method Guy Dewhirst Imperial College London.
3/06/06 CALOR 06Alexandre Zabi - Imperial College1 CMS ECAL Performance: Test Beam Results Alexandre Zabi on behalf of the CMS ECAL Group CMS ECAL.
8 th February 2006 Freddy Poirier ILC-LET workshop 1 Freddy Poirier DESY ILC-LET Workshop Dispersion Free Steering in the ILC using MERLIN.
Proposal for the after-pulse effect suppression  Observation of pulses and after-pulses  Shape measurement  Algorithm  Results  Efficiencies for after-pulse.
1 First look on the experimental threshold effects Straw WG meeting Dmitry Madigozhin, JINR.
Rainer Stamen, Norman Gee
EZDC spectra reconstruction and calibration
Solving pedestal problem
TOF CALIBRATION DATABASE
Pulse shape reconstruction : CMS ECAL
Status of the Beam Phase and Intensity Monitor for LHCb
Analysis of FADC single-crystal data
p0 life time analysis: general method, updates and preliminary result
Update on TB 2007 Xtal Irradiation Studies at H4
° status report analysis details: overview; “where we are”; plans: before finalizing result.. I.Larin 02/13/2009.
NanoBPM Status and Multibunch Mark Slater, Cambridge University
BESIII EMC electronics
Imperial laser system and analysis
Slope measurements from test-beam irradiations
Dilepton Mass. Progress report.
° status report analysis details: overview; “where we are”; plans: before finalizing result.. I.Larin 02/13/2009.
Presentation transcript:

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 1 Pulse shape reconstruction : CMS ECAL Introduction –the problem –the tools –experimental pulse shape definition Methods of reconstruction used –third degree polynomial fit –analytic function fit –experimental shape fit method –weights method Results with LASER data (lab11) –time measurements –number of samples : resolutions fixed gain free gain –linearity preliminary results Conclusions

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 2 Introduction The problem : Study of real data : LASER events (lab11) 10 to 30 crystals read with 25 samples per event, usually 2000 events analyzed per laser run. We want to reconstruct the maximum amplitude and the time of maximum for each event. The aim of the study is to be able to get fast algorithms working for the summer test beam in order to validate the monitoring with realistic and precise tools.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 3 Introduction : tools ROOT converted files are read with standard lab11 root code (pulse.C) The lab11 standard code provides : (see nice WEB page : suncms100.cern.ch): - automatic substraction of pedestals stored into root files (for a given gain ) - gain coefficient automatically taken into account (modes 0,1,2,3 or free gains) - the “experimental pulse shape” (profile histo) for a given crystal is automatically read from a root file. - light (PN’s ) value and TDC measurements are read from the event header ( assuming that LASER light is stable for 2000 events (checked) we didn’t use the PN’s values for this study !! (charge ADC) )

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 4 tools : data and pedestals Data analyzed have been recorded in april-may Pedestals runs are always recorded before laser runs with all 4 gains and analyzed quasi online. Means and  are stored into root files. MySQL database is then used when analyzing data to find the appropriate pedestal runs (+- 2 hours around laser run), means and sigmas are then automatically read and used to correct ADC samples.  of pedestals (means around 600) are the following : gain 22 (33) :  = on average (170 MeV) gain 6 (9) :   = on average gain 3 (3) :  = on average gain 1 (1) :  = on average Correlation matrix (error matrix) is stored and can also be used in all the methods.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 5 Raw pulse shape

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 6 Experimental pulse shape : definition TDC : is measuring the time between the trigger (LASER light) and the first clock following(40 Mhz) this time is called the offset and is in sample unit between 0 and 1. TDC has a window of 50 picoseconds (we get 500 measurements in 1 sample ADC : 25 ns). The offset can be used to reconstruct a pulse shape and fill a profile histogram : the experimental pulse shape in X : number of the sample (0-25) + offset in Y : ADC measurement This experimental pulse shape will be use as a reference pulse shape but is also used to fit any function with minuit in order to get an analytic function; it can also be used as we will see to reconstruct maximum amplitude.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 7 pulse shape : offset definition Front edge is around 2.5 samples = 75 ns

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 8 Offset definition : TDC =

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 9 Offset definition : TDC =

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 10 Offset definition : TDC =

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 11 Test : analytic function with minuit (with experimental pulse shape ) Fit 1 sample before max and 4 samples after max

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 12 the problem : reconstruction of events We get events with 25 ADC samples and we want to measure event by event the maximum amplitude and the time of arrival of this maximum amplitude. The algorithm has to be fast in order to process all events in a mimimum time.. Up to know a few methods have been developped in order to do the job, I will present here 3 of this methods which have been compared with the same events and inside the same program to avoid any biais … Before presenting the method I will introduce the 3 degree polynomial fit which is often used as starting point for the fits.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 13 third degree polynomial fit –Adjust a third degree polynomial function on the 3 highest samples gives a first order estimation of maximum (and time) amplitude which is useful to get a starting point for other methods … –Resolution is around 0.4 % BUT there is a systematic shift of the maximum amplitude reconstructed depending of the position of the maximum…

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 14 degree 3 polynom fit method used to get starting point

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 15 analytic function fit :. We have first to choose a function which reproduces the data. The 2 best candidates are : a) Electronic function (simulation) : F(t i ) = A i (1+ dt/  )  e – dt/  with dt = t i -t max b) Exponential function : F(t i ) = A i e -(  dt+x)/  with x = e (-  dt-1) and dt = t i -t max Function a) is the best candidate with lab data was function b) with 2001 data due to a shorter front edge (50 ns instead of 75 ns)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 16 analytic function fit : Method : reference -> Pierre Billoir [Note :LPC 84-30] First step : Measure the general parameters  and  with a  2 minimisation. We read 500 evts and iterate 4 times to get the 2 general parameters  and  (common to all events = shape) and the 2 particular parameters (ampli max and time of maximum) without using the tdc time. For electronic function :     Second step :   and   are fixed and we use a fast algorithm using df derivatives to measure very quickly and for each event the amplitude maximum and the time of the maximum … Degree 3 polynomial fit is used to get starting values of the maximum amplitude and the time of maximum. The parameters  and  have been studied and fixed for all crytals and gains ! ( algorithm is 30 lines long and very fast …)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 17 electronic function fit : dependance vs offset is OK !

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 18 weights method Reference :(Pascal Paganini CMS IN 2000/03) CMS IN 2000/03) –The amplitude maximum of the signal is given by : A =  i w i X i i is the number of samples used w i is the weight of the sample i X i is the ADC measurement of sample i But the weights W i have to be calculated for a given shape and are dependant from an analytic function :

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 19 weights method : Calculation of weights : M.W –.F – .1 = 0 (vector notation) –Where M is the electronic noise covariance matrix (symmetric matrix with autocorrelation properties included) dimension of M is n*n where n is the number of samples (to defined) –F is an analytic function calculated at time of sample i : W = (w 1 … w n ) F = (f 1... f n ) 1 = (1…1 ) –   and  are found using the 2 constraints W.F =1 and W.1= 0 –Matrix calculation is easy inside ROOT to get  and  ( (M-1.F).F (M-1.F).F ) (M-1.F).1 (M-1.F).1 (  )   = ( 1 ) 0

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 20 - know the time of arrival of the signal we are using the TDC measurement. - choose a number of samples to be used Then we calculate a set of weights per bin of 0.1 ns (remark : bin of 1 ns are too big loss of resolution of 0.5 %) : the amplitude maximum is given by A =  i w(i,t i ) X i F(t i ) = (1+ dt/  )  e – dt/    with dt = t i -t max weights method : To calculate weight, we have to : - find an analytic function F : we choose the following function  and  are measured from experimental pulse shape with minuit calculation

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 21 weights method :

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 22 experimental pulse shape method This method has been developped and studied by J.P Pansart and Jean Bourotte). The aim is to avoid an analytic function fit and to directly use the experimental pulse shape of the signal for each crystal and each gain. When a run is read, the experimental shape (profile) of the closest run (with right gain) for a given crystal is read from a root file and a  2 minimization is done in order to extract the maximum amplitude and time of maximum.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 23 Experimental shape method

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 24 Time measurements Time of the maximum of the signal has been measured for the different methods (except weights method) We can plot the time measurement without TDC (offset correction), we must get a flat distribution knowing that the phase of the light relative to the clock is random. We can also correct the time measured with the offset (i.e : plot time+offset) to get an estimation of the resolutions in time with the different methods.

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 25 Time measurement : shape method no offset taken into account Systematic effect at the stop of TDC (front clock edge)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 26 Time measurement with offset correction

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 27 Time measurements

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 28 resolutions study Once we get the methods, we decided to study the resolutions measured with fixed gains (0,1,2,3) and with free gains. remind : FPPA is able to run with a fixed gain, the signal is amplified with a factor which is gain dependant : mode 0 : x 1 (gain 1) mode 1 : x 3.5 (gain 3) mode 2 : x 6.2 (gain 9) mode 3 : x 22 (gain 33) In free gain (mode 99), signal is amplified according to the amplitude of the sample … hardware modifications have been done last winter on FPPA in order to improve the performances….

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 29 free gains :experimental pulse shape not corrected from gain coefficient

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 30 free gains : experimental pulse shape corrected from gain coefficient before hardware modifications

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 31 free gains : experimental pulse shape after hardware modifications

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 32 number of samples per gain (on average)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 33 data : lab11 LASER In order to study the results with the differents methods we have recorded LASER data with light varying between minimum and maximum (0-500 in GeV equivalence)… some scanning runs have been recorded with 50 subruns (different LASER light) in : - fixed gain (gain 1) - free gains We plot the maximum amplitude for each subrun and a gaussian fit is performed on the distribution in order to get the  (in GeV). The following plots will show the  of the gaussian fits measured for the different methods (1 point per subrun )

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 34 study : number of samples to be used The number of samples to use in our fits can be different for each method. Let’s call (I,J) : a choice where our fit : begin I samples before the maximum sample end J samples after the maximum sample It means that a choice (I,J) is using I+J+1 samples in the fit. First method analyzed : the weights method : Here is a plot showing the resolution (  in GeV) obtained for some couples (2,2), (2,10), (2,12) ( we had to generate a set of weights for each configuration of number of samples ) Remark : (1,8) needs 10*10*250 = weights (1,16) needs 18*18*250 = weights ! (stored into root files)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 35 weights method : start 2 samples before maximum

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 36 weights method : fixed gain start 1 sample before maximum

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 37 weights method : free gains start 1 sample before maximum weights method needs at least 12 samples

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 38 experimental pulse shape method : number of samples for fixed gain

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 39 Experimental shape method : number of samples for free gain Experimental shape method : Ok with 5 samples

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 40 Analytic function fit method : number of samples for fixed gain (mode 1)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 41 Analytic function fit method : number of samples with fre gains Analytic function method : ok with 6 samples better with more samples

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 42 Comparaisons of resolutions free gains

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 43 best resolutions for the 3 methods: free gains

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 44 best resolutions in fixed gain

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 45 best resolutions in fixed gain (  )

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 46 free gains : resolutions study (crystal 19)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 47 crystal 19 : free gains resolution

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 48 Free gains : resolutions study (crystal 16)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 49 Free gains : resolutions study (crystal 16)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 50 Free gains : resolutions study (crystal 18)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 51 Free gains : resolutions study (crystal 18)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 52 Linearity study in fixed gain (crystal 19)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 53 Linearity study in free gains (crystal 19)

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 54 Linearity study in fixed gain (crystal 18) Weights method (green) in trouble at low E!

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 55 Linearity : free gains – fixed gain

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 56 Linearity free gains –fixed gain

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 57 We have studied 3 differents methods and we are able to reconstruct quickly the maximum amplitude of the ECAL signals in fixed and free gains. All the results presented here are preliminary more study is needed specially for the weights method. Many thanks to lab11 team (Jean B., Jean F., Marc D.,Steve U., Markus H., Robert and others …) who did a great job in software and hardware to improve a lot the tools and the results and provided me a lot of nice data ! Thanks also for their disponibility and patience … Conclusions :

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 58 Conclusions : The study that I did show that the 3 very different methods have differents advantages and inconvenients : I) analytic function fit method : is fast need at least 6 samples is stable is dependant of the shape of the function 2 parameters for all crystals and gains II) weights method : is very fast when weights have been calculated need more samples : samples is not so stable… (0.3%  0.5%) is very strongly dependant of the analytic function used to calculate weights. ( is perfect in simulation with 4 samples ) III) experimental pulse shape method is idealistic, cannot do better needs only 3-4 samples is stable but a bit heavy with a lot of crystals ….

11 june 2002 CMS ECAL : Patrick Jarry ( Saclay) 59 Conclusions : Many systematics effects have been studied and some are not solve actually (FPPA effect), but a lot of work has to be done… Linearity is still under study. The methods can be improved, in particular the weights method. We have to be ready for H4 summer beam tests : - study the H4 LASER pulse shape and tune all the shape parameters ( ,  ) - study the PN’s pulse shape (much broader with sampling ADC) - study the linearity of the chain in H4 - be ready with the electron pulse shape - study and take into account the noise if any ( we are ready to take into account correlated noise if any ) All this work has to be done before beam !!!