5,11 → 5,11 |
this.appendValueInput("list1") |
.setCheck("particle list") |
.setAlign(Blockly.ALIGN_RIGHT) |
.appendField("1. Particle"); |
.appendField("Particle 1"); |
this.appendValueInput("list2") |
.setCheck("particle list") |
.setAlign(Blockly.ALIGN_RIGHT) |
.appendField("2. Particle"); |
.appendField("Particle 2"); |
this.appendDummyInput() |
.appendField("Same particle lists?") |
.appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles"); |
30,8 → 30,8 |
this.setInputsInline(false); |
this.setOutput(true, "particle list"); |
this.setColour(120); |
this.setTooltip('Combine two particles in the new particle by making combinations between particles in two input lists'); |
this.setHelpUrl('http://www.example.com/'); |
this.setTooltip('Combine two particles in the new particle by making combinations between particles in two input lists. If the input connector is empty, the full particle list will be used'); |
this.setHelpUrl('http://belle.jp/'); |
} |
}; |
|
41,7 → 41,7 |
.appendField("Select Particles"); |
this.appendValueInput("list1") |
.setCheck("particle list") |
.appendField("Particles"); |
.appendField("Particle"); |
this.appendDummyInput() |
.appendField("Charge") |
.appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"], ["Any", "2"]]), "chargelist"); |
54,8 → 54,8 |
this.setInputsInline(false); |
this.setOutput(true, "particle list"); |
this.setColour(65); |
this.setTooltip('Create a new list of particles based on the original particle list or any input particle list'); |
this.setHelpUrl('http://www.example.com/'); |
this.setTooltip('Create a new list of particles based on the input particle list. If the input is empty, all the particles in the event are used.'); |
this.setHelpUrl('http://belle.jp/'); |
} |
}; |
|
86,7 → 86,7 |
this.setOutput(true, "histogram"); |
this.setColour(20); |
this.setTooltip('This block handles the histogram creation and filling. Define a number of bins, minimum and maximum of the range and assign a variable to plot'); |
this.setHelpUrl('http://www.example.com/'); |
this.setHelpUrl('http://belle2.jp/'); |
} |
}; |
|
111,7 → 111,7 |
.appendField("Particle List"); |
this.setColour(230); |
this.setTooltip('Run the analysis, specify data source, number of events, first event and a list of particles to process.'); |
this.setHelpUrl('http://www.example.com/'); |
this.setHelpUrl('http://belle2.jp/'); |
} |
}; |
|
125,7 → 125,7 |
this.setOutput(true, "particle list"); |
this.setColour(150); |
this.setTooltip(''); |
this.setHelpUrl('http://www.example.com/'); |
this.setHelpUrl('http://belle2.jp/'); |
} |
}; |
|
140,6 → 140,6 |
this.setOutput(true, "particle list"); |
this.setColour(180); |
this.setTooltip('Create a list of primary particles, if not used, the primary particles are used in the empty particle list connectors'); |
this.setHelpUrl('http://www.example.com/'); |
this.setHelpUrl('http://belle2.jp/'); |
} |
}; |