public int GetRawBuffer(UInt32[] data, UInt32 event_count, UInt32 timeout, UInt32 PacketSize, ref UInt32 valid_word) { if (ConnectedAsic == t_AsicModels.PETIROC) { return(PetirocClass.GetRawBuffer(data, event_count, timeout, PacketSize, ref valid_word)); } if (ConnectedAsic == t_AsicModels.CITIROC) { return(CitirocClass.GetRawBuffer(data, event_count, timeout, PacketSize, ref valid_word)); } return(-1); }