Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 331 → Rev 332

/belle2/masterclass/data/dtokspipi.blab2
0,0 → 1,0
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="simple_analysis" id="85@MF|sl$ETg_wJC8|1q" x="-310" y="70"><field name="neve">10000000</field><field name="first">0</field><field name="datasource">2</field><field name="print">0</field><value name="list"><block type="particle_combiner3" id="Q_Rc=DU$T{7,K/Di!ee5"><field name="sameparticles">0</field><field name="simplepid">D</field><field name="mass0">0.5</field><field name="mass1">1.5</field><value name="list1"><block type="particle_combiner" id="JfOsf3ZCit#5EA3a[g2X"><field name="sameparticles">0</field><field name="simplepid">KAON</field><field name="mass0">0.49000000000000005</field><field name="mass1">0.5</field><value name="list1"><block type="particle_selector" id="!]nNARD-N*h25@S6japk"><field name="chargelist">1</field><field name="simplepid">PION</field></block></value><value name="list2"><block type="particle_selector" id="tV$f=Xb$(o+-p*l9}{]B"><field name="chargelist">-1</field><field name="simplepid">PION</field><statement name="histogram"><block type="histogram_creator" id=".IyJP_=7n%2R,gj0yPlh"><field name="name">pi</field><field name="nbins">40</field><field name="min">0</field><field name="max">0</field><field name="varname">GetMomentum</field></block></statement></block></value><statement name="histogram"><block type="histogram_creator" id="WiikwmXgr.9rzFCdzp|Q"><field name="name">Ks</field><field name="nbins">100</field><field name="min">0</field><field name="max">1</field><field name="varname">GetMass</field></block></statement></block></value><value name="list2"><block type="particle_selector" id="W4Xi,!zIh%y1}EMv*[Zu"><field name="chargelist">1</field><field name="simplepid">PION</field></block></value><value name="list3"><block type="particle_selector" id="B_Xvs5b8G2.@`@uKfiy5"><field name="chargelist">-1</field><field name="simplepid">PION</field></block></value><statement name="histogram"><block type="histogram_creator" id="1TMa/3L$D|@]1NA7_2tW"><field name="name">D</field><field name="nbins">100</field><field name="min">0.5</field><field name="max">1.5</field><field name="varname">GetMass</field></block></statement></block></value></block></xml>
/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"], ["Lambda 0","LAMBDA0"]]), "simplepid");
["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"], ["do not set","ALL"]]), "simplepid");
this.appendDummyInput()
.setAlign(Blockly.ALIGN_RIGHT)
.appendField("Min mass [GeV/c2] :")
61,7 → 61,8
.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"], ["Lambda 0","LAMBDA0"]]), "simplepid");
["D* meson", "DSTAR"], ["J/Psi meson", "JPSI"],["B meson","B"], ["Lambda 0","LAMBDA0"], ["do not set","ALL"]]), "simplepid");
 
this.appendDummyInput()
.setAlign(Blockly.ALIGN_RIGHT)
.appendField("Min mass [GeV/c2] :")
/belle2/masterclass/results.php
13,6 → 13,7
<li> <a href="index.php?decay=data/phi.blab2">phi</a>
<li> <a href="index.php?decay=data/dstar.blab2">Dstar</a>
<li> <a href="index.php?decay=data/bmeson.blab2">Bmeson</a>
<li> <a href="index.php?decay=data/dtokspipi.blab2">Decay of D meson to Ks and two pions</a>
</ul>
<h3>Usage statistics</h3>
<ul>
/belle2/masterclass/src/BParticle.cc
34,6 → 34,7
case B: return 5.27;
case PHI: return 1.02;
case LAMBDA0: return 1.115683;
case ALL: return -1;
default: return 0;
}
 
48,6 → 49,7
void BParticle::SetEnergyFromMass (float mass)
{
if (mass<0) return;
m_e = sqrt( mass * mass + m_px * m_px +m_py * m_py +m_pz * m_pz );
}