The source project of this merge request has been removed.
The stave and layer number from the dd4hep decoder is different with the one from lcio decoder. To keep it same with the lcio one, some hard-coded codes is used in previous. This MR moves the hard-coded codes to functions that can be commonly used.