CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtModelAlias.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 2002 Caltech, LLNL
10//
11// Module: EvtGen/EvtModelAlias.hh
12//
13// Description:Class to keep track of model aliases
14// read in from the decay table
15//
16// Modification history:
17//
18// Lange January 19, 2002 Module created
19//
20//------------------------------------------------------------------------
21
22#ifndef EVTMODELALIAS_HH
23#define EVTMODELALIAS_HH
24
25#include <vector>
26#include <string>
27
29
30public:
31
33 EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args);
35 EvtModelAlias(const EvtModelAlias &copyMe);
37 bool matchAlias(const std::string &cand) {if (cand==_aliasName) return true;
38 return false;}
39 std::string getName() { return _model;}
40 std::vector<std::string> getArgList();
41private:
42
43 std::string _aliasName;
44 std::string _model;
45 std::vector<std::string> _modelArgs;
46
47};
48#endif
std::vector< std::string > getArgList()
std::string getName()
bool matchAlias(const std::string &cand)
EvtModelAlias operator=(const EvtModelAlias &copyMe)