rivet is hosted by Hepforge, IPPP Durham
CentralEtHCM.cc
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #include "Rivet/Projections/CentralEtHCM.hh"
00003 
00004 namespace Rivet {
00005 
00006 
00007   void CentralEtHCM::project(const Event& e) {
00008     const DISFinalState& fs = applyProjection<DISFinalState>(e, "FS");
00009     _sumet = 0.0;
00010     foreach (const Particle& p, fs.particles()) {
00011       /// @todo Generalise rapidity cut value
00012       if (fabs(p.rapidity()) < 0.5) _sumet += p.Et();
00013     }
00014   }
00015 
00016 
00017 }