|
|
|||
File indexing completed on 2026-08-06 09:23:57
0001 // -*- C++ -*- 0002 // 0003 // HiggsJetAnalysis.h is a part of Herwig - A multi-purpose Monte Carlo event generator 0004 // Copyright (C) 2002-2019 The Herwig Collaboration 0005 // 0006 // Herwig is licenced under version 3 of the GPL, see COPYING for details. 0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 0008 // 0009 #ifndef HERWIG_HiggsJetAnalysis_H 0010 #define HERWIG_HiggsJetAnalysis_H 0011 // 0012 // This is the declaration of the HiggsJetAnalysis class. 0013 // 0014 0015 #include "ThePEG/Repository/CurrentGenerator.h" 0016 #include "ThePEG/Handlers/AnalysisHandler.h" 0017 #include "Herwig/Utilities/Histogram.h" 0018 0019 namespace Herwig { 0020 0021 using namespace ThePEG; 0022 0023 /** \ingroup Analysis 0024 * HiggsJetAnalysis assumes that there is one Higgs in the final state 0025 * and books some observables computed from its four momentum. It 0026 * shouldn't do anything in case there is no Higgs in the event. 0027 * 0028 * @see \ref HiggsJetAnalysisInterfaces "The interfaces" 0029 * defined for HiggsJetAnalysis. 0030 */ 0031 class HiggsJetAnalysis: public AnalysisHandler { 0032 0033 public: 0034 0035 /** @name Standard constructors and destructors. */ 0036 //@{ 0037 /** 0038 * The default constructor. 0039 */ 0040 HiggsJetAnalysis(); 0041 //@} 0042 0043 public: 0044 0045 /** @name Virtual functions required by the AnalysisHandler class. */ 0046 //@{ 0047 /** 0048 * Analyze a given Event. Note that a fully generated event 0049 * may be presented several times, if it has been manipulated in 0050 * between. The default version of this function will call transform 0051 * to make a lorentz transformation of the whole event, then extract 0052 * all final state particles and call analyze(tPVector) of this 0053 * analysis object and those of all associated analysis objects. The 0054 * default version will not, however, do anything on events which 0055 * have not been fully generated, or have been manipulated in any 0056 * way. 0057 * @param event pointer to the Event to be analyzed. 0058 * @param ieve the event number. 0059 * @param loop the number of times this event has been presented. 0060 * If negative the event is now fully generated. 0061 * @param state a number different from zero if the event has been 0062 * manipulated in some way since it was last presented. 0063 */ 0064 virtual void analyze(tEventPtr event, long ieve, int loop, int state); 0065 //@} 0066 0067 public: 0068 0069 /** 0070 * The standard Init function used to initialize the interfaces. 0071 * Called exactly once for each class by the class description system 0072 * before the main function starts or 0073 * when this class is dynamically loaded. 0074 */ 0075 static void Init(); 0076 0077 protected: 0078 0079 /** @name Clone Methods. */ 0080 //@{ 0081 /** 0082 * Make a simple clone of this object. 0083 * @return a pointer to the new object. 0084 */ 0085 virtual IBPtr clone() const {return new_ptr(*this);} 0086 0087 /** Make a clone of this object, possibly modifying the cloned object 0088 * to make it sane. 0089 * @return a pointer to the new object. 0090 */ 0091 virtual IBPtr fullclone() const {return new_ptr(*this);} 0092 //@} 0093 0094 protected: 0095 0096 /** @name Standard Interfaced functions. */ 0097 //@{ 0098 /** 0099 * Finalize this object. Called in the run phase just after a 0100 * run has ended. Used eg. to write out statistics. 0101 */ 0102 virtual void dofinish(); 0103 0104 private: 0105 0106 /** 0107 * The assignment operator is private and must never be called. 0108 * In fact, it should not even be implemented. 0109 */ 0110 HiggsJetAnalysis & operator=(const HiggsJetAnalysis &) = delete; 0111 0112 private: 0113 /** 0114 * \f$p_T\f$ of the h boson 0115 */ 0116 Histogram _pth; 0117 Histogram _pthZoom; 0118 0119 /** 0120 * Rapidity of h 0121 */ 0122 Histogram _raph; 0123 0124 /** 0125 * Azimuth of h 0126 */ 0127 Histogram _phih; 0128 0129 }; 0130 0131 } 0132 0133 #endif /* HERWIG_HiggsJetAnalysis_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|