thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
JetPairRegion.h
1// -*- C++ -*-
2//
3// JetPairRegion.h is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
5// Copyright (C) 2009-2019 Simon Platzer
6//
7// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
8// Please respect the MCnet academic guidelines, see GUIDELINES for details.
9//
10#ifndef ThePEG_JetPairRegion_H
11#define ThePEG_JetPairRegion_H
12//
13// This is the declaration of the JetPairRegion class.
14//
15
16#include "ThePEG/Cuts/JetRegion.h"
17
18namespace ThePEG {
19
30
31public:
32
37
38public:
39
44
49
53 Energy massMin() const { return theMassMin; }
54
58 Energy massMax() const { return theMassMax; }
59
63 double deltaRMin() const { return theDeltaRMin; }
64
68 double deltaRMax() const { return theDeltaRMax; }
69
73 double deltaYMin() const { return theDeltaYMin; }
74
78 double deltaYMax() const { return theDeltaYMax; }
79
83 double cutWeight() const { return theCutWeight; }
84
85public:
86
90 virtual void describe() const;
91
95 virtual bool matches(tcCutsPtr parent);
96
97public:
98
106
112 void persistentInput(PersistentIStream & is, int version);
114
121 static void Init();
122
123protected:
124
131 virtual IBPtr clone() const;
132
137 virtual IBPtr fullclone() const;
139
140
141// If needed, insert declarations of virtual function defined in the
142// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
143
144
145private:
146
151
156
161
166
171
176
181
186
191
196
202
203};
204
205}
206
207#endif /* ThePEG_JetPairRegion_H */
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
Definition: HandlerBase.h:151
JetPairRegion implements constraints on jets matching two jet regions.
Definition: JetPairRegion.h:29
Ptr< JetRegion >::tptr secondRegion() const
Return the second jet region to act on.
Definition: JetPairRegion.h:48
double theDeltaRMax
The maximum jet-jet lego-plot separation.
Ptr< JetRegion >::ptr theSecondRegion
The second jet region to act on.
virtual void describe() const
Describe the currently active cuts in the log file.
static void Init()
The standard Init function used to initialize the interfaces.
Energy theMassMin
The minimum jet-jet invariant mass.
double deltaYMax() const
Return the maximum jet-jet rapidity separation.
Definition: JetPairRegion.h:78
Energy massMax() const
Return the maximum jet-jet invariant mass.
Definition: JetPairRegion.h:58
double theDeltaYMin
The minimum jet-jet rapidity separation.
Energy massMin() const
Return the minimum jet-jet invariant mass.
Definition: JetPairRegion.h:53
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
double cutWeight() const
Return the cut weight encountered from the last call to matches()
Definition: JetPairRegion.h:83
double deltaYMin() const
Return the minimum jet-jet rapidity separation.
Definition: JetPairRegion.h:73
double deltaRMin() const
Return the minimum jet-jet lego-plot separation.
Definition: JetPairRegion.h:63
JetPairRegion & operator=(const JetPairRegion &)=delete
The assignment operator is private and must never be called.
double theDeltaRMin
The minimum jet-jet lego-plot separation.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Ptr< JetRegion >::ptr theFirstRegion
The first jet region to act on.
Energy theMassMax
The maximum jet-jet invariant mass.
virtual bool matches(tcCutsPtr parent)
Return true, if the requirements on the jet regions are fullfilled.
virtual IBPtr clone() const
Make a simple clone of this object.
double theDeltaYMax
The maximum jet-jet rapidity separation.
Ptr< JetRegion >::tptr firstRegion() const
Return the first jet region to act on.
Definition: JetPairRegion.h:43
bool theOppositeHemispheres
Should the jets go into opposite detector hemispheres?
double deltaRMax() const
Return the maximum jet-jet lego-plot separation.
Definition: JetPairRegion.h:68
double theCutWeight
The cut weight encountered from the last call to matches()
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
JetPairRegion()
The default constructor.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Definition: RCPtr.h:519
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28