herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
TTbarAnalysis.h
1 // -*- C++ -*-
2 //
3 // TTbarAnalysis.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef HERWIG_TTbarAnalysis_H
10 #define HERWIG_TTbarAnalysis_H
11 //
12 // This is the declaration of the TTbarAnalysis class.
13 //
14 
15 #include "ThePEG/Repository/CurrentGenerator.h"
16 #include "ThePEG/Handlers/AnalysisHandler.h"
17 #include "Herwig/Utilities/Histogram.h"
18 
19 namespace Herwig {
20 
21 using namespace ThePEG;
22 
35 
36 public:
37 
41  TTbarAnalysis();
42 
62  virtual void analyze(tEventPtr event, long ieve, int loop, int state);
64 
65 public:
66 
73  static void Init();
74 
75 protected:
76 
83  virtual IBPtr clone() const {return new_ptr(*this);}
84 
89  virtual IBPtr fullclone() const {return new_ptr(*this);}
91 
92 protected:
93 
100  virtual void dofinish();
101 
102 private:
103 
108  TTbarAnalysis & operator=(const TTbarAnalysis &) = delete;
109 
110 private:
115  Histogram _pttbar;
116  Histogram _ptpair;
117 
122  Histogram _ettbar;
123  Histogram _etpair;
124 
129  Histogram _etbar;
130  Histogram _epair;
131 
136  Histogram _raptbar;
137  Histogram _rappair;
138 
143  Histogram _phitbar;
144  Histogram _deltaphi;
145 
150 
155  Histogram _ptsum;
156 };
157 
158 }
159 
160 #endif /* HERWIG_TTbarAnalysis_H */
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: TTbarAnalysis.h:89
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Histogram _raptop
Rapidity of the tops.
The Histogram class is a simple histogram for the Analysis handlers.
Definition: Histogram.h:43
Histogram _phitop
Azimuth of the tops.
Histogram _mpair
Invariant mass of the pair.
Histogram _ettop
of the tops
Histogram _etop
Energy of the tops.
Histogram _etsum
scalar sums of Et, pt
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: TTbarAnalysis.h:83
Histogram _pttop
of the tops
ThePEG::Ptr< Event >::transient_pointer tEventPtr
-*- C++ -*-
The TTbarAnalysis class tries to find a top antitop pair in the final state and books a number of his...
Definition: TTbarAnalysis.h:34