BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/DecayMode.h
Go to the documentation of this file.
1// -*- Mode: C++ -*-
2//
3// DecayMode.h - data class for a single decay mode of a particle
4//
5// Copyright (C) 1993 The Board of Trustees of The Leland Stanford
6//
7// History:
8// Migration for BESIII MDC
9// Junior University. All Rights Reserved.
10//
11// $Id: DecayMode.h,v 1.2 2009/12/23 02:59:56 zhangy Exp $
12//
13// See Also
14// AntiPdtEntry, PdtEntry, Pdt, PdtEntry
15
16#ifndef _DECAYMODE_H_
17#define _DECAYMODE_H_
18
19#include <iostream>
20#include <stdio.h>
21#include <vector>
22using std::vector;
23
24class PdtEntry;
25
26class DecayMode
27{
28public:
29 DecayMode(float bf, vector<PdtEntry*> *l );
30
31 virtual ~DecayMode();
32
33 float BF() const { return _branchingFraction; }
34 const vector<PdtEntry*> *childList() const { return _children; }
35
36 void printOn(std::ostream& os) const;
37 bool operator==(const DecayMode& other) { return this == &other; }
38
39protected:
41 vector<PdtEntry*> *_children; // list of child data
42};
43
44#endif
45
46
virtual ~DecayMode()