1 |
#ifndef FlavorParticle_H
|
2 |
#define FlavorParticle_H
|
3 |
|
4 |
#include "Particle.h"
|
5 |
#include <iomanip>
|
6 |
#include <iostream>
|
7 |
#include <string>
|
8 |
#include <sstream>
|
9 |
|
10 |
/**
|
11 |
* @short particle with flavor/pdgId
|
12 |
* @author Thomas Peiffer
|
13 |
*/
|
14 |
|
15 |
class FlavorParticle : public Particle{
|
16 |
public:
|
17 |
FlavorParticle(){
|
18 |
m_pdgId=0;
|
19 |
};
|
20 |
~FlavorParticle(){
|
21 |
};
|
22 |
|
23 |
int pdgId() const{return m_pdgId;}
|
24 |
int flavor() const{return m_pdgId;}
|
25 |
|
26 |
void set_pdgId(int x){ m_pdgId=x;}
|
27 |
void set_flavor(int x){ m_pdgId=x;}
|
28 |
|
29 |
private:
|
30 |
int m_pdgId;
|
31 |
};
|
32 |
|
33 |
#endif
|