Subject | : Question about PhotonList |
Article No | : 1112 |
Date | : 2013/09/05(Thu) 22:25:35 |
Contributor | : Zhe Duan |
Hello, When I turned PHOTONS on in the FFS level, I expected following a TrackParticles function, PhotonList will contain the information of synchrotron radiation photons, as suggested by the user guide. But the PhotonList I get is an empty list.
Can anyone give me an right example? Many thanks! The following is my script, and my SAD is Ver.1.0.10.5.5a43.
Zhe
MOMENTUM= 1 GEV; ON ECHO;OFF CTIME; ; DRIFT L1 = (L = 1) ; BEND B = (L = 2) ; QUAD QF = (L = 1 K1 = 0.1 ) QD = (L = 1 K1 = -0.1 ) QSF = (L = 1 K1 = 0.1 ) QSD = (L = 1 K1 = -0.1 ) QRF = (L = 1 K1 = 0.1 ) QRD = (L = 1 K1 = -0.1 ) ; SEXT SF =(L = 1 K2 = 0.1) SD =(L = 1 K2 = -0.1) ; MARK IP1 =(BETAX = 10 BETAY =10 EMIX = 4.0E-7 EMIY = 4.0E-7 DP = 0.01 ) ; CAVI CA1 = (L = 1 VOLT=1 MV HARM=100) ;
; LINE CELL = (IP1 QF L1 SF L1 B 3*L1 QD L1 SD L1 B 3*L1) ; FFS USE=CELL; cell;calc; PHOTONS;
b={{0.0001},{0},{0},{0},{0},{0.0},{1}}; TrackParticles[{1,b},3,1,2]; Print[PhotonList]; abort
|