Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

MissingMomentum.h

Go to the documentation of this file.
00001 // ================================================
00002 // MissingMomentum class description
00003 // ================================================
00004 //
00005 // Namespace Atlfast::
00006 //
00007 // class: MissingMomentum
00008 //
00009 // Description: 
00010 //
00011 //  Store things needed by a number of algorithms
00012 
00013 // ................................................................
00014 //
00015 
00016 #ifndef __ATLFAST_MissingMomentum__
00017 #define __ATLFAST_MissingMomentum__
00018 
00019 #include "GaudiKernel/DataObject.h"
00020 #include "AtlfastCode/HepMC_helper.h"
00021 static const CLID CLID_MissingMomentum = 2310;
00022 namespace Atlfast {
00023 
00024   class MissingMomentum : public DataObject {
00025   public:
00026     
00027     MissingMomentum(): DataObject(), m_vec(0., 0., 0., 0){}
00028     MissingMomentum(const HepLorentzVector& v): DataObject(), m_vec(v){}
00029     MissingMomentum(const MissingMomentum& m): DataObject(m), m_vec(m.m_vec){}
00030     static const CLID& classID() { return CLID_MissingMomentum;}
00031     virtual const CLID& clID() const { return classID();}
00032     virtual ~MissingMomentum(){}
00033 
00034     double px() const {return m_vec.x();}
00035     double py() const {return m_vec.y();}
00036     HepLorentzVector momentum()const {return m_vec;}
00037 
00038   private:
00039     HepLorentzVector m_vec;
00040   };
00041    
00042 }  //end of namespace bracket
00043 
00044 #endif
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 

Generated on Wed Jan 23 12:58:32 2002 for Atlfast by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001