BOSS
7.1.0
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
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
EvtModelAlias
Definition:
EvtModelAlias.hh:28
EvtModelAlias::getArgList
std::vector< std::string > getArgList()
Definition:
EvtModelAlias.cc:64
EvtModelAlias::EvtModelAlias
EvtModelAlias()
Definition:
EvtModelAlias.hh:32
EvtModelAlias::getName
std::string getName()
Definition:
EvtModelAlias.hh:39
EvtModelAlias::matchAlias
bool matchAlias(const std::string &cand)
Definition:
EvtModelAlias.hh:37
EvtModelAlias::~EvtModelAlias
~EvtModelAlias()
Definition:
EvtModelAlias.hh:34
EvtModelAlias::operator=
EvtModelAlias operator=(const EvtModelAlias ©Me)
Definition:
EvtModelAlias.cc:52
source
Generator
BesEvtGen
BesEvtGen-00-04-26
src
EvtGen
EvtGenBase
EvtModelAlias.hh
Generated by
1.9.6