Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8725581
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jan 21, 1:56 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4235567
Default Alt Text
(1 KB)
Attached To
rRIVETHG rivethg
Event Timeline
Log In to Comment