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

CountHist.h File Reference

#include <string>
#include "PhysicsNtuple/Handle.h"
#include "PhysicsNtuple/Hist1d.h"
#include "PhysicsNtuple/Particle.h"

Go to the source code of this file.

Namespaces

namespace  Anp

Classes

class  Anp::CountHist

Functions

bool operator== (const Anp::Handle< Anp::CountHist > &lhs, const Anp::Handle< Anp::CountHist > &rhs)


Function Documentation

bool Anp::operator== const Anp::Handle< Anp::CountHist > &  lhs,
const Anp::Handle< Anp::CountHist > &  rhs
 

Definition at line 185 of file CountHist.cxx.

References Anp::Handle< T >::valid().

00186 {
00187    if(!lhs.valid() || !rhs.valid())
00188    {
00189       return false;
00190    }
00191 
00192    if(lhs -> GetInteraction() != rhs -> GetInteraction())
00193    {
00194       return false;
00195    }
00196 
00197    if(lhs -> GetReson() != rhs -> GetReson())
00198    {
00199       return false;
00200    }
00201 
00202    if(lhs -> GetParticle() != rhs -> GetParticle())
00203    {
00204       return false;
00205    }   
00206    
00207    return true;
00208 }


Generated on Mon Feb 15 11:07:55 2010 for loon by  doxygen 1.3.9.1