herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
GammaGammaAnalysis.h
1// -*- C++ -*-
2//
3// GammaGammaAnalysis.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_GammaGammaAnalysis_H
10#define HERWIG_GammaGammaAnalysis_H
11//
12// This is the declaration of the GammaGammaAnalysis 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
33
34public:
35
40
60 virtual void analyze(tEventPtr event, long ieve, int loop, int state);
62
63public:
64
71 static void Init();
72
73protected:
74
81 virtual IBPtr clone() const {return new_ptr(*this);}
82
87 virtual IBPtr fullclone() const {return new_ptr(*this);}
89
90protected:
91
98 virtual void dofinish();
100
101private:
102
108
109private:
110
115
120
125
130
135
140
145
150
155
160
165
170
175};
176
177}
178
179#endif /* HERWIG_GammaGammaAnalysis_H */
GammaGammaAnalysis is for the analysis of events with a pair of hard photons produced.
GammaGammaAnalysis()
The default constructor.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Histogram _phisofter
Azimuth of the softer photon.
Histogram _rappair
Rapidity of the photon pair.
Histogram _ptharder
of the harder photon
GammaGammaAnalysis & operator=(const GammaGammaAnalysis &)=delete
The assignment operator is private and must never be called.
Histogram _Esofter
Energy of the softer photon.
Histogram _rapsofter
Rapidity of the softer photon.
Histogram _ptsofter
of the softer photon
Histogram _Epair
Energy of the photon pair.
virtual IBPtr clone() const
Make a simple clone of this object.
Histogram _Eharder
Energy of the harder photon.
Histogram _ptpair
of the photon pair
virtual void dofinish()
Finalize this object.
static void Init()
The standard Init function used to initialize the interfaces.
Histogram _rapharder
Rapidity of the harder photon.
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
Histogram _phiharder
Azimuth of the harder photon.
Histogram _deltaphi
Azimuth of the photon pair.
Histogram _mpair
Invariant mass of the pair.
The Histogram class is a simple histogram for the Analysis handlers.
Definition: Histogram.h:43
InitState state() const
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr