Line data Source code
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.cc
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 : #include "EvtGenBase/EvtPatches.hh"
22 :
23 : #include "EvtGenBase/EvtModelAlias.hh"
24 :
25 : EvtModelAlias::EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args):
26 :
27 0 : _aliasName(alias)
28 0 : ,_model(model)
29 0 : ,_modelArgs(args)
30 :
31 :
32 0 : {
33 0 : }
34 :
35 : EvtModelAlias::EvtModelAlias(const EvtModelAlias ©Me) :
36 :
37 0 : _aliasName(copyMe._aliasName)
38 0 : ,_model(copyMe._model)
39 0 : ,_modelArgs(copyMe._modelArgs)
40 :
41 0 : {
42 :
43 0 : }
44 :
45 : EvtModelAlias EvtModelAlias::operator=(const EvtModelAlias ©Me) {
46 :
47 0 : _aliasName=copyMe._aliasName;
48 0 : _model=copyMe._model;
49 0 : _modelArgs = copyMe._modelArgs;
50 :
51 0 : return *this;
52 : }
53 :
54 : std::vector<std::string> EvtModelAlias::getArgList() {
55 :
56 0 : return _modelArgs;
57 : }
|