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) 1998 Caltech, UCSB 00010 // 00011 // Module: EvtId.cc 00012 // 00013 // Description: Class for particle Id used in EvtGen. 00014 // 00015 // Modification history: 00016 // 00017 // RYD May 26, 1998 Module created 00018 // 00019 //------------------------------------------------------------------------ 00020 // 00021 #include "EvtGenBase/EvtPatches.hh" 00022 00023 #include "EvtGenBase/EvtId.hh" 00024 #include <iostream> 00025 using std::ostream; 00026 00027 00028 ostream& operator<<(ostream& s, const EvtId& id){ 00029 00030 s<<"(Id="<<id._id<<" Alias="<<id._alias<<")"; 00031 00032 return s; 00033 00034 } 00035 00036 00037 00038