MINT2
Mint
DecayTree.h
Go to the documentation of this file.
1
#ifndef DECAYTREE_HH
2
#define DECAYTREE_HH
3
// author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4
// status: Mon 9 Feb 2009 19:18:03 GMT
5
6
#include <iostream>
7
8
#include "
Mint/DDTree.h
"
9
#include "
Mint/DecayTreeItem.h
"
10
#include "
Mint/MultiQuarkContent.h
"
11
12
/* Usage:
13
takes pdg_id's to make decay tree
14
15
DecayTree dt(421);
16
17
dt.addDgtr(313)->addDgtr(321, -211);
18
dt.addDgtr(-321, 211);
19
cout << dt << endl;
20
21
Prints:
22
23
D0
24
|-- K*(892)0
25
| |-- K+
26
| |-- pi-
27
|-- K-
28
|-- pi+
29
30
31
Todo: Allow adding names rather than only numbers.
32
33
*/
34
35
typedef
DDTree<DecayTreeItem>
DecayTree
;
36
37
void
anti
(
DecayTree
& dt);
38
//void ChargeCon(DecayTree& dt);
39
//void ParityCon(DecayTree& dt);
40
//void CPCon(DecayTree& dt);
41
std::string
uniqueName
(
const
DecayTree
& dt_in);
42
43
MultiQuarkContent
netQuarkContent
(
const
DecayTree
& dt_in);
44
#endif
45
//
anti
void anti(DecayTree &dt)
Definition:
DecayTree.cpp:16
DDTree.h
netQuarkContent
MultiQuarkContent netQuarkContent(const DecayTree &dt_in)
Definition:
DecayTree.cpp:33
DDTree< DecayTreeItem >
MultiQuarkContent
Definition:
MultiQuarkContent.h:25
DecayTree
DDTree< DecayTreeItem > DecayTree
Definition:
DecayTree.h:35
DecayTreeItem.h
MultiQuarkContent.h
uniqueName
std::string uniqueName(const DecayTree &dt_in)
Definition:
DecayTree.cpp:27
Generated by
1.8.15