GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » getting run_rutherford to calculate eta parameter [SOLVED]
getting run_rutherford to calculate eta parameter [SOLVED] [message #14210] Wed, 14 November 2012 21:18 Go to previous message
Raphael Cervantes is currently offline  Raphael Cervantes
Messages: 34
Registered: September 2012
Location: Stony Brook University
continuous participant
From: *physics.sunysb.edu
Hi all,
I would like to request help in modifying fairroot to give me information about eta=-log(tan(theta/2)), which is a very common parameter for understanding detector physics. Moreover, I think it should calculate eta by default, in the same way that it calculates phi and theta by default.

To give more background:
The way fairbase is in the repository, if you do
root fairroot/examples/rutherford/macros/run_rutherford.C
the output is contained in fairroot/examples/rutherford/macros/data/test.mc.root.

If I open the root file
root data/test.mc.root
TBrowser j
Then you will see the attached image. I would like to modify fairroot to include information about eta as one of the leaves of FairRutherfordPoint. Can someone tell me how to do that? Would I need to make changes to FairRutherfordPoint? FairMCPoint? etc...

I hope I'm making myself clear. All help is greatly appreciated Smile
-Raphael

[Updated on: Thu, 15 November 2012 16:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: abxolute scaling of the geometry files[SOLVED]?
Next Topic: Particle identification parameter for FairRutherfordPoint
Goto Forum:
  


Current Time: Wed Oct 09 12:08:02 CEST 2024

Total time taken to generate the page: 0.00812 seconds