Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | This page contains instructions for setting up and using a tool to parse text files and create ntuples containing the information in them. | |||||||
> > | This page contains instructions for setting up and using a tool to parse the text files produced by the PythiattH software and create flattuples containing the information in them. | |||||||
Changed: | ||||||||
< < | Set up the environment | |||||||
> > | Set up the environment - AFSIf you have a Glasgow AFS account you can set up the environment by sourcing the scriptv16g.sh in /afs/phas.gla.ac.uk/user/g/gkirby/public . This will then allow you to use the runFillFlatFromAscii command:
runFillFlatFromAscii teststeerFillFlatFromAscii.txt PythiaOutput.dat FlatFillATLAS.rootThe first argument is the steering file - this points to the VariableTree and TreeSpec files which identify the variables that the parser will read. It is important to ensure that the correct files are pointed to and that their contents are up to date, or the flat tuple will not be correctly filled. It is convenient to use different steering files to point to different "event" TreeSpec files (e.g. for different processes). The "global" file contains metadata relevant to downstream analysis.
The second argument is the output of the PythiattH code, i.e. a text file containing the relevant event output variables.
The last argument is the name of the flat tuple that will be created.
Important notes on running the parser
Set up the environment - CDF (obsolete) | |||||||
For initial setup: | ||||||||
Line: 141 to 162 | ||||||||
runFillFlatFromAscii teststeerFillFlatFromAscii.txt PythiaOutput_SIGNAL.dat testFlatFillATLAS_PythiaSIGNAL_2.root | ||||||||
Deleted: | ||||||||
< < | Misc. notes:
| |||||||
\ No newline at end of file | ||||||||
Added: | ||||||||
> > |