Code review

Hi!
I have to make a project to register pH, Dissolved Oxigen and temperature. I will use pH probe, DO prove from Atlas-Scientific and a DS18B20 sensor. I still don't have the sensors but I have wrote a code and I would like that someone tell me if it will work.
Thanks.

#include <OneWire.h>
#include <DallasTemperature.h>

OneWire ourWire(2);

DallasTemperature sensors(&ourWire);

String inputstringPH="";
String inputstringDO="";
String sensorstringPH="";
String sensorstringDO="";
boolean input_stringPH_complete=false;
boolean sensor_stringPH_complete=false;
boolean input_stringDO_complete=false;
boolean sensor_stringDO_complete=false;


void setup() {
 Serial.begin(9600);
 Serial3.begin(9600);
 Serial2.begin(9600);
 inputstringPH.reserve(10);
 sensorstringPH.reserve(30);
 inputstringDO.reserve(10);
 sensorstringDO.reserve(30);
 sensors.begin(); 
}

void serialEvent3(){
  sensorstringPH=Serial3.readStringUntil(13);
  sensor_stringPH_complete=true;
}

void serialEvent1(){
  sensorstringDO=Serial1.readStringUntil(13);
  sensor_stringDO_complete=true;
}

void loop() {
  //  TEMPERATURE////////////////////////////////////////////////
  sensors.requestTemperatures();

  //  PRINT/////////////////////////////////////////////////////
  Serial.print(sensors.getTempCByIndex(0));
  Serial.print("\t"); 
  Serial.println(sensorstringPH.toFloat());
  Serial.print("\t"); 
  Serial.println(sensorstringDO.toFloat());
  Serial.print("\n");

  delay(1000);
}

Does your code compile?
What's the usage of the serialEvent procedures?