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 code has been expanded significantly based on the code structure of test beam 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 ).
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
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…
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
05/09/02Jianchun (JC) Wang6 Histogram ID Geometry parameters Geometry parameters after alignment Global parameters and Detector parameters Simulation parameter maps Charge simulation parameters Simulated track and hits Track summary MINUIT fit Hit information Cluster information Difference of reconstructed hit position and generated position Form track Kalman filter
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……
05/09/02Jianchun (JC) Wang8 Sample of Data File d “SIMU”Block length = 6VersionRun id: c388dd f1000b07 6 planesTime tagBlock length = 7Hit (1, 0, 11, 7) f2000b01f3000b07f f Hit (2, 0, 11, 1)Hit (3, 0, 11, 7)Hit (4, 0, 17, 5)Hit (4, 0, 18, 6) f be76a7a4 Block lengthBlock length = 15Number of tracksLocal coordinate X be5e624dbe790583be7654a5be76e45d Y1X2Y2X be69a4e8be805307be6b1209be76f5bd Y3X4Y4X be761162be76a882be6151c f Y5X6Y6Block length …… With command: od –X mcd00900.dat