kp.calib.Calibration.apply(hits).floor does not return the floors
I am trying to get the number of the DOM floor and the DU for each hit, so that I can compare the number of hits in different floors. I use cal = kp.calib.Calibration() for this and then take c_hits=cal.apply(hits). But when I do c_hits.floor it only gives values of 1,2,3,9,10,11 and it also gives this exact same output for c_hits.du .
The file I'm using to extract the floors and DUs is /sps/km3net/users/sippens/tres/my_venv/lib/python3.7/site-packages/km3pipe/utils/tresje.py .
The code I'm using for the floors and DUs is in lines 206-212:
def get_floor(self, hits):
#c_hits = self.calib.apply(hits) #for real data
c_hits = self.dummy_calib.apply(hits) #for MC
return c_hits.floor
One of the MC files I am running this code on can be found here: /sps/km3net/users/sippens/tres/reco/run8432/mcv6_ORCA_test_rc_tts41.mupage_10G.sirene.jterbr00008432.jorcarec.aanet.2500.root
What’s going wrong/how I can get the floor and DU number for a hit? Thanks!