~vpec/maus/tof_calib_read

« back to all changes in this revision

Viewing changes to src/common_py/ConfigurationDefaults.py

merged in from maus/merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
# "get_magnet_currents_pa_cdb" is set to True magnet currents & proton absorber
88
88
# thickness will be retrieved from the CDB for the run_number specified
89
89
g4bl = {"run_number":2873,"q_1":1.066,"q_2":-1.332,"q_3":0.927,"d_1":-1.302,"d_2":-0.396,\
90
 
        "d_s":3.837,"particles_per_spill":0,"rotation_angle":30,"translation_z":680.31,\
 
90
        "d_s":3.837,"particles_per_spill":0,"rotation_angle":0,"translation_z":1000.0,\
91
91
        "protonabsorberin":1,"proton_absorber_thickness":93,"proton_number":1E9,"proton_weight":1,\
92
92
        "particle_charge":'all',"file_path":'MAUS_ROOT_DIR/src/map/MapPyBeamlineSimulation/G4bl',\
93
 
        "get_magnet_currents_pa_cdb":False}
 
93
        "get_magnet_currents_pa_cdb":False,"random_seed":1}
94
94
 
95
95
# Used by MapPyRemoveTracks.
96
96
keep_only_muon_tracks = False
253
253
 
254
254
# scifi tracker digitization
255
255
#SciFiDeadChanFName = ""
256
 
SciFiDigitizationNPECut = 1.0
257
 
SciFiMappingFileName = "scifi_mapping_2015-06-18.txt"
258
 
SciFiCalibrationFileName = "scifi_calibration_2015-06-18.txt"
 
256
SciFiKunoSum = 318.5  # Sum of channel #s in 3 planes if they form a spoint
 
257
SciFiKunoSumT1S5 = 320.0 # Sum of channel #s in 3 planes if they form a spoint for T1 S5
 
258
SciFiKunoTolerance = 3.0 # Kuno conjecture tolerance
 
259
SciFiDigitizationNPECut = 2.0
 
260
SciFiMappingFileName = "scifi_mapping_2015-09-11.txt"
 
261
SciFiCalibrationFileName = "scifi_calibration_2015-09-12.txt"
259
262
SciFiBadChannelsFileName = "scifi_bad_channels_2015-06-18.txt"
 
263
SciFiCalibMethod = "Run" # Date/Current/Run
 
264
SciFiCalibSrc = 7057 # exmple: "Date" - 1984-09-14 00:10:00.0    "Run" - 7057
260
265
SciFiMUXNum = 7
261
266
SciFiFiberDecayConst = 2.7
262
267
SciFiFiberConvFactor =  3047.1
267
272
SciFivlpcQE = 0.8
268
273
SciFivlpcEnergyRes = 4.0 # MeV
269
274
SciFivlpcTimeRes = 0.2 # ns
270
 
SciFiadcFactor = 6.0
 
275
SciFiadcBits = 8.0
271
276
SciFitdcBits = 16
272
277
SciFitdcFactor = 1.0
273
278
SciFinPlanes = 3
286
291
SciFiPatRecVerbosity = 0 # The verbosity of the pat rec (0 - quiet, 1 - more)
287
292
SciFiStraightRoadCut = 2.0 # The road cut in pat rec for straights (mm)
288
293
SciFiStraightChi2Cut = 15.0 # Chi^2 on pat rec straight track fit
289
 
SciFiRadiusResCut = 150.0 # Helix radius cut (mm)
 
294
SciFiRadiusResCut = 150.0 # Helix radius cut (mm) for pattern recognition
290
295
SciFiPatRecCircleChi2Cut = 15.0 # Chi^2 on pat rec circle fit
291
296
SciFiNTurnsCut = 0.75 # Cut used when resolving number of turns between tracker stations (mm)
292
297
SciFiPatRecSZChi2Cut = 4.0 # Chi^2 cut on pat rec s-z fit
293
298
SciFiMaxPt = 180.0 # Transverse momentum upper limit cut used in pattern recognition
294
299
SciFiMinPz = 50.0 # Longitudinal momentum lower limit cut used in pattern recognition
295
 
SciFiDarkCountProababilty = 0.017 #probability of dark count due to thermal electron
296
300
SciFiParams_Pitch = 1.4945
297
 
SciFiParams_Station_Radius = 160.
 
301
SciFiParams_Station_Radius = 160. # Used as cut by SpacePointReconstruction
298
302
SciFiParams_RMS = 370.
299
303
# Parameters used for MCS and E loss correction
300
304
#SciFiParams_Z = 5.61291
413
417
Enable_V1724_Unpacking = True
414
418
Enable_V830_Unpacking = True
415
419
Enable_VLSB_Unpacking = True
416
 
Enable_VLSB_C_Unpacking = True
 
420
Enable_VLSB_C_Unpacking = False
417
421
Enable_DBB_Unpacking = True
418
422
Enable_DBBChain_Unpacking = True
419
423
Do_V1731_Zero_Suppression = False
421
425
Do_V1724_Zero_Suppression = True
422
426
V1724_Zero_Suppression_Threshold = 100
423
427
Do_VLSB_Zero_Suppression = True
424
 
VLSB_Zero_Suppression_Threshold = 40
 
428
VLSB_Zero_Suppression_Threshold = 1 # in PE count rather than ADC count.
425
429
Do_VLSB_C_Zero_Suppression = False
426
430
VLSB_C_Zero_Suppression_Threshold = 30
427
431
Enable_TOF = True
428
432
Enable_EMR = True
429
433
Enable_KL = True
430
434
Enable_CKOV = True
 
435
 
 
436
# DAQ cabling maps
 
437
# set the source for cabling to either 'CDB' or 'file'
 
438
# if set to 'file' the DAQ_cabling_file card will be used
 
439
DAQ_cabling_source = "CDB"
 
440
 
 
441
# set the method for retrieving cabling from CDB
 
442
# options are: 'run_number' or 'date'
 
443
# if DAQ_cabling_by is set to 'date', the DAQ_cabling_date card is used
 
444
# Default is to get the map based on run number
 
445
DAQ_cabling_by = "run_number"
 
446
 
 
447
# date can be 'current' or a date in YYYY-MM-DD hh:mm:ss format
 
448
# e.g. DAQ_cabling_date = '2015-06-30 01:02:03 00:00:00'
 
449
#   or DAQ_cabling_date = 'current'
 
450
DAQ_cabling_date = 'current'
 
451
 
 
452
# the DAQ_cabling_file card is used only if DAQ_cabling_source above is set to 'file'
431
453
DAQ_cabling_file = "/files/cabling/DAQChannelMap.txt"
432
454
DAQ_cabling_file_StepI = "/files/cabling/DAQChannelMap_preRun6541.txt"
433
455
DAQ_hostname = 'miceraid5'
471
493
EMRgap = 0.5 # mm, gap between two adjacent bars
472
494
 
473
495
# EMR event pre-selection
474
 
EMRtotNoiseLow = 0
475
 
EMRtotNoiseUp = 7 # noise time over threshold window
476
 
 
477
 
EMRdeltatSignalLow = -240 # Step I
478
 
EMRdeltatSignalUp = -220 # Step I
479
 
EMRdeltatNoiseLow = -220 # Step I
480
 
EMRdeltatNoiseUp = -175 # Step I
 
496
# EMRdeltatSignalLow = -240 # Step I
 
497
# EMRdeltatSignalUp = -220 # Step I
 
498
EMRdeltatSignalLow = -240 # Step IV.0
 
499
EMRdeltatSignalUp = -210 # Step IV.0
481
500
 
482
501
# EMR digitization
483
502
EMRdoSampling = 1 # sample number of scintillating photons as a Poisson distribution
494
513
 
495
514
EMRdbbCount = 2.5 # ns, duration of a DBB cycle (f=400MHz)
496
515
EMRqeMAPMT = 0.25 # MAPMT quantum efficiency
497
 
EMRnadcPerPeMAPMT = 6 # number of ADC counts per photoelectron in the MAPMT
 
516
EMRnadcPerPeMAPMT = 8 # number of ADC counts per photoelectron in the MAPMT
498
517
EMRelectronicsResponseSpreadMAPMT = 8 # ADC counts
499
518
EMRtimeResponseSpread = 1 # ADC counts
500
519
EMRtotFuncP1 = -60.5 
505
524
 
506
525
EMRfadcCount = 2.0 # ns, duration of an fADC cycle (f=500MHz)
507
526
EMRqeSAPMT = 0.11 # SAPMT quantum efficiency
508
 
EMRnadcPerPeSAPMT = 2 # number of ADC counts per photoelectron in the SAPMT
 
527
EMRnadcPerPeSAPMT = 10 # number of ADC counts per photoelectron in the SAPMT
509
528
EMRelectronicsResponseSpreadSAPMT = 1 # ADC count
510
529
EMRbaselinePosition = 123 # SAPMT signal baseline
511
530
EMRbaselineSpread = 10 # SAPMT signal baseline spread