-- SebastianKupny - 15 Oct 2012

When you use Kratta unpacker in debug mode 2 or higher (in macro Unpack4.C):

 KRATUnpack *KRATunpack= new KRATUnpack("KRATTA unpack",2);

and if you save output from macro Unpack4.C (or similar) in file:

> root -l Unpack4.C >> unpack4_output_kratta_debugLvl_2.txt 

then just use stream processing:

> cat unpack4_output_kratta_debugLvl_2.txt | grep SubEventLengt |awk 'BEGIN { FS = "=" } ; { print $2 }' | awk '{print $1 }' | |sed -e 's/\,/ /g' | sort | uniq  > kratta_size.txt
In file kratta_size.txt you will get possible Kratta subevents sizes in string order (no number!).
Topic revision: r1 - 2012-10-15, SebastianKupny
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)