15,14 → 15,14 |
.appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles"); |
this.appendDummyInput() |
.appendField("New Particle") |
.appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], ["proton", "PROTON"], ["photon", "PHOTON"], ["Ks", "KS"], ["D", "D"], ["D*", "DSTAR"], ["J/Psi", "JPSI"]]), "simplepid"); |
.appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], ["proton", "PROTON"], ["photon", "PHOTON"], ["Psi", "PSI"], ["D", "D"], ["D*", "DSTAR"], ["J/Psi", "JPSI"]]), "simplepid"); |
this.appendDummyInput() |
.setAlign(Blockly.ALIGN_RIGHT) |
.appendField("Min mass [GeV] :") |
.appendField("Min mass [GeV/c2] :") |
.appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0"); |
this.appendDummyInput() |
.setAlign(Blockly.ALIGN_RIGHT) |
.appendField("Max mass [GeV] :") |
.appendField("Max mass [GeV/c2] :") |
.appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass1"); |
this.appendValueInput("histogram") |
.setCheck("histogram") |
47,7 → 47,7 |
.appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"]]), "chargelist"); |
this.appendDummyInput() |
.appendField("Type") |
.appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], ["proton", "PROTON"], ["photon", "PHOTON"], ["Ks", "KS"], ["D", "D"], ["D*", "DSTAR"], ["J/Psi", "JPSI"], ["all particles", "ALL"]]), "simplepid"); |
.appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], ["proton", "PROTON"], ["photon", "PHOTON"], ["D", "D"], ["D*", "DSTAR"], ["Phi", "PHI"],["J/Psi", "JPSI"], ["B", "B"], ["all particles", "ALL"]]), "simplepid"); |
this.appendValueInput("histogram") |
.setCheck("histogram") |
.appendField("Histogram"); |