Skip to content

SSNet @ Wu

David Caratelli edited this page Apr 2, 2018 · 8 revisions

Start by following setup instructions here:

https://github.com/NevisUB/ssnet_example

Your code will need the following change: all .cfg files should have "ImageProducer: "tpc"" changed to "ImageProducer: "wire"". See the full git diff below:

http://www.nevis.columbia.edu/~dcaratelli/showandtell/differences.txt

  1. Creating SUPERA objects from LArSoft

Work area @ /data/dcaratelli/ssnet_example/

cd sw
source setup.sh
cd ..

To run:

python run_ssnet.py out.root input.root

input.root is the LArCV file with image data. out.root will contain LArCV SSNet pixel tagging output.

Example batch processing @ gpvm machines which can be run with nohup is here: /home/dcaratelli/ssnet_pi0/batch_ssnet_00.py Also shows location of where files are stored.

THIS IS THE END OF RUNNING SSNET TAGGING @ NEVIS GPVMs

Currently storing files @

  • /data/dcaratelli/ccpi0/ [Marco CCinclusive MCC8.3]
  • /data/dcaratelli/sel2ccpi0/ [sel2 ccpi0 fileer MCC8.6]

Once SSNet.root LArCV files are available they can be run with the LArSoft module: "SSNetHitProducer_module":https://cdcvs.fnal.gov/redmine/projects/uboonecode/repository/changes/uboone/LArCVImageMaker/SSNetHitProducer_module.cc?rev=DL_br Using fhicl file: r"un_SSNetHirProdcer.fcl":https://cdcvs.fnal.gov/redmine/projects/uboonecode/repository/changes/uboone/LArCVImageMaker/run_SSNetHitProducer.fcl?rev=DL_br The fhicl parameter settings are:

SSNET: { module_type : "SSNetHitProducer" LArCVLocation : "ssnetout.root" PxThresholdLow : 0.5 PxThresholdHigh : 0.9 InHitProducer : "gaushit" PxType : 0 }

With LArCVLocation giving the exact path to the root file with the SSNet output associated to the input LArSoft file being run on. PxThresholdLow/High give the min score for pixels to be saved in two different hit producers. PxType = 0 denotes to use shower-like pixel-tags. InHitProducer specifies which hit producer to use.

Because the module needs an input root file running it on the grid is a bit tricky. The bash script and xml file below can be used as a reference.

"grabssnet.sh":https://github.com/davidc1/Documentation/blob/master/grabssnet.sh "grid_ssnet.xml":https://github.com/davidc1/Documentation/blob/master/grid_ssnet.xml

Clone this wiki locally