X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=STEER%2FAliMCProcess.h;h=e227480346a92814a9935df9a8949d295892b18f;hp=7207f32b24a579e1864e8199f044072d73f11ac8;hb=981b4d38bb8499169c666fbaa7fc8608496c0f50;hpb=65fb704d5a3c40dcad260b5c6ceb87aaa8697172 diff --git a/STEER/AliMCProcess.h b/STEER/AliMCProcess.h index 7207f32b24a..e227480346a 100644 --- a/STEER/AliMCProcess.h +++ b/STEER/AliMCProcess.h @@ -1,104 +1,12 @@ -#ifndef ALIMCPROCESS_H -#define ALIMCPROCESS_H - +#ifndef ALI_MC_PROCESS__H +#define ALI_MC_PROCESS__H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ -/* $Id $ */ - -// -// List of MonteCarlo processes -// - -static const Int_t kMaxMCProcess = 33; - -enum AliMCProcess -{ - kPPrimary, // Primary interaction - - kPMultipleScattering, // multiple scattering - kPEnergyLoss, // continuous energy loss - kPMagneticFieldL, // bending in mag. field - kPDecay, // particle decay - kPPair, // photon pair production or - // muon direct pair production - kPCompton, // Compton scattering - kPPhotoelectric, // photoelectric effect - kPBrem, // bremsstrahlung - kPDeltaRay, // delta-ray production - kPAnnihilation, // positron annihilation - - kPHadronic, // hadronic interaction - kPEvaporation, // nuclear evaporation - kPNuclearFission, // nuclear fission - kPNuclearAbsorption, // nuclear absorption - kPPbarAnnihilation, // antiproton annihilation - kPNCapture, // neutron capture - kPHElastic, // hadronic elastic incoherent - // scattering - kPHInhelastic, // hadronic inelastic scattering - - kPMuonNuclear, // muon nuclear interaction - - kPTOFlimit, // exceeded time of flight cut - kPPhotoFission, // nuclear photofission - - kPRayleigh, // Rayleigh scattering - - kPNull, // no mechanism is active, usually at the entrance - // of a new volume - kPStop, // particle has fallen below energy threshold - // and tracking stops - - kPLightAbsorption, // Cerenkov photon absorption - kPLightScattering, // Cerenkov photon - // reflection/refraction - kStepMax, // step limited by STEMAX +/* $Id$ */ - kPCerenkov, // Cerenkov photon generation - kPFeedBackPhoton, //Feed back photon in RICH -- ALICE specific - kPLightReflection, // Cerenkov photon reflection - kPLightRefraction, // Cerenkov photon refraction - kPSynchrotron, // synchrotron radiation - // generation - kPNoProcess // unknown process -}; +#include "TMCProcess.h" -static const char * const AliMCProcessName[kMaxMCProcess] = { - "Primary particle emission", - "Multiple scattering", - "Energy loss", - "Bending in magnetic field", - "Decay", - "Lepton pair production", - "Compton scattering", - "Photoelectric effect", - "Bremstrahlung", - "Delta ray", - "Positron annihilation", - "Hadronic interaction", - "Nuclear evaporation", - "Nuclear fission", - "Nuclear absorbtion", - "Antiproton annihilation", - "Neutron capture", - "Hadronic elastic", - "Hadronic inelastic", - "Muon nuclear interaction", - "Time of flight limit", - "Nuclear photofission", - "Rayleigh effect", - "No active process", - "Energy threshold", - "Light absorption", - "Light scattering", - "Maximum allowed step", - "Cerenkov production", - "Cerenkov feed back photon", - "Cerenkov photon reflection", - "Cerenkov photon refraction", - "Synchrotron radiation" - "Unknown process" -}; +typedef TMCProcess AliMCProcess; -#endif //ALIMCPROCESS_H +#endif //ALI_MC_PROCESS__H