Current version – wf2f2000 1.22

General

wf2f2000 is a simple program to convert from WIMP montecarlo files (wf files) to f2000 files. It can read both neutrino and muon wf files for annihilation in either the earth or the sun. It also includes the weights in the wf file and puts them into a user-defined block called eweight for each event. There is now also an option of not spreading the events in a volume and instead put them all at (0,0,0). For more info about recent changes, check the HISTORY file included with the distribution.

Example A

As an example, let's consider a muon wf file for WIMP annihilation in the Sun. The beginning of the wf file looks like

#WF 1.1
#Creator: WimpSimp 1.2   (version from March 18, 2003      )
#Parameters:  mneu=   250.00 where=su channel= 5 nevent=     100 wtype= 1
#Date:   3- 4-29
EVENT        1
mu      0.203587E+01 0.301042E+03 0.144722E+03 0.690978E-02
EE
EVENT        2
mu      0.254527E+01 0.524978E+02 0.471510E+02 0.212085E-01
EE
The corresponding f2k file after having run this file through wf2f2000 (no volume spreading) looks like 

V 2000.1.2
HI Creator: WimpSimp 1.2   (version from March 18, 2003      )
HI wf2f2000 (v 1.22    ) su1m.wf                                                
                          (version from April 29, 2003      )
!!  WimpSimp run parameters:
!!  Parameters:  mneu=   250.00 where=su channel= 5 nevent=     100 wtype= 1
!!  Date:   3- 4-29
!!
!!  wf2f2000 run parameters:
!! No detector geometry used. All events put at (0,0,0)
!  nuse=     1  nev_tot=       100
!  Date: April    29, 2003
!!
!!  USER line defined with the event weight from the WIMP MC
!!  the weight is relative to the distribution at 1 GeV.
USER_DEF  eweight  event_weight_from_wimp_mc
TBEGIN ? ? ?
EM 1 33 ? ? 0.000000000 0
TR 1 ? nu_mu 0 0 0 90 309.316 -1 0 0
TR 2 1 mu+ 0 0 0 88.9503 307.572 552.909 144.722 0
US  eweight 0.00690978
EE
EM 2 33 ? ? 0.000000000 0
TR 1 ? nu_mu 0 0 0 90 51.1013 -1 0 0
TR 2 1 mu+ 0 0 0 88.4508 53.121 191.132 47.151 0
US  eweight 0.0212085
EE

As you can see, an artifical neutrino (TR 1) is put in, pointing back to the Sun (so that we know where the Sun is). This is not done for the Earth, since we always know where the center of the Earth is. In this example, the Sun was assumed to always be at a zenith angle of 90 degrees.

Example B

As another example, consider again WIMP annihilation in the Sun, but now a neutrino wf-file:

#WF 1.1
#Creator: WimpSimp 1.2   (version from March 18, 2003      )
#Parameters:  mneu=   250.00 where=su channel= 5 nevent=     100 wtype= 1
#Date:   3- 4-29
EVENT        1
nu      0.000000E+00 0.787003E+02 0.180734E+03 0.553299E-02
EE
EVENT        2
nu      0.000000E+00 0.349157E+03 0.548414E+02 0.182344E-01
EE

The corresponding f2k-file would look like

V 2000.1.2
HI Creator: WimpSimp 1.2   (version from March 18, 2003      )
HI wf2f2000 (v 1.22    ) su1n.wf                                                
                          (version from April 29, 2003      )
!!  WimpSimp run parameters:
!!  Parameters:  mneu=   250.00 where=su channel= 5 nevent=     100 wtype= 1
!!  Date:   3- 4-29
!!
!!  wf2f2000 run parameters:
!! No detector geometry used. All events put at (0,0,0)
!  nuse=     1  nev_tot=       100
!  Date: April    29, 2003
!!
!!  USER line defined with the event weight from the WIMP MC
!!  the weight is relative to the distribution at 1 GeV.
USER_DEF  eweight  event_weight_from_wimp_mc
TBEGIN ? ? ?
EM 1 33 ? ? 0.000000000 0
TR 1 ? nu_mu 0 0 0 90 309.316 -1 180.734 0
US  eweight 0.00553299
EE
EM 2 33 ? ? 0.000000000 0
TR 1 ? nu_mu 0 0 0 90 51.1013 -1 54.8414 0
US  eweight 0.0182344
EE

i.e. now we only have the neutrino tracks. However, this time, the neutrino is not just an artifical neutrino pointing back to the Sun. It is a real neutrino (with the direction being that from the Sun) with an energy that can be processed further by other Amanda tools.

Download

Download wf2f2000 version 1.22.

Older versions – wf2f2000 1.21

If you need to read old wf-files (version 1.0 of the format), the last version of wf2f2000 that can do that is version 1.21 found below:

Download wf2f2000 version 1.21.

Up one level.

Joakim Edsjö, edsjo@fysik.su.se. This page was last updated 2003-06-12 .