BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/include/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 {
27public:
28 DecayMode( float bf, vector<PdtEntry*>* l );
29
30 virtual ~DecayMode();
31
32 float BF() const { return _branchingFraction; }
33 const vector<PdtEntry*>* childList() const { return _children; }
34
35 void printOn( std::ostream& os ) const;
36 bool operator==( const DecayMode& other ) { return this == &other; }
37
38protected:
40 vector<PdtEntry*>* _children; // list of child data
41};
42
43#endif
virtual ~DecayMode()
DecayMode(float bf, vector< PdtEntry * > *l)
void printOn(std::ostream &os) const