GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » Is there a fast way of histogramming RhoCandLists?
Re: Is there a fast way of histogramming RhoCandLists? [message #17250 is a reply to message #17245] Fri, 05 September 2014 22:36 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
There is even a faster way: The "QA Tools"

See how it is applied in macro/scrut/PndScrutAnaTask:
https://subversion.gsi.de/trac/fairroot/browser/pandaroot/trunk/macro/sc rut/PndScrutAnaTask.cxx

        RhoTuple* ntp1 = new RhoTuple("ntp1", "jpsi analysis");
        if (ntp1) ntp1->GetInternalTree()->SetDirectory(gDirectory);
        PndRhoTupleQA qa(fAnalysis,fIni.P());
...
               // dump information about composite candidate tree recursively (see PndTools/AnalysisTools/PndRhoTupleQA)
                qa.qaComp("j", jpsi[j], ntp1);


You'll get many ntuples which follow s sort of naming code. First your prefix, here "j", and at the end the observable in play, such as px, py, pz, p, e, .... In between you'll find "d0" for the first daughter in your composite. This cascades down, so e.g. the momentum of the second dughter of the first daughter is labelled with "jd0d1p".

See also https://subversion.gsi.de/trac/fairroot/browser/pandaroot/trunk/PndTools /AnalysisTools/PndRhoTupleQA.h for all the automated possibilities.

Cheers
Ralf
 
Read Message
Read Message
Read Message
Previous Topic: MC Truth match with PHOTOS photons
Next Topic: vertex fitting
Goto Forum:
  


Current Time: Tue Oct 15 15:09:50 CEST 2024

Total time taken to generate the page: 0.00657 seconds