Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger simulation fails for some runs #844

Open
aaust opened this issue Oct 1, 2024 · 1 comment
Open

Trigger simulation fails for some runs #844

aaust opened this issue Oct 1, 2024 · 1 comment

Comments

@aaust
Copy link
Contributor

aaust commented Oct 1, 2024

I noticed that the trigger simulation fails for some runs in spring 2017. I am running mcwrapper in the CentOS7 container with the settings to reproduce REST production 2017-01 ver04 and analysis ver70:

Environment file: /group/halld/www/halldweb/html/halld_versions/recon-2019_11-ver01_13.xml
Analysis Environment file: /group/halld/www/halldweb/html/halld_versions/analysis-2017_01-ver70.xml

For run 30788, the reconstruction step prints this message:

---------DL1MCTrigger (Brun): JANA_CALIB_CONTEXT =variation=mc
JANA >>Creating DTranslationTable for run 30788
JANA >>Reading translation table from calib DB: Translation/DAQ2detector ...
JANA >>23166 channels defined in translation table
File with name: /home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all/LIST doesn't exist (not associated) with run: 30788
 ------------  Trigger Settings --------------- 
----------- FCAL ----------- 
FCAL_CELL_THR  =         65
FCAL_NSA       =         10
FCAL_NSB       =          3
FCAL_WINDOW    =         10
----------- BCAL ----------- 
BCAL_CELL_THR  =         20
BCAL_NSA       =         19
BCAL_NSB       =          3
BCAL_WINDOW    =         20
 Do not use RCDB for the trigger simulation. Default (spring 2017) trigger settings are used

As a consequence, no event passes the trigger selection and all monitoring histograms are empty.

For a other runs of the spring period (e.g. 30300), very different settings are loaded and my events pass the trigger:

 ---------DL1MCTrigger (Brun): JANA_CALIB_CONTEXT =variation=mc
JANA >>Creating DTranslationTable for run 30300
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...

I don't know yet for how many runs this happens, but this silent effect could potentially bias the trigger efficiency and by that the determination of the cross section.

@lihaoahil
Copy link
Contributor

I see similar errors in the following MC runs:

30344_stderr.30344_0.err:JANA ERROR>>File with name "/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all/FCAL_BCAL_PS_m9.conf" doesn't exist for run 30344
30390_stderr.30390_0.err:JANA ERROR>>File with name "/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all/LIST" doesn't exist for run 30390
30787_stderr.30787_0.err:JANA ERROR>>File with name "/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all/LIST" doesn't exist for run 30787
30788_stderr.30788_0.err:JANA ERROR>>File with name "/home/hdops/CDAQ/daq_dev_v0.31/daq/config/hd_all/LIST" doesn't exist for run 30788

FYI, I ran MCWrapper using version_5.21.0.xml for both Environment file and analysis Environment file, and I simulated 1Million MC events for the entire SP17 on the ifarm (this is on AlmaLinux 9 directly without the container). @aaust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants