BOSS
7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkDirection.cxx
Go to the documentation of this file.
1
// -----------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkDirection.cxx,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// This defines an output operator to write the strings "trkIn" and "trkOut"
6
// for the trkDirection enumeration values.
7
//
8
// Michael Kelsey <
[email protected]
>
9
//
10
// Copyright Information:
11
// Copyright (C) 1999 Princeton University
12
//
13
//------------------------------------------------------------------------
14
15
#include "
TrkBase/TrkDirection.h
"
16
#include <iostream>
17
using
std::ostream;
18
19
ostream&
operator<<
(ostream& os,
const
trkDirection
& dir) {
20
if
(dir==
trkIn
)
return
os <<
"trkIn"
;
21
if
(dir==
trkOut
)
return
os <<
"trkOut"
;
22
return
os << (int)dir;
23
}
operator<<
ostream & operator<<(ostream &os, const trkDirection &dir)
Definition:
TrkDirection.cxx:19
TrkDirection.h
trkDirection
trkDirection
Definition:
TrkDirection.h:23
trkOut
@ trkOut
Definition:
TrkDirection.h:23
trkIn
@ trkIn
Definition:
TrkDirection.h:23
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
src
TrkDirection.cxx
Generated by
1.9.6