Homework tutorial 16
- Due 6 Nov 2020 by 23:59
- Points 5
- Submitting a text entry box, a website url, or a file upload
- Available 21 Oct 2020 at 0:00 - 7 Nov 2020 at 23:59
The compulsory submission should include three compilable macros:
- a macro called MyClasses.C that defines two classes MyEvent and MyTrack
- a macro called EG_v2_tree.C which has a function called void rootfunctiongenerate(Int_t nEvents, Int_t nTracks, Double_t sigmaTracks, Double_t v2, Double_t sigmaV2) . This function should produce a histogram ROOT tree output using the classes define in the first macro
- finally, a macro called Analyze_v2_tree.C that reads in the data from the TTree and calculates v2{2} using the standard method and writes the result to the standard output
For extra credit: The macro should also provide the result of the Q vector method.