Subversion Repositories f9daq

Rev

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 2... Line 2...
2
// File : BParticle.cc
2
// File : BParticle.cc
3
// Description : Implementation of BTrack class //
3
// Description : Implementation of BTrack class //
4
// Description : Ryosuke Itoh, IPNS, KEK // Date : 28 - Jan - 2004
-
 
5
//-
4
//-
6
 
5
 
7
#include "BParticle.h"
6
#include "BParticle.h"
8
 
7
 
9
ClassImp (BParticle)
8
ClassImp (BParticle)
Line 22... Line 21...
22
 
21
 
23
float BParticle::GetMass(SIMPLEPID pid){
22
float BParticle::GetMass(SIMPLEPID pid){
24
 
23
 
25
switch (pid){
24
switch (pid){
26
        case PHOTON:   return 0;
25
        case PHOTON:   return 0;
27
    case ELECTRON: return 0.51;
26
        case ELECTRON: return 0.51;
28
        case PION:     return 0.139;
27
        case PION:     return 0.139;
29
        case MUON:         return 0.105;
28
        case MUON:     return 0.105;
30
        case KAON:     return 0.497;
29
        case KAON:     return 0.497;
31
        case PROTON:   return 0.938;
30
        case PROTON:   return 0.938;
32
    case JPSI:     return 3.1;
31
        case JPSI:     return 3.1;
33
        case D:        return 1.86;
32
        case D:        return 1.86;
34
        case DSTAR:    return 2.01;
33
        case DSTAR:    return 2.01;
35
        case B:        return 5.27;
34
        case B:        return 5.27;
36
        default: return 0;
35
        default: return 0;
37
}      
36
}