]>
Commit | Line | Data |
---|---|---|
da0e9ce3 | 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 | ||
28 | class EvtModelAlias{ | |
29 | ||
30 | public: | |
31 | ||
32 | EvtModelAlias() {}; | |
33 | EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args); | |
34 | ~EvtModelAlias() {}; | |
35 | EvtModelAlias(const EvtModelAlias ©Me); | |
36 | EvtModelAlias operator=(const EvtModelAlias ©Me); | |
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(); | |
41 | private: | |
42 | ||
43 | std::string _aliasName; | |
44 | std::string _model; | |
45 | std::vector<std::string> _modelArgs; | |
46 | ||
47 | }; | |
48 | #endif |