00001 #ifndef TRKDIRECTION_H 00002 #define TRKDIRECTION_H 00003 // ----------------------------------------------------------------------- 00004 // File and Version Information: 00005 // $Id: TrkDirection.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $ 00006 // 00007 // These enums define standard values for directions along a track. 00008 // Out is defined as the direction of increasing flight length, physically 00009 // the direction of energy loss. In is define by decreasing flight length 00010 // and energy gain. 00011 // 00012 // Dave Brown, LBL 00013 // 00014 // Copyright Information: 00015 // Copyright (C) 1997 Lawrence Berkeley Laboratory 00016 // 00017 // Revision History: 00018 // 19991228 M. Kelsey -- Add output operator for symbolic writing. 00019 //------------------------------------------------------------------------ 00020 00021 #include <iosfwd> 00022 00023 enum trkDirection { trkOut=0, trkIn }; 00024 00025 // Output operator to print "names" instead of numbers 00026 00027 std::ostream& operator<<(std::ostream& os, const trkDirection& dir); 00028 00029 #endif