Using Pandora in Cheating Mode - Thomas-Ham/larreco GitHub Wiki

Can make Pandora cheat and uses truth information for pattern recognition.

Things to Add to fcl (e.g. SBNReco.fcl)

Add pandora(Cheating) to producer and configure with

physics.producers.pandoraCheat.HitFinderModuleLabel: "linecluster"
physics.producers.pandoraCheat.ConfigFile:           "PandoraSettings_Cheat.xml"

Copy over this version of PandorSetting_Cheat.xml: /sbnd/app/users/etyley/shower/TRACS/srcs/sbndcode/sbndcode/SBNDPandora/scripts/PandoraSettings_Cheat.xml

Run on some reco events

Run eventdump.fcl - should see pandorCheating stuff

Some events which have cheating

(900 e_pi+ events)

/pnfs/sbnd/persistent/users/etyley/Shower/MCP2Skim/v08_38_00/Electrons/3470251_14/reco-28de134a-46e3-461a-8fa7-fbd3bb7014c0_Reco2-20200121T195246.root

(1100 gammma_pi+ events)

/pnfs/sbnd/persistent/users/etyley/Shower/MCP2Skim/v08_38_00/Gammas/3470303_16/reco-ba1fef8a-2c49-4ce6-87fe-aa4d1620bf22_Reco2-20200121T195412.root
/sbnd/data/users/etyley/showers/reconstruction/MC/tracs/skimElectrons.list  # e + pi+ sample
/sbnd/data/users/etyley/showers/reconstruction/MC/tracs/skimGammas.list     # gamma + pi+ sample

Run TRACS with Pandora Cheating as input

Don't need to run pandoraCheating again, can comment out

pandor->pandorCheat in showertools.fcl

Add the following to SBNReco.fcl

physics.producers.SBNShower.PFParticleModuleLabel: "pandoraCheat"

physics.producers.SBNShower.ShowerFinderTools[0].PFParticleModuleLabel: "pandoraCheat" # [n] gives the tool number to apply this to

Might not need the last one?

And I think you should be able to just overwrite it in the fcl without changing showertools.fcl, but doesn't seem to work..

~~Need to double-check these last points at some point~~