1 //--------------------------------------------------------------------------
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.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 2002 Caltech, LLNL
11 // Module: EvtGen/EvtModelAlias.hh
13 // Description:Class to keep track of model aliases
14 // read in from the decay table
16 // Modification history:
18 // Lange January 19, 2002 Module created
20 //------------------------------------------------------------------------
22 #ifndef EVTMODELALIAS_HH
23 #define EVTMODELALIAS_HH
33 EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args);
35 EvtModelAlias(const EvtModelAlias ©Me);
36 EvtModelAlias operator=(const EvtModelAlias ©Me);
37 bool matchAlias(const std::string &cand) {if (cand==_aliasName) return true;
39 std::string getName() { return _model;}
40 std::vector<std::string> getArgList();
43 std::string _aliasName;
45 std::vector<std::string> _modelArgs;