// src directory =/home/dke/Documents/project/nexus//src/au/gov/ansto/bragg/nexus/auto/
package au.gov.ansto.bragg.nexus.auto;
import neutron.nexus.*;
import au.gov.ansto.bragg.nexus.base.*;

//  Generated from XML template(http://svn.nexusformat.org/definitions/trunk/base_classes/NXevent_data.xml)
/** 
URL:     http://www.nexus.anl.gov/classes/xml/NXevent_data.xml
Editor:  NIAC
$Id$

Template of NXevent_data

 */

 public class NXevent_data
 extends NXgroup_ {


/** Property string for bean property 'time_of_flight' */
final static public String $time_of_flight = "time_of_flight";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {A list of time of flight for each event as it comes in. This list is for all pulses with information to attach to a particular pulse located in events_per_pulse.}? */
private Time_of_flight time_of_flight_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {A list of time of flight for each event as it comes in. This list is for all pulses with information to attach to a particular pulse located in events_per_pulse.}? */
public Time_of_flight getTime_of_flight(){
 return time_of_flight_;
}
public void setTime_of_flight(final Time_of_flight time_of_flight){
 time_of_flight_ = time_of_flight;
}

/** Property string for bean property 'pixel_number' */
final static public String $pixel_number = "pixel_number";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {There will be extra information in the NXdetector to convert pixel_number to detector_number. This list is for all pulses with information to attach to a particular pulse located in events_per_pulse.}? */
private Pixel_number pixel_number_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {There will be extra information in the NXdetector to convert pixel_number to detector_number. This list is for all pulses with information to attach to a particular pulse located in events_per_pulse.}? */
public Pixel_number getPixel_number(){
 return pixel_number_;
}
public void setPixel_number(final Pixel_number pixel_number){
 pixel_number_ = pixel_number;
}

/** Property string for bean property 'pulse_time' */
final static public String $pulse_time = "pulse_time";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {The time that each pulse started with respect to the offset}? */
private Pulse_time pulse_time_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {The time that each pulse started with respect to the offset}? */
public Pulse_time getPulse_time(){
 return pulse_time_;
}
public void setPulse_time(final Pulse_time pulse_time){
 pulse_time_ = pulse_time;
}

/** Property string for bean property 'events_per_pulse' */
final static public String $events_per_pulse = "events_per_pulse";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {This connects the index "i" to the index "j". The jth element is the number of events in "i" that occured during the jth pulse.}? */
private Events_per_pulse events_per_pulse_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {This connects the index "i" to the index "j". The jth element is the number of events in "i" that occured during the jth pulse.}? */
public Events_per_pulse getEvents_per_pulse(){
 return events_per_pulse_;
}
public void setEvents_per_pulse(final Events_per_pulse events_per_pulse){
 events_per_pulse_ = events_per_pulse;
}

/** Property string for bean property 'pulse_height' */
final static public String $pulse_height = "pulse_height";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {If voltages from the ends of the detector are read out this is where they go. This list is for all events with information to attach to a particular pulse height. The information to attach to a particular pulse is located in events_per_pulse.}? */
private Pulse_height pulse_height_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {If voltages from the ends of the detector are read out this is where they go. This list is for all events with information to attach to a particular pulse height. The information to attach to a particular pulse is located in events_per_pulse.}? */
public Pulse_height getPulse_height(){
 return pulse_height_;
}
public void setPulse_height(final Pulse_height pulse_height){
 pulse_height_ = pulse_height;
}


/** constructor */
public NXevent_data(){
 super();
}



static public class Time_of_flight
 extends NXdataItem_ {



/** constructor */
public Time_of_flight(){
 super();
}


/** constructor */
public Time_of_flight(Object content){
 super(content);
}

}


static public class Pixel_number
 extends NXdataItem_ {



/** constructor */
public Pixel_number(){
 super();
}


/** constructor */
public Pixel_number(Object content){
 super(content);
}

}


static public class Pulse_time
 extends NXdataItem_ {


/** Property string for bean property 'offset' */
final static public String $offset = "offset";

// indexed = false
// required = false
private String offset_;
public String getOffset(){
 return offset_;
}
public void setOffset(final String offset){
 offset_ = offset;
}


/** constructor */
public Pulse_time(){
 super();
}


/** constructor */
public Pulse_time(Object content){
 super(content);
}

}


static public class Events_per_pulse
 extends NXdataItem_ {



/** constructor */
public Events_per_pulse(){
 super();
}


/** constructor */
public Events_per_pulse(Object content){
 super(content);
}

}


static public class Pulse_height
 extends NXdataItem_ {



/** constructor */
public Pulse_height(){
 super();
}


/** constructor */
public Pulse_height(Object content){
 super(content);
}

}
}
