<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getAllData(self, temp = True, accel = True, gyro = True):
 """! Get all the available data. @param temp: True - Allow to return Temperature data @param accel: True - Allow to return Accelerometer data @param gyro: True - Allow to return Gyroscope data @return a dictionary data @retval {} Did not read any data @retval {"temp":32.3,"accel":{"x":0.45634,"y":0.2124,"z":1.334},"gyro":{"x":0.45634,"y":0.2124,"z":1.334}} Returned all data """

        allData = {}
        if temp:
            allData["temp"] = self.getTemp()

        if accel:
            allData["accel"] = self.getAccelData( raw = False )

        if gyro:
            allData["gyro"] = self.getGyroData()

        return allData