]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGen/EvtGenBase/EvtModelAlias.cpp
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtModelAlias.cpp
CommitLineData
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.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
25EvtModelAlias::EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args):
26
27 _aliasName(alias)
28 ,_model(model)
29 ,_modelArgs(args)
30
31
32{
33}
34
35EvtModelAlias::EvtModelAlias(const EvtModelAlias &copyMe) :
36
37 _aliasName(copyMe._aliasName)
38 ,_model(copyMe._model)
39 ,_modelArgs(copyMe._modelArgs)
40
41{
42
43}
44
45EvtModelAlias EvtModelAlias::operator=(const EvtModelAlias &copyMe) {
46
47 _aliasName=copyMe._aliasName;
48 _model=copyMe._model;
49 _modelArgs = copyMe._modelArgs;
50
51 return *this;
52}
53
54std::vector<std::string> EvtModelAlias::getArgList() {
55
56 return _modelArgs;
57}