Skip to content

Commit

Permalink
add flag in photonID parameters (#175)
Browse files Browse the repository at this point in the history
* add flag in photonID parameters

* fix

* fix

---------

Co-authored-by: Tong Li <t.li@cern.ch>
  • Loading branch information
dasphy and Tong Li authored Aug 29, 2024
1 parent d2de5ab commit 6b5b701
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FCCee/FullSim/ALLEGRO/ALLEGRO_o1_v03/run_digi_reco.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@

# run photon ID algorithm
runPhotonIDTool = False
logEWeightInPhotonID = False

#
# ALGORITHMS AND SERVICES SETUP
Expand Down Expand Up @@ -491,6 +492,7 @@
layerFieldNames=["layer"],
thetaRecalcWeights=[ecalBarrelThetaWeights],
do_photon_shapeVar=runPhotonIDTool,
do_widthTheta_logE_weights=logEWeightInPhotonID,
OutputLevel=INFO
)

Expand Down Expand Up @@ -628,6 +630,7 @@
layerFieldNames=["layer"],
thetaRecalcWeights=[ecalBarrelThetaWeights],
do_photon_shapeVar=runPhotonIDTool,
do_widthTheta_logE_weights=logEWeightInPhotonID,
OutputLevel=INFO)

if applyMVAClusterEnergyCalibration:
Expand Down

0 comments on commit 6b5b701

Please sign in to comment.