herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Analysis
LEPBMultiplicity.h
1
// -*- C++ -*-
2
//
3
// LEPBMultiplicity.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_LEPBMultiplicity_H
10
#define HERWIG_LEPBMultiplicity_H
11
//
12
// This is the declaration of the LEPBMultiplicity class.
13
//
14
15
#include "ThePEG/Handlers/AnalysisHandler.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
21
25
struct
BranchingInfo
{
31
BranchingInfo
(
double
mult=0.,
double
error=0.);
32
36
double
obsBranching
;
37
41
double
obsError
;
42
46
long
actualCount
;
47
51
double
sumofsquares
;
52
58
double
simBranching(
long
N,
BranchingInfo
den=
BranchingInfo
());
59
65
double
simError(
long
N,
BranchingInfo
den=
BranchingInfo
());
66
72
double
nSigma(
long
N,
BranchingInfo
den=
BranchingInfo
());
73
79
string
bargraph(
long
N,
BranchingInfo
den=
BranchingInfo
());
80
};
81
90
class
LEPBMultiplicity
:
public
AnalysisHandler
{
91
92
public
:
93
97
LEPBMultiplicity
();
98
99
public
:
100
120
virtual
void
analyze(
tEventPtr
event,
long
ieve,
int
loop,
int
state);
122
123
public
:
124
131
static
void
Init();
132
133
protected
:
134
141
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
142
147
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
149
150
protected
:
151
158
virtual
void
dofinish();
160
161
private
:
162
167
LEPBMultiplicity
& operator=(
const
LEPBMultiplicity
&) =
delete
;
168
169
private
:
170
174
map<long,BranchingInfo>
_data
;
175
};
176
177
}
178
179
#endif
/* HERWIG_LEPBMultiplicity_H */
Herwig::BranchingInfo::obsBranching
double obsBranching
The observed multiplicity.
Definition:
LEPBMultiplicity.h:36
Herwig::LEPBMultiplicity
The LEPBBMultiplicity class is designed to compare the production rates of , , and B-baryons in B ev...
Definition:
LEPBMultiplicity.h:90
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
ThePEG::AnalysisHandler
Herwig::LEPBMultiplicity::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
LEPBMultiplicity.h:147
Herwig::LEPBMultiplicity::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
LEPBMultiplicity.h:141
Herwig::BranchingInfo
Struct for the multiplcity data.
Definition:
LEPBMultiplicity.h:25
ThePEG::tEventPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr
Herwig::BranchingInfo::actualCount
long actualCount
Number of particles of this type.
Definition:
LEPBMultiplicity.h:46
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::BranchingInfo::sumofsquares
double sumofsquares
Sum of squares of number per event for error.
Definition:
LEPBMultiplicity.h:51
Herwig::BranchingInfo::obsError
double obsError
The error on the observed multiplicity.
Definition:
LEPBMultiplicity.h:41
Herwig::LEPBMultiplicity::_data
map< long, BranchingInfo > _data
Map of PDG codes to multiplicity info.
Definition:
LEPBMultiplicity.h:174
Generated on Sat Apr 11 2020 14:50:30 for Herwig by
1.8.13