Setup the Mu2e offline environment, buid STNTUPLE libraries, then run:
mu2e -c Stntuple/test/eminus_gun_stnmaker.fcl -n 100
In case of success, the job should produce a STNTUPLE file named nts._USER_eminus_gun_stnmaker.xxx.000001.stn.
nts.user.eminus_gun_stnmaker.xxx.000001.stn is a ROOT file, and it can be opened via TFile::Open or 'new TFile'. One can click on fNTracks and plot the distribution for the number of reconstructed tracks:
root.exe
root [0] .L stnana.C
root [1] stnana("file","nts.user.eminus_gun_stnmaker.xxx.000001.stn","","","val_stn(11,28)/save=eminus_gun_stnmaker.hist",100)
root [2] new TBrowser
Comment: if you intend to run the Mu2e Offline EventDisplay, edit Stntuple/test/eminus_gun_stnmaker.fcl and uncomment writing out the output DST file.
Next: learn more about stnana