StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StChargedPionJetParticle.cxx
1 // $Id: StChargedPionJetParticle.cxx,v 1.4 2012/11/09 03:31:34 perev Exp $
2 
3 #include "StChargedPionJetParticle.h"
4 
6 
7 StChargedPionJetParticle::StChargedPionJetParticle() : LorentzVector< PtEtaPhiE4D<Double32_t> >() { /* no-op */ }
8 
9 StChargedPionJetParticle::~StChargedPionJetParticle() { /* no-op */ }
10 
11 double StChargedPionJetParticle::z(const TLorentzVector& jet) const {
12  return (X()*jet.X() + Y()*jet.Y() + Z()*jet.Z()) / ::pow(jet.P(),2);
13 }
14 
15 /*****************************************************************************
16  * $Log: StChargedPionJetParticle.cxx,v $
17  * Revision 1.4 2012/11/09 03:31:34 perev
18  * Cleanup
19  *
20  * Revision 1.3 2008/12/29 15:58:29 kocolosk
21  * removed commented code and added $Id: StChargedPionJetParticle.cxx,v 1.4 2012/11/09 03:31:34 perev Exp $/$Log: StChargedPionJetParticle.cxx,v $
22  * removed commented code and added $Id$/Revision 1.4 2012/11/09 03:31:34 perev
23  * removed commented code and added $Id$/Cleanup
24  * removed commented code and added $Id$/ as needed
25  *
26  *****************************************************************************/