ROOT Interface to Hijing

1.7

hijing_logo.gif

Hijing Logo

Introduction.

This library supplies a TGenerator interface to Hijing

Please refer to the Online manual and Postscript file avaliable at LBL for a fuller description of HIJING. Also, you need the (Fortran77) source code for the library libHijing.so, also avaliable from the above site.

Any comments, questins, etc. on HIJING it self should go to: xnwang@lbl.gov. Questions, bugs, etc, on the ROOT class should be sent to me: cholm@nbi.dk

Example of use:

    Int_t nEvents = 10;
    gRandom                 = new TRanMar;
    THijing* hijing         = new THijing("hijing", "HIJING Simulation");
    TClonesArray* particles = new TClonesArray("TParticle");
    TFile*             file = new TFile("hijing.root","RECREATE");
    TTree*             tree = new TTree("T","A Hijing Tree");
    tree->Branch("particles",&particles);
    
    hijing->SetParameter("ihpr2",12,1);
    hijing->Initialize(200);
    
    Int_t i;
    for (i = 0; i < nEvents; i++) {
      cout << "Event # " << i << " ... " << flush;
      Int_t nPart = hijing->ImportParticles(particles);
      cout << "done (" << nPart << " particles) " << flush;
      tree->Fill();
    }
    
    file->Write();
    file->Close();

See also:
THijing, THijingFlow, runHijing, runFlow, drawHijing, analyseFlow
Top of page Last update Thu Jul 5 15:15:38 2007
Christian Holm
Created by DoxyGen 1.5.2