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

TruthReco.h File Reference

#include "Rtypes.h"

Go to the source code of this file.

Namespaces

namespace  Anp

Classes

class  Anp::TruthReco

Functions

bool operator== (const Event &event, const TruthReco &truth)
bool operator== (const TruthReco &truth, const Event &event)
bool operator== (const Track &track, const TruthReco &truth)
bool operator== (const TruthReco &truth, const Track &track)
bool operator== (const RecoNu &event, const TruthReco &truth)
bool operator== (const TruthReco &truth, const RecoNu &event)
bool operator== (const Shower &shower, const TruthReco &truth)
bool operator== (const TruthReco &truth, const Shower &shower)


Function Documentation

bool Anp::operator== const TruthReco &  truth,
const Shower &  shower
 

Definition at line 111 of file TruthReco.cxx.

References Anp::TruthReco::IsShower(), Anp::TruthReco::RecoIndex(), and Anp::Shower::ShowerIndex().

00112 {  
00113    return (truth.IsShower() && truth.RecoIndex() == shower.ShowerIndex());
00114 }

bool Anp::operator== const Shower &  shower,
const TruthReco &  truth
 

Definition at line 107 of file TruthReco.cxx.

References Anp::TruthReco::IsShower(), Anp::TruthReco::RecoIndex(), and Anp::Shower::ShowerIndex().

00108 {   
00109    return (truth.IsShower() && truth.RecoIndex() == shower.ShowerIndex());
00110 }   

bool Anp::operator== const TruthReco &  truth,
const RecoNu &  event
 

Definition at line 87 of file TruthReco.cxx.

References Anp::RecoNu::Index(), Anp::TruthReco::IsEvent(), and Anp::TruthReco::RecoIndex().

00088 { 
00089    return (truth.IsEvent() && truth.RecoIndex() == event.Index());
00090 }

bool Anp::operator== const RecoNu &  event,
const TruthReco &  truth
 

Definition at line 91 of file TruthReco.cxx.

References Anp::RecoNu::Index(), Anp::TruthReco::IsEvent(), and Anp::TruthReco::RecoIndex().

00092 { 
00093    return (truth.IsEvent() && truth.RecoIndex() == event.Index());
00094 }

bool Anp::operator== const TruthReco &  truth,
const Track &  track
 

Definition at line 101 of file TruthReco.cxx.

References Anp::TruthReco::IsTrack(), Anp::TruthReco::RecoIndex(), and Anp::Track::TrackIndex().

00102 {  
00103    return (truth.IsTrack() && truth.RecoIndex() == track.TrackIndex());
00104 }

bool Anp::operator== const Track &  track,
const TruthReco &  truth
 

Definition at line 97 of file TruthReco.cxx.

References Anp::TruthReco::IsTrack(), Anp::TruthReco::RecoIndex(), and Anp::Track::TrackIndex().

00098 {   
00099    return (truth.IsTrack() && truth.RecoIndex() == track.TrackIndex());
00100 }   

bool Anp::operator== const TruthReco &  truth,
const Event event
 

Definition at line 77 of file TruthReco.cxx.

References Anp::Event::EventIndex(), Anp::TruthReco::IsEvent(), and Anp::TruthReco::RecoIndex().

00078 { 
00079    return (truth.IsEvent() && truth.RecoIndex() == event.EventIndex());
00080 }

bool Anp::operator== const Event event,
const TruthReco &  truth
 

Definition at line 81 of file TruthReco.cxx.

References Anp::Event::EventIndex(), Anp::TruthReco::IsEvent(), and Anp::TruthReco::RecoIndex().

00082 { 
00083    return (truth.IsEvent() && truth.RecoIndex() == event.EventIndex());
00084 }


Generated on Mon Feb 15 11:08:14 2010 for loon by  doxygen 1.3.9.1