herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
19namespace Herwig {
20
21using namespace ThePEG;
22
35
36public:
37
42
62 virtual void analyze(tEventPtr event, long ieve, int loop, int state);
64
65public:
66
73 static void Init();
74
75protected:
76
83 virtual IBPtr clone() const {return new_ptr(*this);}
84
89 virtual IBPtr fullclone() const {return new_ptr(*this);}
91
92protected:
93
100 virtual void dofinish();
101
102private:
103
109
110private:
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 */
The Histogram class is a simple histogram for the Analysis handlers.
Definition: Histogram.h:43
The TTbarAnalysis class tries to find a top antitop pair in the final state and books a number of his...
Definition: TTbarAnalysis.h:34
Histogram _etsum
scalar sums of Et, pt
TTbarAnalysis & operator=(const TTbarAnalysis &)=delete
The assignment operator is private and must never be called.
virtual void dofinish()
Finalize this object.
Histogram _raptop
Rapidity of the tops.
TTbarAnalysis()
The default constructor.
Histogram _etop
Energy of the tops.
Histogram _pttop
of the tops
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: TTbarAnalysis.h:89
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: TTbarAnalysis.h:83
Histogram _ettop
of the tops
static void Init()
The standard Init function used to initialize the interfaces.
Histogram _phitop
Azimuth of the tops.
Histogram _mpair
Invariant mass of the pair.
InitState state() const
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr