herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SimpleLHCAnalysis.h
1// -*- C++ -*-
2//
3// SimpleLHCAnalysis.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_SimpleLHCAnalysis_H
10#define HERWIG_SimpleLHCAnalysis_H
11//
12// This is the declaration of the SimpleLHCAnalysis 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
34
35public:
36
41
61 virtual void analyze(tEventPtr event, long ieve, int loop, int state);
63
64public:
65
72 static void Init();
73
74protected:
75
82 virtual IBPtr clone() const {return new_ptr(*this);}
83
88 virtual IBPtr fullclone() const {return new_ptr(*this);}
90
91protected:
92
99 virtual void dofinish();
101
102private:
103
109
110private:
111
115 vector<Histogram> _ptZ;
116
120 vector<Histogram> _ptWp;
121
125 vector<Histogram> _ptWm;
126
131
136
141
146
151
156
161
166
171
172};
173
174}
175
176#endif /* HERWIG_SimpleLHCAnalysis_H */
The Histogram class is a simple histogram for the Analysis handlers.
Definition: Histogram.h:43
The SimpleLHCAnalysis class is designed to perform some simple analysis of gauge boson,...
Histogram _rapWm
Rapidity of boson.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Histogram _phiZ
Azimuth of Z.
virtual void dofinish()
Finalize this object.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< Histogram > _ptWp
of the boson
SimpleLHCAnalysis()
The default constructor.
Histogram _mWm
Mass of the boson.
SimpleLHCAnalysis & operator=(const SimpleLHCAnalysis &)=delete
The assignment operator is private and must never be called.
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
Histogram _mZ
Mass of the Z boson.
Histogram _rapZ
Rapidity of Z.
Histogram _phiWm
Azimuth of boson.
Histogram _rapWp
Rapidity of boson.
vector< Histogram > _ptZ
of the Z boson
Histogram _phiWp
Azimuth of boson.
Histogram _mWp
Mass of the boson.
vector< Histogram > _ptWm
of the boson
static void Init()
The standard Init function used to initialize the interfaces.
InitState state() const
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr