Pseudo-terminal will not be allocated because stdin is not a terminal.
mkdir: created directory '/volatile/halld/gluex/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5'
mkdir: created directory '/volatile/halld/gluex/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/11366'
info: number of threads not defined, using default value 1
info: vertex parameters not defined, using default values 0 0 50 80
info: random number seed not defined, using genr8 default (different seed each run)
NEVENTS = 100000
VERTEX = 0 0 50 80
NTHREADS = 1
B1PI_TEST_DIR = /group/halld/Software/hd_utilities/b1pi_test
RUN = 11366
SEED =
Copying script files and macros ...
'/group/halld/Software/hd_utilities/b1pi_test/README' -> './README'
'/group/halld/Software/hd_utilities/b1pi_test/b1_pi.input' -> './b1_pi.input'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron.sh' -> './b1pi_cron.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_one.sh' -> './b1pi_cron_one.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_two.sh' -> './b1pi_cron_two.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_two.sh~' -> './b1pi_cron_two.sh~'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_message.sh' -> './b1pi_message.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_test.sh' -> './b1pi_test.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_test_valgrind.sh' -> './b1pi_test_valgrind.sh'
'/group/halld/Software/hd_utilities/b1pi_test/hddm_counter.pl' -> './hddm_counter.pl'
'/group/halld/Software/hd_utilities/b1pi_test/index.html' -> './index.html'
cp: omitting directory '/group/halld/Software/hd_utilities/b1pi_test/macros'
'/group/halld/Software/hd_utilities/b1pi_test/my_b1pi_test.sh' -> './my_b1pi_test.sh'
'/group/halld/Software/hd_utilities/b1pi_test/macros/StandardLabels.C' -> './StandardLabels.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/anal1.C' -> './anal1.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1_pi.C' -> './b1_pi.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1_pi.h' -> './b1_pi.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_gen.C' -> './b1pi_gen.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_gen.h' -> './b1pi_gen.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_rec.C' -> './b1pi_rec.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_rec.h' -> './b1pi_rec.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/fit_voigt.C' -> './fit_voigt.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/makeallplots.C' -> './makeallplots.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/mass_X.C' -> './mass_X.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/mk_pics.C' -> './mk_pics.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/momentum.C' -> './momentum.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/theta.C' -> './theta.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/update_db.py' -> './update_db.py'
Running genr8 ...
Using runNo: 11366
Maximum number of events: 100000
Opening file b1_pi.ascii for output. 
Reading: 	beamp.x 	beamp.y 	beamp.z 	beamMass
Found: 		0.000000 	0.000000 	9.000000 	0.000000 
Reading: 	targetp.x 	targetp.y 	targetp.z 	targetMass
Found: 		0.000000 	0.000000 	0.000000 	0.938270 
Reading: t-channelSlope
Found: 	5.000000 
Reading: number of particles need to describe the decay
Found: 	12 
Reading: 	part# 	chld1# 	chld2# 	prnt# 	Id 	nchld 	mass 		width 		chrg 	flag  
Found: 		0 	-1 	-1 	-1 	14 	0 	0.938270 	0.000000 	1 	11
Found: 		1 	2 	3 	-1 	0 	2 	2.000000 	0.100000 	1 	0
Found: 		2 	4 	5 	1 	0 	2 	1.235000 	0.142000 	1 	0
Found: 		3 	4 	5 	1 	9 	0 	0.139570 	0.000000 	-1 	11
Found: 		4 	6 	7 	2 	0 	2 	0.783000 	0.009000 	0 	0
Found: 		5 	6 	7 	2 	8 	0 	0.139570 	0.000000 	1 	11
Found: 		6 	8 	9 	4 	0 	2 	0.776000 	0.150000 	0 	0
Found: 		7 	10 	11 	4 	7 	2 	0.134980 	0.000000 	0 	0
Found: 		8 	10 	11 	6 	8 	0 	0.139570 	0.000000 	1 	11
Found: 		9 	10 	11 	6 	9 	0 	0.139570 	0.000000 	-1 	11
Found: 		10 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found: 		11 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found EOI----  Input File appears Fine.
Calculating Lorentz Factor: 9000 
Calculating Lorentz Factor: 8000 
Calculating Lorentz Factor: 7000 
Calculating Lorentz Factor: 6000 
Calculating Lorentz Factor: 5000 
Calculating Lorentz Factor: 4000 
Calculating Lorentz Factor: 3000 
Calculating Lorentz Factor: 2000 
Calculating Lorentz Factor: 1000 
Calculating Lorentz Factor: 100 
Calculating Lorentz Factor: 90 
Calculating Lorentz Factor: 80 
Calculating Lorentz Factor: 70 
Calculating Lorentz Factor: 60 
Calculating Lorentz Factor: 50 
Calculating Lorentz Factor: 40 
Calculating Lorentz Factor: 30 
Calculating Lorentz Factor: 20 
Calculating Lorentz Factor: 10 
Calculating Lorentz Factor: 0 
Events generated: 100 Events accepted: 51 
Events generated: 200 Events accepted: 109 
Events generated: 300 Events accepted: 152 
Events generated: 400 Events accepted: 204 
Events generated: 500 Events accepted: 246 
Events generated: 600 Events accepted: 284 
Events generated: 700 Events accepted: 344 
Events generated: 800 Events accepted: 385 
Events generated: 900 Events accepted: 423 
Events generated: 1000 Events accepted: 467 
Events generated: 10000 Events accepted: 4632 
Events generated: 20000 Events accepted: 9303 
Events generated: 30000 Events accepted: 13915 
Events generated: 40000 Events accepted: 18572 
Events generated: 50000 Events accepted: 23320 
Events generated: 60000 Events accepted: 28001 
Events generated: 70000 Events accepted: 32773 
Events generated: 80000 Events accepted: 37464 
Events generated: 90000 Events accepted: 42083 
Events generated: 100000 Events accepted: 46719 
Events generated: 110000 Events accepted: 51401 
Events generated: 120000 Events accepted: 56107 
Events generated: 130000 Events accepted: 60780 
Events generated: 140000 Events accepted: 65519 
Events generated: 150000 Events accepted: 70241 
Events generated: 160000 Events accepted: 75007 
Events generated: 170000 Events accepted: 79707 
Events generated: 180000 Events accepted: 84398 
Events generated: 190000 Events accepted: 89143 
Events generated: 200000 Events accepted: 93911 
Events generated: 210000 Events accepted: 98621 
Max Lorentz Factor:0.001282 Events generated:212953 Events accepted:100000

Setting random number seed to: 1719969434
Converting generated events to HDDM ...
Wrote event 1000
Wrote event 2000
Wrote event 3000
Wrote event 4000
Wrote event 5000
Wrote event 6000
Wrote event 7000
Wrote event 8000
Wrote event 9000
Wrote event 10000
Wrote event 11000
Wrote event 12000
Wrote event 13000
Wrote event 14000
Wrote event 15000
Wrote event 16000
Wrote event 17000
Wrote event 18000
Wrote event 19000
Wrote event 20000
Wrote event 21000
Wrote event 22000
Wrote event 23000
Wrote event 24000
Wrote event 25000
Wrote event 26000
Wrote event 27000
Wrote event 28000
Wrote event 29000
Wrote event 30000
Wrote event 31000
Wrote event 32000
Wrote event 33000
Wrote event 34000
Wrote event 35000
Wrote event 36000
Wrote event 37000
Wrote event 38000
Wrote event 39000
Wrote event 40000
Wrote event 41000
Wrote event 42000
Wrote event 43000
Wrote event 44000
Wrote event 45000
Wrote event 46000
Wrote event 47000
Wrote event 48000
Wrote event 49000
Wrote event 50000
Wrote event 51000
Wrote event 52000
Wrote event 53000
Wrote event 54000
Wrote event 55000
Wrote event 56000
Wrote event 57000
Wrote event 58000
Wrote event 59000
Wrote event 60000
Wrote event 61000
Wrote event 62000
Wrote event 63000
Wrote event 64000
Wrote event 65000
Wrote event 66000
Wrote event 67000
Wrote event 68000
Wrote event 69000
Wrote event 70000
Wrote event 71000
Wrote event 72000
Wrote event 73000
Wrote event 74000
Wrote event 75000
Wrote event 76000
Wrote event 77000
Wrote event 78000
Wrote event 79000
Wrote event 80000
Wrote event 81000
Wrote event 82000
Wrote event 83000
Wrote event 84000
Wrote event 85000
Wrote event 86000
Wrote event 87000
Wrote event 88000
Wrote event 89000
Wrote event 90000
Wrote event 91000
Wrote event 92000
Wrote event 93000
Wrote event 94000
Wrote event 95000
Wrote event 96000
Wrote event 97000
Wrote event 98000
Wrote event 99000
Wrote event 100000
Wrote 100000 events to b1_pi.hddm
Creating control.in file ...
Running hdgeant4 ...
hdgeant4 run.mac

**************************************************************
 Geant4 version Name: geant4-10-04-patch-02 [MT]   (25-May-2018)
  << in Multi-threaded mode >> 
                       Copyright : Geant4 Collaboration
                      References : NIM A 506 (2003), 250-303
                                 : IEEE-TNS 53 (2006), 270-278
                                 : NIM A 835 (2016), 186-225
                             WWW : http://geant4.org/
**************************************************************

JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:11366
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1200A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x4647120
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1200A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
 G4HelixMixedStepper: G4ClassicalRK4 chosen as stepper for small steps in G4HelixMixedStepper.
JANA >>154921 entries found (Creating DGeometry:
JANA >>  Run requested:11366  found:11366
JANA >>  Run validity range: 11366-11366
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 11366 containing 76153 grid points total
JANA >>
JANA >>Reading Pair Spectrometer Magnetic field map from Magnets/PairSpectrometer/PS_1.8T_20150513_test ...
 Nx=40 Ny=1 Nz=121 )  at 0x5ab6f30
Initializing the Geant4 kernel...
Root geometry volume SITE::1 configured as World
 G4HelixMixedStepper: G4ClassicalRK4 chosen as stepper for small steps in G4HelixMixedStepper.
STC: ALL parameters loaded from ccdb
CDC: ALL parameters loaded from ccdb
FDC: ALL parameters loaded from ccdb
BCAL: ALL parameters loaded from ccdb
FTOF: ALL parameters loaded from ccdb
FCAL: ALL parameters loaded from ccdb
Additional geometry layer configured as ParallelWorld1
Warning from GlueXDetectorConstruction::ConstructSDandField - unsupported sensitive volume TAC1 found in geometry definition.
 G4PhysicsListHelper::AddTransportation()--- G4CoupledTransportation is used 
 New QGSP_FTFP_BERT physics list, replaces LEP with FTF/P for p/n/pi (/K?)  Thresholds: 
    1) between BERT  and FTF/P over the interval 6 to 8 GeV. 
    2) between FTF/P and QGS/P over the interval 12 to 25 GeV. 
  -- quasiElastic was asked to be 1
     Changed to 1 for QGS  and to 0 (must be false) for FTF
GlueXBeamConversionProcess::InitialiseProcess:
   Setting up cross section tables, please wait... finished.
G4WT0 > Opened input file: b1_pi.hddm
G4WT0 > Warning from GlueXDetectorConstruction::ConstructSDandField - unsupported sensitive volume TAC1 found in geometry definition.
G4WT0 > JCalibration context: variation=mc
G4WT0 > JCalibration context: variation=mc
G4WT0 > Info: RF reference plane set to 65 cm.
G4WT0 > TAGGER: all parameters loaded from ccdb
G4WT0 > 1 events simulated
G4WT0 > 2 events simulated
G4WT0 > 3 events simulated
G4WT0 > 4 events simulated
G4WT0 > 5 events simulated
G4WT0 > 6 events simulated
G4WT0 > 7 events simulated
G4WT0 > 8 events simulated
G4WT0 > 9 events simulated
G4WT0 > 10 events simulated
G4WT0 > 20 events simulated
G4WT0 > 30 events simulated
G4WT0 > 40 events simulated
G4WT0 > 50 events simulated
G4WT0 > 60 events simulated
G4WT0 > 70 events simulated
G4WT0 > 80 events simulated
G4WT0 > 90 events simulated
G4WT0 > 100 events simulated
G4WT0 > 200 events simulated
G4WT0 > 300 events simulated
G4WT0 > 400 events simulated
G4WT0 > 500 events simulated
G4WT0 > 600 events simulated
G4WT0 > 700 events simulated
G4WT0 > 800 events simulated
G4WT0 > 900 events simulated
G4WT0 > 1000 events simulated
G4WT0 > 2000 events simulated
G4WT0 > 3000 events simulated
G4WT0 > 4000 events simulated
G4WT0 > 5000 events simulated
G4WT0 > 6000 events simulated
G4WT0 > 7000 events simulated
G4WT0 > 8000 events simulated
G4WT0 > 9000 events simulated
G4WT0 > 10000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.14618 MeV, difference -3.14618 MeV
G4WT0 > 20000 events simulated
G4WT0 > 30000 events simulated
G4WT0 > 40000 events simulated
G4WT0 > 50000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.20003 MeV, difference -3.20003 MeV
G4WT0 > 60000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.06422 MeV, difference -3.06422 MeV
G4WT0 > 70000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.0914 MeV, difference -3.0914 MeV
G4WT0 > 80000 events simulated
G4WT0 > 90000 events simulated
G4WT0 > 100000 events simulated
100000 events generated.
Processing usage report:     real time (s)   system time (s)     user time (s)
      per event average:          0.243523          0.005643          0.202563
          total for run:      24418.250000        565.400000      20315.980000
Running mcsmear ...
mcsmear -PJANA:BATCH_MODE=1 -PTHREAD_TIMEOUT=500 hdgeant.hddm
JANA >> Enabling z compression of output HDDM file stream (default)
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Installing special signal handler for mcsmear...
JANA >>Opening source "hdgeant.hddm" of type: HDDM
JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:11366
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>checking context = variation=mc
get BCAL/bcal_smear_parms_v2 parameters from CCDB...
Get BCAL/digi_scales parameters from CCDB...
Get BCAL/base_time_offset parameters from CCDB...
Get BCAL/channel_mc_efficiency tables from CCDB...
Get BCAL/bad_channels tables from CCDB...
Get BCAL/ADC_saturation parameters from CCDB...
Get BCAL/SiPM_saturation parameters from CCDB...
JANA >>Creating DGeometry:
JANA >>  Run requested:11366  found:11366
JANA >>  Run validity range: 11366-11366
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 11366 containing 76153 grid points total
Get PHOTON_BEAM/endpoint_energy from CCDB ...
Get FCAL/fcal_mc_timing_parms parameters from CCDB...
Get FCAL/fcal_parms parameters from CCDB...
get FCAL/gains from calibDB
get FCAL/pedestals from calibDB
get FCAL/MC/pedestal_rms from calibDB
get FCAL/MC/integral_peak_ratio from calibDB
get FCAL/MC/threshold from calibDB
get FCAL/MC/threhsold_scaling from calibDB
get FCAL/MC/mc_escale from calibDB
get FCAL/MC/energy_width_floor from calibDB
get FCAL/digi_scales parameters from calibDB
get FCAL/mc_timing_smear parameters from calibDB
get FCAL/fcal_lightguide_scale_factor parameters from calibDB
Get ECAL/mc_energy parameters from CCDB...
get ECAL/mc_time parameters from calibDB
JANA ERROR>>Problem loading ECAL/mc_energy from CCDB!
JANA >>get CDC/cdc_parms parameters from CCDB...
JANA >>get CDC/diffusion_parms parameters from CCDB...
JANA >>get CDC/digi_scales parameters from CCDB...
JANA >>get CDC/gain_doca_correction parameters from CCDB...
JANA >>get CDC/gain_doca_corr_ext parameters from CCDB...
Get FDC/fdc_parms parameters from CCDB...
Get TOF/tof_parms parameters from CCDB...
get TOF/paddle_resolutions from calibDB
Number of TOF bars per plane = 44
Get START_COUNTER/start_parms parameters from CCDB...
get START_COUNTER/paddle_mc_efficiency from calibDB
Get CCAL/mc_energy parameters from CCDB...
get CCAL/mc_time parameters from calibDB
JANA >>Finished initializing detector smearing ...
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE = 1  
JANA >> THREAD_TIMEOUT  = 500
JANA >> -------------------------------
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7f971858d700 completed gracefully: Mon Jul  1 18:58:08 2024
JANA >>Merging thread 0 (0x7f971858d700) ...

Closed HDDM file
 100000 event written to hdgeant_smeared.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 169.6Hz
Running hd_root with danarest ...
hd_root -PJANA:BATCH_MODE=1 --nthreads=1 -PTHREAD_TIMEOUT=500 -PPLUGINS=danarest hdgeant_smeared.hddm
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/danarest.so" ...
Opened ROOT file "hd_root.root" ...
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Opening source "hdgeant_smeared.hddm" of type: HDDM


JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:11366
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Creating DGeometry:
JANA >>  Run requested:11366  found:11366
JANA >>  Run validity range: 11366-11366
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 11366 containing 76153 grid points total
 ---------DL1MCTrigger (Brun): JANA_CALIB_CONTEXT =variation=mc
JANA >>Creating DTranslationTable for run 11366
JANA >>Reading translation table from calib DB: Translation/DAQ2detector ...
JANA >>23162 channels defined in translation table


 ------------  Trigger Settings --------------- 


----------- FCAL ----------- 

FCAL_CELL_THR  =        165
FCAL_NSA       =         10
FCAL_NSB       =          3
FCAL_WINDOW    =         10

----------- BCAL ----------- 

BCAL_CELL_THR  =        120
BCAL_NSA       =         19
BCAL_NSB       =          3
BCAL_WINDOW    =         20


TYPE     FCAL_E   BCAL_E   EN_THR   NHIT     LANE     FCAL_EMIN    FCAL_EMAX   BCAL_EMIN   BCAL_EMAX   PATTERN   
BFCAL      10        2      18000     0        0         200         65535         0         65535      0x0
BFCAL       0        1      25000     0        2           0             0         0             0      0x0
PS          0        0          0     0        3           0             0         0             0      0x0
BFCAL      20        1      36000     0        5         200         65535         0         65535      0x0
BFCAL       1        0        900     0        6           0             0         0             0      0x0
ST          1        0        900     1        6           0             0         0             0      0x0


JANA >>In DL1MCTrigger_factory, loading constants...
JANA >>In DBCALHit_factory, loading constants...
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1200A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x7f4901eb7200
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1200A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
JANA >>154921 entries found (Created Magnetic field map of type DMagneticFieldMapFineMesh
JANA >> Beam spot: x=0 y=0 z=65 dx/dz=0 dy/dz=0
JANA >>vertex constraint: <none>
Created TGeoManager :0x7f4902235b00
JANA >>in DBCALPoint_factory, loading constants ...
JANA >>DBCALUnifiedHit_factory: Using ADC times only.
JANA >>In DBCALTDCHit_factory, loading constants...
JANA >>Reading CCAL profile data from /group/halld/www/halldweb/html/resources//CCAL/profile_data/ccal_profile_data_v1.dat ...
JANA >>In DTRDHit_factory, loading constants...
JANA >>In DGEMHit_factory, loading constants...
JANA >> Enabling bz2 compression of output HDDM file stream
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE            = 1       
JANA >> JANA:RESOURCE_DEFAULT_PATH =         
JANA >> PLUGINS                    = danarest
JANA >> THREAD_TIMEOUT             = 500     
JANA >> -------------------------------
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7f490d767700 completed gracefully: Tue Jul  2 00:06:59 2024
JANA >>Merging thread 0 (0x7f490d767700) ...
Closed REST file dana_rest.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 5.4Hz

Closed ROOT file
JANA >>Closing shared object handle 0 ...
Running hd_root with b1pi_hists & monitoring_hists ...
hd_root -PJANA:BATCH_MODE=1 --nthreads=1 -PTHREAD_TIMEOUT=500 -PPLUGINS=b1pi_hists,monitoring_hists dana_rest.hddm
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/b1pi_hists.so" ...
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/monitoring_hists.so" ...
Opened ROOT file "hd_root.root" ...
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Opening source "dana_rest.hddm" of type: REST
   | This is a REST event stream...
JANA >> REST file next CCDB context = variation=mc


JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:11366
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Creating DGeometry:
JANA >>  Run requested:11366  found:11366
JANA >>  Run validity range: 11366-11366
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 11366 containing 76153 grid points total
JANA >>Run 11366 beam spot: x=0 y=0 z=65 dx/dz=0 dy/dz=0
JANA >> Correct Beam Photon Energy (TAGH) = 12.07 (GeV)
JANA >> Correct Beam Photon Energy (TAGM) = 12.07 (GeV)
Created TGeoManager :0x7f8e4d6f0790
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1200A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x7f8e4e99abb0
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1200A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
JANA >>154921 entries found (Created Magnetic field map of type DMagneticFieldMapFineMesh
JANA >> Beam spot: x=0 y=0 z=65 dx/dz=0 dy/dz=0
JANA >>vertex constraint: <none>
JANA >>In DTOFHit_factory, loading constants...
JANA >>TOF: USE WALK CORRECTION TYPE 1
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE            = 1                          
JANA >> JANA:RESOURCE_DEFAULT_PATH =                            
JANA >> PLUGINS                    = b1pi_hists,monitoring_hists
JANA >> THREAD_TIMEOUT             = 500                        
JANA >> -------------------------------
JANA >> Enabling bz2 compression of output HDDM file stream
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7f8e5a5cb700 completed gracefully: Tue Jul  2 00:13:54 2024
JANA >>Merging thread 0 (0x7f8e5a5cb700) ...
Closed REST file dana_rest_b1pi.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 253.5Hz

Closed ROOT file
JANA >>Closing shared object handle 0 ...
JANA >>Closing shared object handle 1 ...
Create plots
root -b -q mk_pics.C
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/04                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Aug 25 2021, 12:59:28                 |
  | From tags/v6-24-04@v6-24-04                                      |
  | With c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)                 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------


Processing mk_pics.C...
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_theta_zoom.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_theta_zoom.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_pi0Mass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_pi0Mass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_omegaMass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_omegaMass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_b1Mass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_b1Mass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_XMass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_XMass.gif has been created
Save test data
python3 update_db.py
#count events
#count b1_pi.hddm 100000
#count hdgeant.hddm 100000
#count hdgeant_smeared.hddm 100000
#count dana_rest.hddm 100001
#count dana_rest_b1pi.hddm 8466
mkdir: created directory '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5'
mkdir: created directory '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366'
'b1pi_standardtest_XMass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_XMass.pdf'
'b1pi_standardtest_b1Mass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_b1Mass.pdf'
'b1pi_standardtest_omegaMass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_omegaMass.pdf'
'b1pi_standardtest_photons.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons.pdf'
'b1pi_standardtest_photons_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_phi.pdf'
'b1pi_standardtest_photons_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_theta.pdf'
'b1pi_standardtest_photons_theta_zoom.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_theta_zoom.pdf'
'b1pi_standardtest_pi0Mass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_pi0Mass.pdf'
'b1pi_standardtest_piminus.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus.pdf'
'b1pi_standardtest_piminus_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_phi.pdf'
'b1pi_standardtest_piminus_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_theta.pdf'
'b1pi_standardtest_piminus_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_vertex.pdf'
'b1pi_standardtest_piplus.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus.pdf'
'b1pi_standardtest_piplus_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_phi.pdf'
'b1pi_standardtest_piplus_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_theta.pdf'
'b1pi_standardtest_piplus_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_vertex.pdf'
'b1pi_standardtest_protons.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons.pdf'
'b1pi_standardtest_protons_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_phi.pdf'
'b1pi_standardtest_protons_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_theta.pdf'
'b1pi_standardtest_protons_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_vertex.pdf'
'b1pi_standardtest_XMass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_XMass.gif'
'b1pi_standardtest_b1Mass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_b1Mass.gif'
'b1pi_standardtest_omegaMass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_omegaMass.gif'
'b1pi_standardtest_photons.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons.gif'
'b1pi_standardtest_photons_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_phi.gif'
'b1pi_standardtest_photons_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_theta.gif'
'b1pi_standardtest_photons_theta_zoom.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_photons_theta_zoom.gif'
'b1pi_standardtest_pi0Mass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_pi0Mass.gif'
'b1pi_standardtest_piminus.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus.gif'
'b1pi_standardtest_piminus_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_phi.gif'
'b1pi_standardtest_piminus_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_theta.gif'
'b1pi_standardtest_piminus_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piminus_vertex.gif'
'b1pi_standardtest_piplus.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus.gif'
'b1pi_standardtest_piplus_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_phi.gif'
'b1pi_standardtest_piplus_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_theta.gif'
'b1pi_standardtest_piplus_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_piplus_vertex.gif'
'b1pi_standardtest_protons.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons.gif'
'b1pi_standardtest_protons_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_phi.gif'
'b1pi_standardtest_protons_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_theta.gif'
'b1pi_standardtest_protons_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/b1pi_standardtest_protons_vertex.gif'
'index.html' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run11366/index.html'
mkdir: created directory '/volatile/halld/gluex/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/30480'
info: number of threads not defined, using default value 1
info: vertex parameters not defined, using default values 0 0 50 80
info: random number seed not defined, using genr8 default (different seed each run)
NEVENTS = 100000
VERTEX = 0 0 50 80
NTHREADS = 1
B1PI_TEST_DIR = /group/halld/Software/hd_utilities/b1pi_test
RUN = 30480
SEED =
Copying script files and macros ...
'/group/halld/Software/hd_utilities/b1pi_test/README' -> './README'
'/group/halld/Software/hd_utilities/b1pi_test/b1_pi.input' -> './b1_pi.input'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron.sh' -> './b1pi_cron.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_one.sh' -> './b1pi_cron_one.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_two.sh' -> './b1pi_cron_two.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_cron_two.sh~' -> './b1pi_cron_two.sh~'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_message.sh' -> './b1pi_message.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_test.sh' -> './b1pi_test.sh'
'/group/halld/Software/hd_utilities/b1pi_test/b1pi_test_valgrind.sh' -> './b1pi_test_valgrind.sh'
'/group/halld/Software/hd_utilities/b1pi_test/hddm_counter.pl' -> './hddm_counter.pl'
'/group/halld/Software/hd_utilities/b1pi_test/index.html' -> './index.html'
cp: omitting directory '/group/halld/Software/hd_utilities/b1pi_test/macros'
'/group/halld/Software/hd_utilities/b1pi_test/my_b1pi_test.sh' -> './my_b1pi_test.sh'
'/group/halld/Software/hd_utilities/b1pi_test/macros/StandardLabels.C' -> './StandardLabels.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/anal1.C' -> './anal1.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1_pi.C' -> './b1_pi.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1_pi.h' -> './b1_pi.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_gen.C' -> './b1pi_gen.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_gen.h' -> './b1pi_gen.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_rec.C' -> './b1pi_rec.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/b1pi_rec.h' -> './b1pi_rec.h'
'/group/halld/Software/hd_utilities/b1pi_test/macros/fit_voigt.C' -> './fit_voigt.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/makeallplots.C' -> './makeallplots.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/mass_X.C' -> './mass_X.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/mk_pics.C' -> './mk_pics.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/momentum.C' -> './momentum.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/theta.C' -> './theta.C'
'/group/halld/Software/hd_utilities/b1pi_test/macros/update_db.py' -> './update_db.py'
Running genr8 ...
Using runNo: 30480
Maximum number of events: 100000
Opening file b1_pi.ascii for output. 
Reading: 	beamp.x 	beamp.y 	beamp.z 	beamMass
Found: 		0.000000 	0.000000 	9.000000 	0.000000 
Reading: 	targetp.x 	targetp.y 	targetp.z 	targetMass
Found: 		0.000000 	0.000000 	0.000000 	0.938270 
Reading: t-channelSlope
Found: 	5.000000 
Reading: number of particles need to describe the decay
Found: 	12 
Reading: 	part# 	chld1# 	chld2# 	prnt# 	Id 	nchld 	mass 		width 		chrg 	flag  
Found: 		0 	-1 	-1 	-1 	14 	0 	0.938270 	0.000000 	1 	11
Found: 		1 	2 	3 	-1 	0 	2 	2.000000 	0.100000 	1 	0
Found: 		2 	4 	5 	1 	0 	2 	1.235000 	0.142000 	1 	0
Found: 		3 	4 	5 	1 	9 	0 	0.139570 	0.000000 	-1 	11
Found: 		4 	6 	7 	2 	0 	2 	0.783000 	0.009000 	0 	0
Found: 		5 	6 	7 	2 	8 	0 	0.139570 	0.000000 	1 	11
Found: 		6 	8 	9 	4 	0 	2 	0.776000 	0.150000 	0 	0
Found: 		7 	10 	11 	4 	7 	2 	0.134980 	0.000000 	0 	0
Found: 		8 	10 	11 	6 	8 	0 	0.139570 	0.000000 	1 	11
Found: 		9 	10 	11 	6 	9 	0 	0.139570 	0.000000 	-1 	11
Found: 		10 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found: 		11 	10 	11 	7 	1 	0 	0.000000 	0.000000 	0 	11
Found EOI----  Input File appears Fine.
Calculating Lorentz Factor: 9000 
Calculating Lorentz Factor: 8000 
Calculating Lorentz Factor: 7000 
Calculating Lorentz Factor: 6000 
Calculating Lorentz Factor: 5000 
Calculating Lorentz Factor: 4000 
Calculating Lorentz Factor: 3000 
Calculating Lorentz Factor: 2000 
Calculating Lorentz Factor: 1000 
Calculating Lorentz Factor: 100 
Calculating Lorentz Factor: 90 
Calculating Lorentz Factor: 80 
Calculating Lorentz Factor: 70 
Calculating Lorentz Factor: 60 
Calculating Lorentz Factor: 50 
Calculating Lorentz Factor: 40 
Calculating Lorentz Factor: 30 
Calculating Lorentz Factor: 20 
Calculating Lorentz Factor: 10 
Calculating Lorentz Factor: 0 
Events generated: 100 Events accepted: 35 
Events generated: 200 Events accepted: 95 
Events generated: 300 Events accepted: 132 
Events generated: 400 Events accepted: 179 
Events generated: 500 Events accepted: 219 
Events generated: 600 Events accepted: 270 
Events generated: 700 Events accepted: 323 
Events generated: 800 Events accepted: 375 
Events generated: 900 Events accepted: 423 
Events generated: 1000 Events accepted: 468 
Events generated: 10000 Events accepted: 4713 
Events generated: 20000 Events accepted: 9375 
Events generated: 30000 Events accepted: 14176 
Events generated: 40000 Events accepted: 18938 
Events generated: 50000 Events accepted: 23725 
Events generated: 60000 Events accepted: 28472 
Events generated: 70000 Events accepted: 33237 
Events generated: 80000 Events accepted: 37960 
Events generated: 90000 Events accepted: 42728 
Events generated: 100000 Events accepted: 47389 
Events generated: 110000 Events accepted: 52178 
Events generated: 120000 Events accepted: 56955 
Events generated: 130000 Events accepted: 61656 
Events generated: 140000 Events accepted: 66373 
Events generated: 150000 Events accepted: 71088 
Events generated: 160000 Events accepted: 75841 
Events generated: 170000 Events accepted: 80597 
Events generated: 180000 Events accepted: 85355 
Events generated: 190000 Events accepted: 89962 
Events generated: 200000 Events accepted: 94715 
Events generated: 210000 Events accepted: 99471 
Max Lorentz Factor:0.001272 Events generated:211129 Events accepted:100000

Setting random number seed to: 1720086931
Converting generated events to HDDM ...
Wrote event 1000
Wrote event 2000
Wrote event 3000
Wrote event 4000
Wrote event 5000
Wrote event 6000
Wrote event 7000
Wrote event 8000
Wrote event 9000
Wrote event 10000
Wrote event 11000
Wrote event 12000
Wrote event 13000
Wrote event 14000
Wrote event 15000
Wrote event 16000
Wrote event 17000
Wrote event 18000
Wrote event 19000
Wrote event 20000
Wrote event 21000
Wrote event 22000
Wrote event 23000
Wrote event 24000
Wrote event 25000
Wrote event 26000
Wrote event 27000
Wrote event 28000
Wrote event 29000
Wrote event 30000
Wrote event 31000
Wrote event 32000
Wrote event 33000
Wrote event 34000
Wrote event 35000
Wrote event 36000
Wrote event 37000
Wrote event 38000
Wrote event 39000
Wrote event 40000
Wrote event 41000
Wrote event 42000
Wrote event 43000
Wrote event 44000
Wrote event 45000
Wrote event 46000
Wrote event 47000
Wrote event 48000
Wrote event 49000
Wrote event 50000
Wrote event 51000
Wrote event 52000
Wrote event 53000
Wrote event 54000
Wrote event 55000
Wrote event 56000
Wrote event 57000
Wrote event 58000
Wrote event 59000
Wrote event 60000
Wrote event 61000
Wrote event 62000
Wrote event 63000
Wrote event 64000
Wrote event 65000
Wrote event 66000
Wrote event 67000
Wrote event 68000
Wrote event 69000
Wrote event 70000
Wrote event 71000
Wrote event 72000
Wrote event 73000
Wrote event 74000
Wrote event 75000
Wrote event 76000
Wrote event 77000
Wrote event 78000
Wrote event 79000
Wrote event 80000
Wrote event 81000
Wrote event 82000
Wrote event 83000
Wrote event 84000
Wrote event 85000
Wrote event 86000
Wrote event 87000
Wrote event 88000
Wrote event 89000
Wrote event 90000
Wrote event 91000
Wrote event 92000
Wrote event 93000
Wrote event 94000
Wrote event 95000
Wrote event 96000
Wrote event 97000
Wrote event 98000
Wrote event 99000
Wrote event 100000
Wrote 100000 events to b1_pi.hddm
Creating control.in file ...
Running hdgeant4 ...
hdgeant4 run.mac

**************************************************************
 Geant4 version Name: geant4-10-04-patch-02 [MT]   (25-May-2018)
  << in Multi-threaded mode >> 
                       Copyright : Geant4 Collaboration
                      References : NIM A 506 (2003), 250-303
                                 : IEEE-TNS 53 (2006), 270-278
                                 : NIM A 835 (2016), 186-225
                             WWW : http://geant4.org/
**************************************************************

JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:30480
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x4bd5af0
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1350A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
 G4HelixMixedStepper: G4ClassicalRK4 chosen as stepper for small steps in G4HelixMixedStepper.
JANA >>154921 entries found (Creating DGeometry:
JANA >>  Run requested:30480  found:30480
JANA >>  Run validity range: 30480-30480
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 30480 containing 76153 grid points total
JANA >>
JANA >>Reading Pair Spectrometer Magnetic field map from Magnets/PairSpectrometer/PS_1.8T_20150513_test ...
 Nx=40 Ny=1 Nz=121 )  at 0x4bf7860
Initializing the Geant4 kernel...
Root geometry volume SITE::1 configured as World
 G4HelixMixedStepper: G4ClassicalRK4 chosen as stepper for small steps in G4HelixMixedStepper.
STC: ALL parameters loaded from ccdb
CDC: ALL parameters loaded from ccdb
FDC: ALL parameters loaded from ccdb
BCAL: ALL parameters loaded from ccdb
FTOF: ALL parameters loaded from ccdb
FCAL: ALL parameters loaded from ccdb
Warning from GlueXDetectorConstruction::ConstructSDandField - unsupported sensitive volume TAC1 found in geometry definition.
Additional geometry layer configured as ParallelWorld1
 G4PhysicsListHelper::AddTransportation()--- G4CoupledTransportation is used 
 New QGSP_FTFP_BERT physics list, replaces LEP with FTF/P for p/n/pi (/K?)  Thresholds: 
    1) between BERT  and FTF/P over the interval 6 to 8 GeV. 
    2) between FTF/P and QGS/P over the interval 12 to 25 GeV. 
  -- quasiElastic was asked to be 1
     Changed to 1 for QGS  and to 0 (must be false) for FTF
GlueXBeamConversionProcess::InitialiseProcess:
   Setting up cross section tables, please wait... finished.
G4WT0 > Opened input file: b1_pi.hddm
G4WT0 > Warning from GlueXDetectorConstruction::ConstructSDandField - unsupported sensitive volume TAC1 found in geometry definition.
G4WT0 > JCalibration context: variation=mc
G4WT0 > JCalibration context: variation=mc
G4WT0 > Info: RF reference plane set to 65 cm.
G4WT0 > TAGGER: all parameters loaded from ccdb
G4WT0 > 1 events simulated
G4WT0 > 2 events simulated
G4WT0 > 3 events simulated
G4WT0 > 4 events simulated
G4WT0 > 5 events simulated
G4WT0 > 6 events simulated
G4WT0 > 7 events simulated
G4WT0 > 8 events simulated
G4WT0 > 9 events simulated
G4WT0 > 10 events simulated
G4WT0 > 20 events simulated
G4WT0 > 30 events simulated
G4WT0 > 40 events simulated
G4WT0 > 50 events simulated
G4WT0 > 60 events simulated
G4WT0 > 70 events simulated
G4WT0 > 80 events simulated
G4WT0 > 90 events simulated
G4WT0 > 100 events simulated
G4WT0 > 200 events simulated
G4WT0 > 300 events simulated
G4WT0 > 400 events simulated
G4WT0 > 500 events simulated
G4WT0 > 600 events simulated
G4WT0 > 700 events simulated
G4WT0 > 800 events simulated
G4WT0 > 900 events simulated
G4WT0 > 1000 events simulated
G4WT0 > 2000 events simulated
G4WT0 > 3000 events simulated
G4WT0 > 4000 events simulated
G4WT0 > 5000 events simulated
G4WT0 > 6000 events simulated
G4WT0 > 7000 events simulated
G4WT0 > 8000 events simulated
G4WT0 > 9000 events simulated
G4WT0 > 10000 events simulated
G4WT0 > 20000 events simulated
G4WT0 > 30000 events simulated
G4WT0 > 40000 events simulated
G4WT0 > 50000 events simulated
G4WT0 > 60000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.01188 MeV, difference -3.01188 MeV
G4WT0 > 70000 events simulated
G4WT0 > 80000 events simulated
G4WT0 > === WARNING in GlueXPrimaryGenerator::GeneratePrimaryVertex ===
G4WT0 >    gamma found in input MC record, geant3 type 1, PDG type 22 has unphysical mass: 
G4WT0 >    expected 0 eV , found 3.08955 MeV, difference -3.08955 MeV
G4WT0 > 90000 events simulated
G4WT0 > 100000 events simulated
100000 events generated.
Processing usage report:     real time (s)   system time (s)     user time (s)
      per event average:          0.188059          0.000825          0.186868
          total for run:      18868.910000         83.430000      18745.420000
Running mcsmear ...
mcsmear -PJANA:BATCH_MODE=1 -PTHREAD_TIMEOUT=500 hdgeant.hddm
JANA >> Enabling z compression of output HDDM file stream (default)
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Installing special signal handler for mcsmear...
JANA >>Opening source "hdgeant.hddm" of type: HDDM
JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:30480
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>checking context = variation=mc
get BCAL/bcal_smear_parms_v2 parameters from CCDB...
Get BCAL/digi_scales parameters from CCDB...
Get BCAL/base_time_offset parameters from CCDB...
Get BCAL/channel_mc_efficiency tables from CCDB...
Get BCAL/bad_channels tables from CCDB...
Get BCAL/ADC_saturation parameters from CCDB...
Get BCAL/SiPM_saturation parameters from CCDB...
JANA >>Creating DGeometry:
JANA >>  Run requested:30480  found:30480
JANA >>  Run validity range: 30480-30480
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 30480 containing 76153 grid points total
Get PHOTON_BEAM/endpoint_energy from CCDB ...
Get FCAL/fcal_mc_timing_parms parameters from CCDB...
Get FCAL/fcal_parms parameters from CCDB...
get FCAL/gains from calibDB
get FCAL/pedestals from calibDB
get FCAL/MC/pedestal_rms from calibDB
get FCAL/MC/integral_peak_ratio from calibDB
get FCAL/MC/threshold from calibDB
get FCAL/MC/threhsold_scaling from calibDB
get FCAL/MC/mc_escale from calibDB
get FCAL/MC/energy_width_floor from calibDB
get FCAL/digi_scales parameters from calibDB
get FCAL/mc_timing_smear parameters from calibDB
get FCAL/fcal_lightguide_scale_factor parameters from calibDB
Get ECAL/mc_energy parameters from CCDB...
JANA ERROR>>Problem loading ECAL/mc_energy from CCDB!
get ECAL/mc_time parameters from calibDB
JANA >>get CDC/cdc_parms parameters from CCDB...
JANA >>get CDC/diffusion_parms parameters from CCDB...
JANA >>get CDC/digi_scales parameters from CCDB...
JANA >>get CDC/gain_doca_correction parameters from CCDB...
JANA >>get CDC/gain_doca_corr_ext parameters from CCDB...
Get FDC/fdc_parms parameters from CCDB...
Get TOF/tof_parms parameters from CCDB...
get TOF/paddle_resolutions from calibDB
Number of TOF bars per plane = 44
Get START_COUNTER/start_parms parameters from CCDB...
get START_COUNTER/paddle_mc_efficiency from calibDB
Get CCAL/mc_energy parameters from CCDB...
get CCAL/mc_time parameters from calibDB
JANA >>Finished initializing detector smearing ...
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE = 1  
JANA >> THREAD_TIMEOUT  = 500
JANA >> -------------------------------
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7f4a4ad3f700 completed gracefully: Tue Jul  2 09:08:34 2024
JANA >>Merging thread 0 (0x7f4a4ad3f700) ...

Closed HDDM file
 100000 event written to hdgeant_smeared.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 147.8Hz
Running hd_root with danarest ...
hd_root -PJANA:BATCH_MODE=1 --nthreads=1 -PTHREAD_TIMEOUT=500 -PPLUGINS=danarest hdgeant_smeared.hddm
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/danarest.so" ...
Opened ROOT file "hd_root.root" ...
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Opening source "hdgeant_smeared.hddm" of type: HDDM


JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:30480
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Creating DGeometry:
JANA >>  Run requested:30480  found:30480
JANA >>  Run validity range: 30480-30480
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 30480 containing 76153 grid points total
 ---------DL1MCTrigger (Brun): JANA_CALIB_CONTEXT =variation=mc
JANA >>Creating DTranslationTable for run 30480
JANA >>Reading translation table from calib DB: Translation/DAQ2detector ...
JANA >>23166 channels defined in translation table


 ------------  Trigger Settings --------------- 


----------- FCAL ----------- 

FCAL_CELL_THR  =        165
FCAL_NSA       =         10
FCAL_NSB       =          3
FCAL_WINDOW    =         10

----------- BCAL ----------- 

BCAL_CELL_THR  =        120
BCAL_NSA       =         19
BCAL_NSB       =          3
BCAL_WINDOW    =         20


TYPE     FCAL_E   BCAL_E   EN_THR   NHIT     LANE     FCAL_EMIN    FCAL_EMAX   BCAL_EMIN   BCAL_EMAX   PATTERN   
BFCAL      25        1      45000     0        0         200         65535         0         65535      0x0
BFCAL       0        1      54000     0        2           0             0         0             0      0x0
PS          0        0          0     0        3           0             0         0             0      0x0


JANA >>In DL1MCTrigger_factory, loading constants...
JANA >>In DBCALHit_factory, loading constants...
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x7fb749e4dcf0
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1350A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
JANA >>154921 entries found (Created Magnetic field map of type DMagneticFieldMapFineMesh
JANA >> Beam spot: x=0.1745 y=-0.002098 z=65 dx/dz=-0.0005445 dy/dz=-0.0003837
JANA >>vertex constraint: <none>
Created TGeoManager :0x7fb74a4ece50
JANA >>in DBCALPoint_factory, loading constants ...
JANA >>DBCALUnifiedHit_factory: Using ADC times only.
JANA >>In DBCALTDCHit_factory, loading constants...
JANA >>Reading CCAL profile data from /group/halld/www/halldweb/html/resources//CCAL/profile_data/ccal_profile_data_v1.dat ...
JANA >>In DTRDHit_factory, loading constants...
JANA >>In DGEMHit_factory, loading constants...
JANA >> Enabling bz2 compression of output HDDM file stream
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE            = 1       
JANA >> JANA:RESOURCE_DEFAULT_PATH =         
JANA >> PLUGINS                    = danarest
JANA >> THREAD_TIMEOUT             = 500     
JANA >> -------------------------------
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7fb756670700 completed gracefully: Tue Jul  2 14:26:37 2024
JANA >>Merging thread 0 (0x7fb756670700) ...
Closed REST file dana_rest.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 5.2Hz

Closed ROOT file
JANA >>Closing shared object handle 0 ...
Running hd_root with b1pi_hists & monitoring_hists ...
hd_root -PJANA:BATCH_MODE=1 --nthreads=1 -PTHREAD_TIMEOUT=500 -PPLUGINS=b1pi_hists,monitoring_hists dana_rest.hddm
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/b1pi_hists.so" ...
JANA >>Initializing plugin "/volatile/halld/gluex/nightly/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/halld_recon/Linux_CentOS7.7-x86_64-gcc4.8.5/plugins/monitoring_hists.so" ...
Opened ROOT file "hd_root.root" ...
JANA >>Launching threads .
JANA >> THREAD_TIMEOUT_FIRST_EVENT is set smaller than THREAD_TIMEOUT
JANA >> (30 < 500). THREAD_TIMEOUT_FIRST_EVENT will be set to 500
JANA >>Opening source "dana_rest.hddm" of type: REST
   | This is a REST event stream...
JANA >> REST file next CCDB context = variation=mc


JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:30480
JANA >>URL: mysql://ccdb_user@hallddb.jlab.org/ccdb
JANA >>context: variation=mc
JANA >>comment: Variation for simulations with data conditions
JANA >>Creating DGeometry:
JANA >>  Run requested:30480  found:30480
JANA >>  Run validity range: 30480-30480
JANA >>  URL="ccdb:///GEOMETRY/main_HDDS.xml"  context="default"
JANA >>  Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 30480 containing 76153 grid points total
JANA >>Run 30480 beam spot: x=0.1745 y=-0.002098 z=65 dx/dz=-0.0005445 dy/dz=-0.0003837
JANA >> Correct Beam Photon Energy (TAGH) = 11.642 (GeV)
JANA >> Correct Beam Photon Energy (TAGM) = 11.642 (GeV)
Created TGeoManager :0x7f08996e2420
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350A_poisson_20160222 ...
 Nx=221 Ny=1 Nz=701 )  at 0x7f089a98cb30
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1350A_poisson_20160222
 rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1
 Number of points in z = 6000
 Number of points in r = 885
