thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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 
18 namespace ThePEG {
19 
29 class JetPairRegion: public HandlerBase {
30 
31 public:
32 
38  JetPairRegion();
39 
43  virtual ~JetPairRegion();
45 
46 public:
47 
52 
57 
61  Energy massMin() const { return theMassMin; }
62 
66  Energy massMax() const { return theMassMax; }
67 
71  double deltaRMin() const { return theDeltaRMin; }
72 
76  double deltaRMax() const { return theDeltaRMax; }
77 
81  double deltaYMin() const { return theDeltaYMin; }
82 
86  double deltaYMax() const { return theDeltaYMax; }
87 
91  double cutWeight() const { return theCutWeight; }
92 
93 public:
94 
98  virtual void describe() const;
99 
103  virtual bool matches(tcCutsPtr parent);
104 
105 public:
106 
113  void persistentOutput(PersistentOStream & os) const;
114 
120  void persistentInput(PersistentIStream & is, int version);
122 
129  static void Init();
130 
131 protected:
132 
139  virtual IBPtr clone() const;
140 
145  virtual IBPtr fullclone() const;
147 
148 
149 // If needed, insert declarations of virtual function defined in the
150 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
151 
152 
153 private:
154 
159 
164 
169 
174 
178  double theDeltaRMin;
179 
183  double theDeltaRMax;
184 
188  double theDeltaYMin;
189 
193  double theDeltaYMax;
194 
199 
203  double theCutWeight;
204 
209  JetPairRegion & operator=(const JetPairRegion &) = delete;
210 
211 };
212 
213 }
214 
215 #endif /* ThePEG_JetPairRegion_H */
PersistentIStream is used to read persistent objects from a stream where they were previously written...
double deltaRMax() const
Return the maximum jet-jet lego-plot separation.
Definition: JetPairRegion.h:76
virtual void describe() const
Describe the currently active cuts in the log file.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
double theDeltaRMax
The maximum jet-jet lego-plot separation.
double theDeltaYMax
The maximum jet-jet rapidity separation.
double theCutWeight
The cut weight encountered from the last call to matches()
Ptr< JetRegion >::ptr theFirstRegion
The first jet region to act on.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Definition: RCPtr.h:519
Energy theMassMin
The minimum jet-jet invariant mass.
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr clone() const
Make a simple clone of this object.
JetPairRegion()
The default constructor.
double theDeltaYMin
The minimum jet-jet rapidity separation.
double cutWeight() const
Return the cut weight encountered from the last call to matches()
Definition: JetPairRegion.h:91
Ptr< JetRegion >::tptr secondRegion() const
Return the second jet region to act on.
Definition: JetPairRegion.h:56
double deltaYMin() const
Return the minimum jet-jet rapidity separation.
Definition: JetPairRegion.h:81
Ptr< JetRegion >::tptr firstRegion() const
Return the first jet region to act on.
Definition: JetPairRegion.h:51
virtual bool matches(tcCutsPtr parent)
Return true, if the requirements on the jet regions are fullfilled.
virtual ~JetPairRegion()
The destructor.
double theDeltaRMin
The minimum jet-jet lego-plot separation.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
Definition: HandlerBase.h:151
double deltaRMin() const
Return the minimum jet-jet lego-plot separation.
Definition: JetPairRegion.h:71
JetPairRegion implements constraints on jets matching two jet regions.
Definition: JetPairRegion.h:29
double deltaYMax() const
Return the maximum jet-jet rapidity separation.
Definition: JetPairRegion.h:86
Energy massMax() const
Return the maximum jet-jet invariant mass.
Definition: JetPairRegion.h:66
Energy massMin() const
Return the minimum jet-jet invariant mass.
Definition: JetPairRegion.h:61
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
JetPairRegion & operator=(const JetPairRegion &)=delete
The assignment operator is private and must never be called.
bool theOppositeHemispheres
Should the jets go into opposite detector hemispheres?
Ptr< JetRegion >::ptr theSecondRegion
The second jet region to act on.
Energy theMassMax
The maximum jet-jet invariant mass.