//////////////////////////////////////////////////////////////////////////
//                                                                      //
// ATLFast electron class                                               //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#include "ATLFElectron.h"
#include "ATLFast.h"
#include "ATLFVirtualDisplay.h"

ClassImp(ATLFElectron)


//_____________________________________________________________________________
 ATLFElectron::ATLFElectron(Int_t code, Int_t mcparticle, Int_t mother, Float_t eta, Float_t phi, Float_t pt)
{
   m_KFcode     = code;
   m_MCParticle = mcparticle;
   m_KFmother   = mother;
   m_Eta        = eta;
   m_Phi        = phi;
   m_PT         = pt;
}


//______________________________________________________________________________
 char *ATLFElectron::GetObjectInfo(Int_t, Int_t)
{
   static char info[64];
   sprintf(info,"eta=%f, phi=%f, pt=%f",m_Eta, m_Phi, m_PT);
   return info;
}

//_____________________________________________________________________________
 void ATLFElectron::Paint(Option_t *option)
{

   gATLFast->Display()->PaintFruit(this, m_Eta, m_Phi, m_PT, 3, option);
}

//______________________________________________________________________________
 void ATLFElectron::Sizeof3D() const
{
   gATLFast->Display()->SizeFruit();
}


ROOT page - Class index - Top of the page

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.