ATLAS Offline Software
bb4lFullShowerVeto.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef Herwig_bb4lFullShowerVeto_H
3 #define Herwig_bb4lFullShowerVeto_H
4 //
5 // This is the declaration of the bb4lFullShowerVeto class.
6 // Copyright (C) 2017 Silvia Ferrario Ravasio, Tomas Jezo
7 // inspired by Contrib/ShowerVeto/NonBShowerVeto.h file
8 //
9 
10 #include "Herwig/API/HerwigUI.h"
11 
12 #include "Herwig/Shower/QTilde/Base/FullShowerVeto.h"
13 #include "herwig7_interface.h"
15 
16 namespace Herwig {
17 
18 using namespace ThePEG;
19 
26 class ATLAS_NOT_THREAD_SAFE bb4lFullShowerVeto: public FullShowerVeto {
27 
28 public:
33  if(powheginput_("#herwigveto",11) <= 0) {
34  std::cout << "bb4lShowerVeto: You want me to veto, but herwigveto is not set to 1 in powheg.input! Exiting ..."<<std::endl;
35  exit(-1);
36  }
37  }
38 
39 protected:
40 
44  virtual bool vetoShower ();
45 
46 
47 public:
48 
55  static void Init();
56 
57 protected:
58 
65  virtual IBPtr clone() const;
66 
71  virtual IBPtr fullclone() const;
73 };
74 
75 }
76 
77 #endif /* Herwig_bb4lFullShowerVeto_H */
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
Herwig::bb4lFullShowerVeto::vetoShower
virtual bool vetoShower()
Determine whether to not to veto the shower, to be implemented in inheriting classes.
Herwig::bb4lFullShowerVeto
The bb4lFullShowerVeto class vetos parton showers where no b (anti)quarks are produced.
Definition: bb4lFullShowerVeto.h:26
Herwig::bb4lFullShowerVeto::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG
Definition: BB4LPowhegLesHouchesFileReader.h:20
Herwig::bb4lFullShowerVeto::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig
Definition: bb4lFullShowerVeto.h:16
calibdata.exit
exit
Definition: calibdata.py:236
powheginput_
double powheginput_(const char *, long int)
Herwig::bb4lFullShowerVeto::bb4lFullShowerVeto
bb4lFullShowerVeto()
The default constructor.
Definition: bb4lFullShowerVeto.h:32
checker_macros.h
Define macros for attributes used to control the static checker.
Herwig::bb4lFullShowerVeto::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
herwig7_interface.h