/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtModelAlias.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 2002      Caltech, LLNL
00010 //
00011 // Module: EvtGen/EvtModelAlias.hh
00012 //
00013 // Description:Class to keep track of model aliases 
00014 //             read in from the decay table
00015 //
00016 // Modification history:
00017 //
00018 //    Lange     January 19, 2002         Module created
00019 //
00020 //------------------------------------------------------------------------
00021 
00022 #ifndef EVTMODELALIAS_HH
00023 #define EVTMODELALIAS_HH
00024 
00025 #include <vector>
00026 #include <string>
00027 
00028 class EvtModelAlias{
00029 
00030 public:
00031 
00032   EvtModelAlias() {}; 
00033   EvtModelAlias(std::string alias, std::string model, std::vector<std::string> args); 
00034   ~EvtModelAlias() {};
00035   EvtModelAlias(const EvtModelAlias &copyMe);
00036   EvtModelAlias operator=(const EvtModelAlias &copyMe);
00037   bool matchAlias(const std::string &cand) {if (cand==_aliasName) return true; 
00038                                                           return false;}
00039   std::string getName() { return _model;} 
00040   std::vector<std::string> getArgList();
00041 private:
00042 
00043   std::string _aliasName;
00044   std::string _model;
00045   std::vector<std::string> _modelArgs;
00046 
00047 };
00048 #endif

Generated on Tue Nov 29 23:12:13 2016 for BOSS_7.0.2 by  doxygen 1.4.7