00001 // $Id: StChargedPionJetParticle.cxx,v 1.3 2008/12/29 15:58:29 kocolosk Exp $ 00002 00003 #include "StChargedPionJetParticle.h" 00004 00005 ClassImp(StChargedPionJetParticle) 00006 00007 StChargedPionJetParticle::StChargedPionJetParticle() : LorentzVector< PtEtaPhiE4D<Double32_t> >() { /* no-op */ } 00008 00009 StChargedPionJetParticle::~StChargedPionJetParticle() { /* no-op */ } 00010 00011 double StChargedPionJetParticle::z(const TLorentzVector& jet) const { 00012 return (X()*jet.X() + Y()*jet.Y() + Z()*jet.Z()) / ::pow(jet.P(),2); 00013 } 00014 00015 /***************************************************************************** 00016 * $Log: StChargedPionJetParticle.cxx,v $ 00017 * Revision 1.3 2008/12/29 15:58:29 kocolosk 00018 * removed commented code and added $Id$/$Log$ as needed 00019 * 00020 *****************************************************************************/
1.5.9