Merijn added some code for the October 2018 reconstruction
Created by: klundert
Modified RootTreeWriter. If switch is set to 1 in xml file, in updated version automatically the run dependent offsets are looked up in the database, and for these events the writing in the root file is skipped.