GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » Quick analysis tool
Quick analysis tool [message #17834] Mon, 02 February 2015 10:38
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *gsi.de
Hi all,


in case you have sometimes the need to take a quick analysis look to a physics channel and aren't afraid of black-boxes Wink I just checked in some tools to trunk/tutorials/analysis which e.g. reduces our standard analysis ppbar -> J/psi ( ->e+ e-) pi+ pi- to a one-liner

root 'quickana.C("jpsi2pi_fast.root","J/psi -> e+ e-; pbarpSystem -> J/psi pi+ pi-",0,"fit4c:fitvtx:mwin(J/psi)=0.8")'


which actually takes jpsi2pi_fast.root containing PndPidCandidates as input and creates an output file containing the analysis ntuples. When using Fast Sim it is even possible to just-in-time run the generator and fsim before the analysis is performed, so you only need a decay file instead of the input root file.

root 'quickfsimana.C("jpsi2pi","decfiles/pp_jpsi2pi.dec",6.23,"J/psi -> e+ e-; pbarpSystem -> J/psi pi+ pi-",1000,"pbarpSystem","fit4c:fitvtx:mwin(J/psi)=0.8")'

If you are interested take a look to tutorials/analysis and the README file in there.


Best and have fun,
Klaus
 
Read Message
Previous Topic: True vertex position for secondary decay vertices
Next Topic: Vertex fitter(s) and B field setting in pandaroot release.
Goto Forum:
  


Current Time: Thu Dec 13 16:21:59 CET 2018

Total time taken to generate the page: 0.02616 seconds