File indexing completed on 2026-08-06 09:24:26
0001
0002 #ifndef HERWIG_CKKWTree_H
0003 #define HERWIG_CKKWTree_H
0004
0005
0006
0007
0008 #include "Herwig/Shower/QTilde/Base/HardTree.h"
0009 #include "CKKWTree.fh"
0010
0011 namespace Herwig {
0012
0013 using namespace ThePEG;
0014
0015
0016
0017
0018 class CKKWTree: public HardTree {
0019
0020 public:
0021
0022
0023
0024
0025 CKKWTree(vector<HardBranchingPtr>, vector<HardBranchingPtr>, ShowerInteraction);
0026
0027 public:
0028
0029
0030
0031
0032 bool checkXOrdering();
0033
0034
0035
0036
0037 Energy lowestPtMomentum( int jetMeasureMode, int cutOption );
0038
0039
0040
0041
0042 bool checkHardOrdering();
0043
0044
0045
0046
0047 Energy totalPt() { return totalpT_; }
0048
0049
0050
0051
0052
0053 void findNodes();
0054
0055
0056
0057
0058 map< HardBranchingPtr, Energy > & getNodes() { return nodes_; }
0059
0060
0061
0062
0063 Energy lowestPt( int jetMeasureMode, Energy2 s );
0064
0065
0066
0067
0068 bool ordered() const {return ordered_;}
0069
0070 protected:
0071
0072
0073
0074
0075 void getLowestJetMeasure( HardBranchingPtr branch, int jetMeasureMode, int cutOption );
0076
0077
0078
0079
0080 Energy hadronJetMeasure( const Lorentz5Momentum & p1,
0081 const Lorentz5Momentum & p2,
0082 bool final );
0083
0084
0085
0086 Energy getJetMeasure( const Lorentz5Momentum & p1,
0087 const Lorentz5Momentum & p2,
0088 int jetMeasureMode );
0089
0090
0091
0092
0093 bool externalBranching( HardBranchingPtr a, HardBranchingPtr b );
0094
0095
0096
0097
0098 void fillHardScales( HardBranchingPtr branch, vector< pair< Energy, double > > & currentLine );
0099
0100
0101
0102
0103 bool fillNodes( HardBranchingPtr );
0104
0105
0106
0107
0108 bool fixParents( HardBranchingPtr );
0109
0110 private:
0111
0112
0113
0114
0115
0116 map< HardBranchingPtr, Energy > nodes_;
0117
0118
0119
0120
0121 vector< vector< pair< Energy, double > > > hardLineScales_;
0122
0123
0124
0125
0126
0127 Energy lowestpTMomentum_;
0128
0129
0130
0131
0132 Energy totalpT_;
0133
0134
0135
0136
0137
0138 HardBranchingPtr lowestpT_;
0139
0140
0141
0142
0143 bool ordered_;
0144
0145 };
0146
0147 }
0148
0149 #endif