Skip to content

Commit

Permalink
update readme for writerchain
Browse files Browse the repository at this point in the history
  • Loading branch information
dglazier committed Oct 25, 2022
1 parent 12d56b7 commit 2819f10
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,13 +367,11 @@ As a more complete example you can check testSelector in RunRoot which implement
The clas12writer class allows you to write out specific events to a new hipo file. The idea behind this is to avoid repeating the same event selection everytime you want to access information about a specific set of events. The writer is assigned a clas12reader from which it gets the event information, and is initialised with the desired location for the outputted hipo file. You can also choose not to write out certain banks to speed the process up.
You can insepct the code [$CLAS12ROOT/RunRoot/Ex5_CLAS12Writer.C](https://github.com/jeffersonlab/clas12root/blob/master/RunRoot/Ex1_CLAS12Writer.C) for more guidance on how to use it.
You can insepct the code [$CLAS12ROOT/RunRoot/Ex5_CLAS12WriterChain.C](https://github.com/jeffersonlab/clas12root/blob/master/RunRoot/Ex5_CLAS12WriterChain.C) for more guidance on how to use it.
To run:
clas12root $CLAS12ROOT/RunRoot/Ex5_CLAS12Writer.C+
Note the use of the + sign after the macro name. This compiles the script meaning it will run much faster. The script will then ask you for the locations of an input hipo file and an output file. The script is similar to Ex1_CLAS12Writer.C so you can compare the two.
clas12root $CLAS12ROOT/RunRoot/Ex5_CLAS12WriterChain.C
### Writing using HipoChainWriter
Expand Down

0 comments on commit 2819f10

Please sign in to comment.