star-fwd-software-l AT lists.bnl.gov
Subject: FWD Software
List archive
Re: [Star-fwd-software-l] StFcsTriggerSimMaker update
- From: Akio Ogawa <akio AT bnl.gov>
- To: "star-fwd-software-l AT lists.bnl.gov" <star-fwd-software-l AT lists.bnl.gov>
- Subject: Re: [Star-fwd-software-l] StFcsTriggerSimMaker update
- Date: Tue, 21 Nov 2023 11:55:09 -0500 (EST)
Hello
Okey. I finally found the cause of the problem Manny was seeing in
StFcsTriggerSimMaker. Please see
https://github.com/star-bnl/star-sw/pull/630
or
/star/u/akio/fcs20231121/star-sw/StRoot/StFcsDbMaker/StFcsDb.cxx
Some of init code in StFcsDb had to be moveed from Init() to InitRun() since it requires offset tables loaded first from DB in InitRun() of StFcsDbMaker. ET gain from ET gainfile were overwrittenb by one with
wrong detector offsets, getting crazy high gain factors (x5~x10), thus most of MB events were triggering.
"ET gain" calc needs xyz offsets of the detector. This ET gains are not really used in analysis since recorded data is E matched. ET gain calculated here are installed on DEP, and used in trigger algo. I think only offline code using ET gain is the StFcsTiggerSimMaker.
Please teke this and see if this now make sense.
OGAWA, akio Email : akio AT bnl.gov
BrookHaven National Lab. Physics Dep. 510A 2-235
Upton, NY, 11973-5000 Tel. 631-344-5293
On Wed, 1 Nov 2023, Akio Ogawa wrote:
Hello
I promised to look at StFcsTriggerSimMaker for MC. I think I made
it work at
rcas60xx:/star/u/akio/fcsmc202311/star-sw/
runSimBfc.C
StRoot/StSpinPool/StFcsTriggerSimMaker/*.*
StRoot/StSpinPool/StFcsTriggerSimMaker/files/*.txt
which has updated code as well as needed text files.
Please use TrgVersion = 202209 for run22 and beyond.
fcsTrgSim->setTrigger(202209);
My old instruction
https://www.star.bnl.gov/protected/spin/akio/fcs/howto_MC_github.html
seems to still wrok fine with a bit of addition of copying files
into your working dir
cp StRoot/StSpinPool/StFcsTriggerSimMaker/files/*.txt .
PR#618 is up with all changes
https://github.com/star-bnl/star-sw/pull/618
So until this goes through, you need to copy the code from my dir
or my github repo for the PR above.
I checked basics, but I have not run it with large statistics and
saw dostributions from QA. Please let me know if this make sense
or not!
OGAWA, akio Email : akio AT bnl.gov
BrookHaven National Lab. Physics Dep. 510A 2-235
Upton, NY, 11973-5000 Tel. 631-344-5293
-
[Star-fwd-software-l] StFcsTriggerSimMaker update,
Akio Ogawa, 11/01/2023
- Re: [Star-fwd-software-l] StFcsTriggerSimMaker update, Akio Ogawa, 11/21/2023
- <Possible follow-up(s)>
- Re: [Star-fwd-software-l] StFcsTriggerSimMaker update, Akio Ogawa, 11/29/2023
Archive powered by MHonArc 2.6.24.