JANA >>154921 entries found (Created Magnetic field map of type DMagneticFieldMapFineMesh
JANA >> Beam spot: x=0.1745 y=-0.002098 z=65 dx/dz=-0.0005445 dy/dz=-0.0003837
JANA >>vertex constraint: <none>
JANA >>In DTOFHit_factory, loading constants...
JANA >>TOF: USE WALK CORRECTION TYPE 3
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:BATCH_MODE            = 1                          
JANA >> JANA:RESOURCE_DEFAULT_PATH =                            
JANA >> PLUGINS                    = b1pi_hists,monitoring_hists
JANA >> THREAD_TIMEOUT             = 500                        
JANA >> -------------------------------
JANA >> Enabling bz2 compression of output HDDM file stream
JANA >> Enabling CRC data integrity check in output HDDM file stream
JANA >>
JANA >>No more event sources
JANA >>Thread 0x7f08a546e700 completed gracefully: Tue Jul  2 14:33:24 2024
JANA >>Merging thread 0 (0x7f08a546e700) ...
Closed REST file dana_rest_b1pi.hddm
JANA >>Merging event reader thread ...
JANA >> 100000 events processed  (100000 events read) Average rate: 253.5Hz

Closed ROOT file
JANA >>Closing shared object handle 0 ...
JANA >>Closing shared object handle 1 ...
Create plots
root -b -q mk_pics.C
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/04                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Aug 25 2021, 12:59:28                 |
  | From tags/v6-24-04@v6-24-04                                      |
  | With c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)                 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------


Processing mk_pics.C...
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_protons_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_protons_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_theta_zoom.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_theta_zoom.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_photons_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_photons_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piplus_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piplus_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_theta.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_theta.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_phi.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_phi.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_piminus_vertex.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_piminus_vertex.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_pi0Mass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_pi0Mass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_omegaMass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_omegaMass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_b1Mass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_b1Mass.gif has been created
Info in <TCanvas::Print>: pdf file b1pi_standardtest_XMass.pdf has been created
Info in <TCanvas::Print>: gif file b1pi_standardtest_XMass.gif has been created
Save test data
python3 update_db.py
#count events
#count b1_pi.hddm 100000
#count hdgeant.hddm 100000
#count hdgeant_smeared.hddm 100000
#count dana_rest.hddm 100001
#count dana_rest_b1pi.hddm 8129
mkdir: created directory '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480'
'b1pi_standardtest_XMass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_XMass.pdf'
'b1pi_standardtest_b1Mass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_b1Mass.pdf'
'b1pi_standardtest_omegaMass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_omegaMass.pdf'
'b1pi_standardtest_photons.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons.pdf'
'b1pi_standardtest_photons_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_phi.pdf'
'b1pi_standardtest_photons_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_theta.pdf'
'b1pi_standardtest_photons_theta_zoom.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_theta_zoom.pdf'
'b1pi_standardtest_pi0Mass.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_pi0Mass.pdf'
'b1pi_standardtest_piminus.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus.pdf'
'b1pi_standardtest_piminus_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_phi.pdf'
'b1pi_standardtest_piminus_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_theta.pdf'
'b1pi_standardtest_piminus_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_vertex.pdf'
'b1pi_standardtest_piplus.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus.pdf'
'b1pi_standardtest_piplus_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_phi.pdf'
'b1pi_standardtest_piplus_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_theta.pdf'
'b1pi_standardtest_piplus_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_vertex.pdf'
'b1pi_standardtest_protons.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons.pdf'
'b1pi_standardtest_protons_phi.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_phi.pdf'
'b1pi_standardtest_protons_theta.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_theta.pdf'
'b1pi_standardtest_protons_vertex.pdf' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_vertex.pdf'
'b1pi_standardtest_XMass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_XMass.gif'
'b1pi_standardtest_b1Mass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_b1Mass.gif'
'b1pi_standardtest_omegaMass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_omegaMass.gif'
'b1pi_standardtest_photons.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons.gif'
'b1pi_standardtest_photons_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_phi.gif'
'b1pi_standardtest_photons_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_theta.gif'
'b1pi_standardtest_photons_theta_zoom.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_photons_theta_zoom.gif'
'b1pi_standardtest_pi0Mass.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_pi0Mass.gif'
'b1pi_standardtest_piminus.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus.gif'
'b1pi_standardtest_piminus_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_phi.gif'
'b1pi_standardtest_piminus_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_theta.gif'
'b1pi_standardtest_piminus_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piminus_vertex.gif'
'b1pi_standardtest_piplus.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus.gif'
'b1pi_standardtest_piplus_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_phi.gif'
'b1pi_standardtest_piplus_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_theta.gif'
'b1pi_standardtest_piplus_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_piplus_vertex.gif'
'b1pi_standardtest_protons.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons.gif'
'b1pi_standardtest_protons_phi.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_phi.gif'
'b1pi_standardtest_protons_theta.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_theta.gif'
'b1pi_standardtest_protons_vertex.gif' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/b1pi_standardtest_protons_vertex.gif'
'index.html' -> '/group/halld/www/halldweb/html/b1pi/2024-07-01/Linux_CentOS7.7-x86_64-gcc4.8.5/Run30480/index.html'