Page MenuHomeHEPForge

No OneTemporary

diff --git a/include/Rivet/Projections/FinalPartons.hh b/include/Rivet/Projections/FinalPartons.hh
--- a/include/Rivet/Projections/FinalPartons.hh
+++ b/include/Rivet/Projections/FinalPartons.hh
@@ -1,25 +1,36 @@
// -*- C++ -*-
#ifndef RIVET_FinalPartons_HH
#define RIVET_FinalPartons_HH
#include "Rivet/Projections/FinalState.hh"
namespace Rivet {
- class FinalPartons : public FinalState {
- public:
- FinalPartons(Cut c=Cuts::open()) : FinalState(c) { }
- const Projection* clone() const {
- return new FinalPartons(*this);
- }
+ class FinalPartons : public FinalState {
+ public:
- void project(const Event& e);
+ /// Constructor
+ FinalPartons(const Cut& c=Cuts::open())
+ : FinalState(c) { }
- protected:
- bool accept(const Particle& p) const;
- };
+ /// Clone method
+ const Projection* clone() const {
+ return new FinalPartons(*this);
+ }
+
+ /// Do the calculation
+ void project(const Event& e);
+
+
+ protected:
+
+ /// Cut-applying method overload
+ bool accept(const Particle& p) const;
+
+ };
+
}
#endif

File Metadata

Mime Type
text/x-diff
Expires
Tue, Jan 21, 1:56 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4235567
Default Alt Text
(1 KB)

Event Timeline