// $Id: hpairsimext.cc,v 1.2 2006-11-24 16:14:03 eberl Exp $
// Author: Thomas.Eberl@ph.tum.de, last modified : 2006-11-13 16:49:49
//
//
// ---------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
//                                                                           
// HPairSimExt                                                                 
// The only possible interface is HPidParticleSim
//                                                                           
///////////////////////////////////////////////////////////////////////////////
//
using namespace std;
// ---------------------------------------------------------------------------
#include <iostream>
// ---------------------------------------------------------------------------
#include <hades.h>
// ---------------------------------------------------------------------------
#include "hpairsimext.h"
// ---------------------------------------------------------------------------
ClassImp(HPairSimExt)
// ---------------------------------------------------------------------------
HPairSimExt::HPairSimExt() 
{
    reset();
}

// ---------------------------------------------------------------------------
HPairSimExt::HPairSimExt(HPidParticleSim *p1, HPidParticleSim *p2  ) 
{
    reset();

    itsParticle1  = * (p1);
    itsParticle2  = * (p2);

    calcPairProperties(p1,p2);
}

// ---------------------------------------------------------------------------
HPairSimExt::~HPairSimExt() 
{

}

// ---------------------------------------------------------------------------
HPairSimExt::HPairSimExt(const HPairSimExt& source) 
{

}

// ---------------------------------------------------------------------------
void HPairSimExt::print()
{
    HPair::print();
}


// ---------------------------------------------------------------------------
void HPairSimExt::reset(void) 
{

}

// ---------------------------------------------------------------------------
Char_t HPairSimExt::getCharge(void) const
{

    return (itsParticle1.getCharge() + itsParticle2.getCharge());
}
// ---------------------------------------------------------------------------
void HPairSimExt::Clear(Option_t *opt)
{
    itsParticle1.Clear();
    itsParticle2.Clear();
    
}



Last change: Sat May 22 13:06:21 2010
Last generated: 2010-05-22 13:06

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.