CentralEtHCM.cc
Go to the documentation of this file.
00001 // -*- C++ -*- 00002 #include "Rivet/Rivet.hh" 00003 #include "Rivet/Projections/CentralEtHCM.hh" 00004 #include "Rivet/Cmp.hh" 00005 00006 namespace Rivet { 00007 00008 00009 void CentralEtHCM::project(const Event& e) { 00010 const DISFinalState& fs = applyProjection<DISFinalState>(e, "FS"); 00011 _sumet = 0.0; 00012 foreach (const Particle& p, fs.particles()) { 00013 /// @todo Generalise rapidity cut value 00014 if (fabs(p.momentum().rapidity()) < 0.5) _sumet += p.momentum().Et(); 00015 } 00016 } 00017 00018 00019 } Generated on Fri Dec 21 2012 15:03:40 for The Rivet MC analysis system by ![]() |