Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

NueConvention.h File Reference

#include "TObject.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  NueConvention

Classes

struct  FilePosition

Functions

bool operator> (FilePosition one, FilePosition two)
bool operator< (FilePosition one, FilePosition two)
bool operator== (FilePosition one, FilePosition two)


Function Documentation

bool operator< FilePosition  one,
FilePosition  two
 

Definition at line 655 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00656 {
00657    bool result = false;
00658    if(one.Run < two.Run)  result = true;
00659    if(one.Run == two.Run && one.SubRun < two.SubRun) result = true;
00660    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl < two.Snarl) result = true;
00661    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00662         one.Event < two.Event) result = true;
00663 
00664 
00665    return result;
00666 }

bool operator== FilePosition  one,
FilePosition  two
 

Definition at line 668 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00669 {
00670    bool result = false;
00671    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00672               one.Event == two.Event) result = true;
00673 
00674    return result;
00675 }

bool operator> FilePosition  one,
FilePosition  two
 

Definition at line 641 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00642 {
00643    bool result = false;
00644    if(one.Run > two.Run)  result = true;
00645    if(one.Run == two.Run && one.SubRun > two.SubRun) result = true;
00646    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl > two.Snarl) result = true;
00647    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00648         one.Event > two.Event) result = true;
00649 
00650 
00651    return result;
00652 }


Generated on Mon Feb 9 22:55:21 2009 for loon by doxygen 1.3.5