GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Fast Simulations » question about tagging events
Re: question about tagging events [message #17222 is a reply to message #17221] Fri, 29 August 2014 17:03 Go to previous messageGo to previous message
Elisabetta Prencipe (2) is currently offline  Elisabetta Prencipe (2)
Messages: 214
Registered: February 2013
first-grade participant
From: *hsi17.unitymediagroup.de
Hi Alexandros,

if I understood well your question, you are looking for something like in /tutorial/rho/tut_ana.C

for (j=0;j<jpsi.GetLength();++j)
{
if (theAnalysis->McTruthMatch(jpsi[j]))
{
hjpsim_reco->Fill( jpsi[j]->M() );
hjpsim_true->Fill( jpsi[j]->GetMcTruth()->M();
}
}

Here the example is related to the J/psi mass, reconstructed through pi+ pi-. jpsi = name of the combined list pi+ + pi-. hjpsim_reco and hjpsim_true are 2 histograms.
Is this what you asked?

[...there are never stupid questions Smile )

cheers, Elisabetta
 
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Problem with mass constraint fit for two gamma
Next Topic: One technical problem for vertex or 4c fitter in the analysis task
Goto Forum:
  


Current Time: Fri Mar 29 09:15:41 CET 2024

Total time taken to generate the page: 0.00969 seconds