BOSS
8.0.0
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
#include <fstream>
26
#include <iostream>
27
#include <math.h>
28
#include <stdio.h>
29
#include <stdlib.h>
30
#include <vector>
31
// #include <sys/stat.h>
32
#include "
EvtId.hh
"
33
#include "
EvtPDL.hh
"
34
#include "
EvtParticle.hh
"
35
using
std::endl;
36
using
std::fstream;
37
38
class
EvtDecayTag
{
39
40
public
:
41
// constructor
42
EvtDecayTag
(
EvtParticle
* par ) {
43
root_par = par;
44
_nmode.clear();
45
_multiplicity.clear();
46
for
(
int
i = 0; i < 10; i++ ) { _multiplicity.push_back( 0 ); }
47
makeTag
( root_par );
48
}
49
50
// destructor
51
virtual
~EvtDecayTag
() {}
52
53
void
makeTag
(
EvtParticle
* par );
54
int
TagIndex
(
EvtId
pid );
55
int
getModeTag
();
56
int
getMultTag
();
57
int
getHdrdBase
(
int
index );
58
59
private
:
60
std::vector<int> _nmode, _multiplicity;
61
EvtParticle
* root_par;
62
};
63
64
#endif
EvtId.hh
EvtPDL.hh
EvtParticle.hh
EvtDecayTag::EvtDecayTag
EvtDecayTag(EvtParticle *par)
Definition
EvtDecayTag.hh:42
EvtDecayTag::getMultTag
int getMultTag()
Definition
EvtDecayTag.cc:153
EvtDecayTag::makeTag
void makeTag(EvtParticle *par)
Definition
EvtDecayTag.cc:28
EvtDecayTag::getHdrdBase
int getHdrdBase(int index)
Definition
EvtDecayTag.cc:172
EvtDecayTag::~EvtDecayTag
virtual ~EvtDecayTag()
Definition
EvtDecayTag.hh:51
EvtDecayTag::getModeTag
int getModeTag()
Definition
EvtDecayTag.cc:110
EvtDecayTag::TagIndex
int TagIndex(EvtId pid)
Definition
EvtDecayTag.cc:84
EvtId
Definition
EvtId.hh:27
EvtParticle
Definition
EvtParticle.hh:42
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtDecayTag.hh
Generated by
1.16.1