- a compiled wcsim
- the root that was used to compile wcsim
- Modify root6_30_local_wcsim12_2.sh with you path to your wcsim (the wcsim_bin_path variable) then source it
source setup/root6_30_local_wcsim12_2.sh- Compile the code
make- Define debug_config.txt as you need & execute wcimsroot_to_root
bin/new_wcsimroot_to_root debug_config.txtIt is due to the fact that the wcsim developpers changed WCSIMDIR to WCSIM_SOURCE_DIR in their this_wcsim.sh
In this case you have to modify the MakeFile of wcsimroot_to_root this way :
# BEFORE
# ------- WCSIM -------- #
WC_INC = $(WCSIMDIR)/include
WC_SRC= $(WCSIMDIR)/src
CXXFLAGS += -I$(WC_SRC) -I$(WC_INC)
# AFTER
# ------- WCSIM -------- #
WC_INC = $(WCSIM_SOURCE_DIR)/include
WC_SRC= $(WCSIM_SOURCE_DIR)/src
CXXFLAGS += -I$(WC_SRC) -I$(WC_INC) Then you should be able to run (after source setup/…)
maketo compile wcsimroot_to_root
Needs to be change to GetVtx(k)