GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Strange behaviour of CINT
Re: Strange behaviour of CINT [message #11882 is a reply to message #11881] Wed, 25 May 2011 15:57 Go to previous messageGo to previous message
Garzia Isabella is currently offline  Garzia Isabella
Messages: 11
Registered: January 2009
occasional visitor
From: *fe.infn.it
Hi Simone,

if you compile with

.L test.C+

you will be able to see possible errors in your code.
To solve your problem you need to include the following libraries:

#include "TROOT.h"
#include <iostream>

void testtest(Int_t nEv){

gROOT->Macro("$VMCWORKDIR/gconfig/rootlogon.C");

for (Int_t j = 0 ; j < nEv ; j++)
{
cout << "j: " << j << " - nEv: " << nEv << endl;
}

}

I hope this help you,

Isabella.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TPC geometry fixed
Next Topic: Vertex smearing in FairPrimaryGenerator
Goto Forum:
  


Current Time: Wed Jun 19 07:20:34 CEST 2024

Total time taken to generate the page: 0.00812 seconds