BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayTag.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of models developed at BES collaboration
5
// based on the EvtGen framework. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/BesCopyright
9
// Copyright (A) 2006 Ping Rong-Gang @IHEP
10
//
11
// Module: EvtDecayTag.hh
12
//
13
// Description: Class to deal with the decay tag, e.g. the decay mode and multiplicity
14
//
15
// Modification history:
16
//
17
// Ping R.-G. December, 2011-Jan Module created
18
//
19
//------------------------------------------------------------------------
20
//
21
22
#ifndef EVTDECAYTAG_HH
23
#define EVTDECAYTAG_HH
24
25
26
#include <iostream>
27
#include <math.h>
28
#include <fstream>
29
#include <stdio.h>
30
#include <stdlib.h>
31
#include <vector>
32
// #include <sys/stat.h>
33
#include "
EvtGenBase/EvtParticle.hh
"
34
#include "
EvtGenBase/EvtId.hh
"
35
#include "
EvtGenBase/EvtPDL.hh
"
36
using
std::endl;
37
using
std::fstream;
38
39
class
EvtDecayTag
40
{
41
42
public
:
43
44
// constructor
45
EvtDecayTag
(
EvtParticle
*par){
46
root_par = par;
47
_nmode.clear();
48
_multiplicity.clear();
49
for
(
int
i=0;i<10;i++){_multiplicity.push_back(0);}
50
makeTag
(root_par);
51
}
52
53
//destructor
54
virtual
~EvtDecayTag
(){}
55
56
void
makeTag
(
EvtParticle
* par);
57
int
TagIndex
(
EvtId
pid);
58
int
getModeTag
();
59
int
getMultTag
();
60
int
getHdrdBase
(
int
index);
61
62
private
:
63
64
std::vector <int> _nmode,_multiplicity;
65
EvtParticle
*root_par;
66
};
67
68
#endif
69
EvtId.hh
EvtPDL.hh
EvtParticle.hh
EvtDecayTag
Definition:
EvtDecayTag.hh:40
EvtDecayTag::EvtDecayTag
EvtDecayTag(EvtParticle *par)
Definition:
EvtDecayTag.hh:45
EvtDecayTag::getMultTag
int getMultTag()
Definition:
EvtDecayTag.cc:136
EvtDecayTag::makeTag
void makeTag(EvtParticle *par)
Definition:
EvtDecayTag.cc:29
EvtDecayTag::getHdrdBase
int getHdrdBase(int index)
Definition:
EvtDecayTag.cc:153
EvtDecayTag::~EvtDecayTag
virtual ~EvtDecayTag()
Definition:
EvtDecayTag.hh:54
EvtDecayTag::getModeTag
int getModeTag()
Definition:
EvtDecayTag.cc:102
EvtDecayTag::TagIndex
int TagIndex(EvtId pid)
Definition:
EvtDecayTag.cc:76
EvtId
Definition:
EvtId.hh:27
EvtParticle
Definition:
EvtParticle.hh:42
source
Generator
BesEvtGen
BesEvtGen-00-03-58
src
EvtGen
EvtGenBase
EvtDecayTag.hh
Generated by
1.9.6