Rev 193 | Rev 267 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 193 | Rev 266 | ||
|---|---|---|---|
| Line 42... | Line 42... | ||
| 42 | this.appendDummyInput() |
42 | this.appendDummyInput() |
| 43 | .appendField("Charge") |
43 | .appendField("Charge") |
| 44 | .appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"]]), "chargelist"); |
44 | .appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"]]), "chargelist"); |
| 45 | this.appendDummyInput() |
45 | this.appendDummyInput() |
| 46 | .appendField("Type") |
46 | .appendField("Type") |
| 47 | .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"); |
47 | .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"); |
| 48 | this.appendValueInput("histogram") |
48 | this.appendValueInput("histogram") |
| 49 | .setCheck("histogram") |
49 | .setCheck("histogram") |
| 50 | .appendField("Histogram"); |
50 | .appendField("Histogram"); |
| 51 | this.setInputsInline(false); |
51 | this.setInputsInline(false); |
| 52 | this.setOutput(true, "particle list"); |
52 | this.setOutput(true, "particle list"); |