Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 328 → Rev 329

/belle2/masterclass/js/belle2_def.js
17,7 → 17,7
.appendField("Set identity to")
.appendField(new Blockly.FieldDropdown([["electron", "ELECTRON"], ["muon", "MUON"], ["pion", "PION"], ["kaon", "KAON"],
["proton", "PROTON"], ["photon", "PHOTON"], ["Phi meson", "PHI"], ["D meson", "D"],
["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"]]), "simplepid");
["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"]]), "simplepid");
this.appendDummyInput()
.setAlign(Blockly.ALIGN_RIGHT)
.appendField("Min mass [GeV/c2] :")
/belle2/masterclass/src/BParticle.cc
33,6 → 33,7
case DSTAR: return 2.01;
case B: return 5.27;
case PHI: return 1.02;
case LAMBDA0: return 1.115683;
default: return 0;
}
 
/belle2/masterclass/src/BParticle.h
11,7 → 11,7
#include "TObject.h"
#include "TClonesArray.h"
 
enum SIMPLEPID {PHOTON, ELECTRON, PION, MUON, KAON, PROTON, JPSI, D, DSTAR, B, PHI, ALL };
enum SIMPLEPID {PHOTON, ELECTRON, PION, MUON, KAON, PROTON, JPSI, D, DSTAR, B, PHI, LAMBDA0, ALL };
 
class BParticle : public TObject {
 
/belle2/masterclass/src/Blab2.cc
35,7 → 35,7
 
class Blab2 {
public:
const char *names[11]={"photon", "electron", "pion", "muon", "kaon", "proton", "J/Psi", "D", "D*", "B", "Phi"};
const char *names[12]={"photon", "electron", "pion", "muon", "kaon", "proton", "J/Psi", "D", "D*", "B", "Phi","Lambda0"};
 
UInt_t fNeve;
UInt_t fNfirst;