Presentation is loading. Please wait.

Presentation is loading. Please wait.

Beam Test Offline Code Jianchun Wang 05/09/02. Jianchun (JC) Wang2 Where We Are Now  Nothing much has been done since the beginning of February.  The.

Similar presentations


Presentation on theme: "Beam Test Offline Code Jianchun Wang 05/09/02. Jianchun (JC) Wang2 Where We Are Now  Nothing much has been done since the beginning of February.  The."— Presentation transcript:

1 Beam Test Offline Code Jianchun Wang 05/09/02

2 Jianchun (JC) Wang2 Where We Are Now  Nothing much has been done since the beginning of February.  The code has been expanded significantly based on the code structure of test beam 2000.  The functionality of normal analysis is kept with modifications on ADC convert, clustering algorithm, CWN ntuple is introduced.  The simulation package is integrated into offline code, so we can have more sensible comparison.  The alignment code is also optimized. ( The code as it is can handle most of the needs ).

3 05/09/02Jianchun (JC) Wang3 Tasks tb_controldata_in_filedata_out_filehbk_filerun_id Raw dataeventrun01234.dat-run01234.hbk- MC dataeventmcd01234.dat-mcd01234.hbk- Raw data + summarysummaryrun01234.dattrk01234.datrun01234.hbk- MC data + summarysummarymcd01234.dattrk01234.datmcd01234.hbk- Alignmentaligntrk01234.dat-aln01234.hbk- MC generationmcgen-mcd01234.datmcg01234.hbk1234 Tasks are selected by tb_control and information inside input data file Names of output data file and histogram file can be defined or with default

4 05/09/02Jianchun (JC) Wang4 Data File Format A: Header 1.RAWD, SIMU, TRAK 2.Length of the block 3.Version 4.Run ID 5.Number of planes 6.Time Tag 7.… other comments B: Data Hits 1.Length of data block 2.Cell 1 data 3.… 4.Length of data block C: MC Track 1.Length of the block 2.Number of tracks 3.Local X for plane 1 4.Local Y for plane 1 5.… 6.Length of the block Data format for one cell 1111 pppp 000c cccc rrrr rrrr aaaa aaaa D: Track Summary 1.Length of the block 2.Plane ID 3.Local X for plane 1 4.Local Y for plane 1 5.Error on X for plane 1 6.Error on Y for plane 1 7.… 8.Length of the block  Raw data from DAQ (RAWD): ABBBBBB…  MC data generated (SIMU): ABCBCBC…  Selected track summary (TRAK): ADDDDDD…

5 05/09/02Jianchun (JC) Wang5 Variables in CWN Track Block ievt, ntrks, n_klm_ok, itrk, klm_ok, x_int, x_slp, y_int, y_slp, chisq, cl, ndof, fixyslp, yclass, nplanes Plane Block (ngeom elements except for ngeom) ngeom, itype, iort_row, nclus, iclus, npix, nrow, ncol, rowb, colb, rowq, colq, eta, sumq, xg, yg, xl, yl, xsig, ysig, xw, yw, zw, rxi, srxi, spxi, ryi, sryi, spyi, rxo, srxo, spxo, ryo, sryo, spyo, xf, yf, rhof, xslp, yslp, infitx, infity Hit Block (nhit elements except for nhit) nhit, ipln, icol, irow, iadc, icls, qval

6 05/09/02Jianchun (JC) Wang6 Histogram ID 11100 Geometry parameters 11200 Geometry parameters after alignment 11300 Global parameters and Detector parameters 11400 Simulation parameter maps 11500 Charge simulation parameters 21000 Simulated track and hits 31000 Track summary 32000 MINUIT fit 41000 Hit information 42000 Cluster information 43000 Difference of reconstructed hit position and generated position 51000 Form track 61000 Kalman filter

7 05/09/02Jianchun (JC) Wang7 Need To Be Done  Include silicon strip detector.  Create a structure to use random trigger event as noise simulation.  The diagnostic histograms need to be rechecked.  Although many issues had been discussed, the event format and data file structure is yet to be decided, this includes extra data files of environment parameters.  The code need to be standardized. I need to write documentation, example, paw macro files.  Considering other detectors.  Timetable……

8 05/09/02Jianchun (JC) Wang8 Sample of Data File 0000000 554d4953000000060000000100000384 “SIMU”Block length = 6VersionRun id: 900 0000020 000000063c388dd200000007f1000b07 6 planesTime tagBlock length = 7Hit (1, 0, 11, 7) 0000040 f2000b01f3000b07f4001105f4001206 Hit (2, 0, 11, 1)Hit (3, 0, 11, 7)Hit (4, 0, 17, 5)Hit (4, 0, 18, 6) 0000060 000000070000000f00000001be76a7a4 Block lengthBlock length = 15Number of tracksLocal coordinate X1 0000100 be5e624dbe790583be7654a5be76e45d Y1X2Y2X3 0000120 be69a4e8be805307be6b1209be76f5bd Y3X4Y4X5 0000140 be761162be76a882be6151c20000000f Y5X6Y6Block length …… With command: od –X mcd00900.dat


Download ppt "Beam Test Offline Code Jianchun Wang 05/09/02. Jianchun (JC) Wang2 Where We Are Now  Nothing much has been done since the beginning of February.  The."

Similar presentations


Ads by Google