#include #include "THBTprocessor.h" #include #include #include #ifndef WIN32 # define hbtprocessor hbtprocessor_ # define ctest ctest_ # define type_of_call #else # define hbtprocessor HBTPROCESSOR # define ctest CTEST # define type_of_call _stdcall #endif ClassImp(THBTprocessor) extern "C" void type_of_call hbtprocessor(); extern "C" void type_of_call ctest(); //Wrapper class to HBT processor fortran code. //For more information see AliGenHBTprocessor class //HBT processor is written by Lanny Ray //Wrapper class written by Piotr Krzysztof Skowronski (Piotr.Skowronski@cern.ch) // /*************************************************/ THBTprocessor::THBTprocessor()// it is better not to intialize it:TGenerator("THBTprocessor","THBTprocessor") //because it allocates memmory for TObjArray::fParticles which is not used in our case //and we are using TClonesArray in import paerticles { //constructor PARAMETERS.ALICE = 1; //flag that we are working in AliRoot (0==STAR stand alone mode) PARAMETERS.pi = TMath::Pi();//3.141592654; PARAMETERS.rad = 180.0/TMath::Pi(); PARAMETERS.hbc = 0.19732891; fParticles = 0; Initialize(); //Enforce initialization (cleaning all commons) } void THBTprocessor::GenerateEvent() { //Starts processing cout<