Rev 319 | Rev 329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 319 | Rev 321 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | this.appendDummyInput() |
13 | this.appendDummyInput() |
14 | .appendField("Same particle lists?") |
14 | .appendField("Same particle lists?") |
15 | .appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles"); |
15 | .appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles"); |
16 | this.appendDummyInput() |
16 | this.appendDummyInput() |
17 | .appendField("Set identity to") |
17 | .appendField("Set identity to") |
18 |
|
18 | .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], |
- | 19 | ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"], |
|
- | 20 | ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"]]), "simplepid"); |
|
19 | this.appendDummyInput() |
21 | this.appendDummyInput() |
20 | .setAlign(Blockly.ALIGN_RIGHT) |
22 | .setAlign(Blockly.ALIGN_RIGHT) |
21 | .appendField("Min mass [GeV/c2] :") |
23 | .appendField("Min mass [GeV/c2] :") |
22 | .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0"); |
24 | .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0"); |
23 | this.appendDummyInput() |
25 | this.appendDummyInput() |
Line 46... | Line 48... | ||
46 | this.appendDummyInput() |
48 | this.appendDummyInput() |
47 | .appendField("Charge") |
49 | .appendField("Charge") |
48 | .appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"], ["Any", "2"]]), "chargelist"); |
50 | .appendField(new Blockly.FieldDropdown([["-1", "-1"], ["0", "0"], ["1", "1"], ["Any", "2"]]), "chargelist"); |
49 | this.appendDummyInput() |
51 | this.appendDummyInput() |
50 | .appendField("Type") |
52 | .appendField("Type") |
51 |
|
53 | .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"], |
- | 54 | ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"], |
|
- | 55 | ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"],["all particles","ALL"]]), "simplepid"); |
|
52 | //this.appendValueInput("histogram").setCheck("histogram").appendField("Histogram"); |
56 | //this.appendValueInput("histogram").setCheck("histogram").appendField("Histogram"); |
53 | this.appendDummyInput().appendField("Histograms"); |
57 | this.appendDummyInput().appendField("Histograms"); |
54 | this.appendStatementInput("histogram") |
58 | this.appendStatementInput("histogram") |
55 | .setCheck("histogram"); |
59 | .setCheck("histogram"); |
56 | this.setInputsInline(false); |
60 | this.setInputsInline(false); |