Newer
Older
pp to ZX toy MC analyzer
cmsenv
git clone https://gitlab.cern.ch/psilva/zxtoymcanalyzer.git UserCode/ZXToyMCAnalyzer
scram b
```
Running the ntuplizer
Running over a single file
cmsRun test/runZXToyMCAnalyzer_cfg.py inputFile=edm_input.root outputFile=ntuple.root maxEvents=-1 beamXangle=120
Pedro Vieira De Castro Ferreira Da Silva
committed
Process all in sub-directories and copying it to an output directory (delegates to condor by default)
simDir=/eos/cms/store/cmst3/group/top/RunIIReReco/2017/vxsimulations_19May
sh test/processAll.sh /eos/cms/store/group/phys_pps/ppxz/version10 ${simDir}
Prepare a small ntuple for validation
python test/fillValidationNtuple.py ${x} ${simDir} &
Can be analyzed with the python notebook in swan