File indexing completed on 2025-05-12 09:05:01
0001
0002 #ifndef RIVET_CentralEtHCM_HH
0003 #define RIVET_CentralEtHCM_HH
0004
0005 #include "Rivet/Particle.hh"
0006 #include "Rivet/Event.hh"
0007 #include "Rivet/Projections/DISFinalState.hh"
0008
0009 namespace Rivet {
0010
0011
0012
0013
0014
0015
0016 class CentralEtHCM : public Projection {
0017 public:
0018
0019
0020
0021 CentralEtHCM(const DISFinalState& fs)
0022 {
0023 setName("CentralEtHCM");
0024 declare(fs, "FS");
0025 }
0026
0027
0028 RIVET_DEFAULT_PROJ_CLONE(CentralEtHCM);
0029
0030
0031 using Projection::operator =;
0032
0033
0034 protected:
0035
0036
0037 void project(const Event& e);
0038
0039
0040 CmpState compare(const Projection& p) const {
0041 return mkNamedPCmp(p, "FS");
0042 }
0043
0044
0045 public:
0046
0047
0048 double sumEt() const { return _sumet; }
0049
0050
0051 protected:
0052
0053
0054 double _sumet;
0055
0056 };
0057
0058 }
0059
0060
0061 #endif