// --- Standard library ---
-#include <stdio.h>
-
// --- AliRoot header files ---
#include "AliPHOSFastRecParticle.h"
#include "AliPHOSGeometry.h"
#include "AliPHOSGetter.h"
#include "AliRun.h"
#include "AliConst.h"
-#include "AliMC.h"
ClassImp(AliPHOSvFast)
else
test = rp.GetPdgCode() ;
- cout << " SHOULD NOT BE USED until values of probabilities are properly set " << endl ;
- assert(1==0) ; // NB: ALL VALUES SHOLD BE CHECKED !!!!
+ Info("MakeType", "SHOULD NOT BE USED until values of probabilities are properly set ") ;
+ assert(1==0) ; // NB: ALL VALUES SHOULD BE CHECKED !!!!
switch (test) {
case 22: // it's a photon // NB: ALL VALUES SHOLD BE CHECKED !!!!
{
// Only verifies if the particle reaches PHOS and stops the tracking
- Int_t primary = gAlice->GetPrimary( gAlice->CurrentTrack() );
-
TLorentzVector lv ;
gMC->TrackPosition(lv) ;
TVector3 pos = lv.Vect() ;
TParticle * part = new TParticle(gMC->TrackPid(), 0,-1,-1,-1,-1, pTrack, lv) ;
AliPHOSFastRecParticle rp(*part) ;
- rp.SetPrimary(primary) ;
// Adds the response of PHOS to the particle
MakeRecParticle(modid, pos, rp) ;