Subversion Repositories f9daq

Rev

Rev 330 | Rev 333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 330 Rev 332
Line 15... Line 15...
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
       .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"],
18
       .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"],
19
                                                  ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"],
19
                                                  ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"],
20
                                                  ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"]]), "simplepid");
20
                                                  ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"], ["do not set","ALL"]]), "simplepid");
21
    this.appendDummyInput()
21
    this.appendDummyInput()
22
        .setAlign(Blockly.ALIGN_RIGHT)
22
        .setAlign(Blockly.ALIGN_RIGHT)
23
        .appendField("Min mass [GeV/c2] :")
23
        .appendField("Min mass [GeV/c2] :")
24
        .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0");
24
        .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0");
25
    this.appendDummyInput()
25
    this.appendDummyInput()
Line 59... Line 59...
59
        .appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles");
59
        .appendField(new Blockly.FieldDropdown([["No", "0"], ["Yes", "1"]]), "sameparticles");
60
    this.appendDummyInput()
60
    this.appendDummyInput()
61
        .appendField("Set identity to")
61
        .appendField("Set identity to")
62
       .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"],
62
       .appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"],
63
                                                  ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"],
63
                                                  ["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"],
64
                                                  ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"]]), "simplepid");
64
                                                  ["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"], ["do not set","ALL"]]), "simplepid");
-
 
65
 
65
    this.appendDummyInput()
66
    this.appendDummyInput()
66
        .setAlign(Blockly.ALIGN_RIGHT)
67
        .setAlign(Blockly.ALIGN_RIGHT)
67
        .appendField("Min mass [GeV/c2] :")
68
        .appendField("Min mass [GeV/c2] :")
68
        .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0");
69
        .appendField(new Blockly.FieldNumber(0, 0, Infinity, 0.0001), "mass0");
69
    this.appendDummyInput()
70
    this.appendDummyInput()