CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
EmissionVetoHook1 Class Reference

#include <EmissionVetoHook1.h>

Inheritance diagram for EmissionVetoHook1:

Public Member Functions

bool canVetoFSREmission ()
 
bool canVetoISREmission ()
 
bool canVetoMPIEmission ()
 
bool canVetoMPIStep ()
 
bool doVetoFSREmission (int, const Pythia8::Event &e, int iSys, bool)
 
bool doVetoISREmission (int, const Pythia8::Event &e, int iSys)
 
bool doVetoMPIEmission (int, const Pythia8::Event &e)
 
bool doVetoMPIStep (int nMPI, const Pythia8::Event &e)
 
 EmissionVetoHook1 (int nFinalIn, bool vetoOnIn, int vetoCountIn, int pThardModeIn, int pTemtModeIn, int emittedModeIn, int pTdefModeIn, bool MPIvetoOnIn, int VerbosityIn)
 
void fatalEmissionVeto (std::string message)
 
int numberVetoMPIStep ()
 
double pTcalc (const Pythia8::Event &e, int i, int j, int k, int r, int xSRin)
 
double pTpowheg (const Pythia8::Event &e, int i, int j, bool FSR)
 
double pTpythia (const Pythia8::Event &e, int RadAfterBranch, int EmtAfterBranch, int RecAfterBranch, bool FSR)
 
 ~EmissionVetoHook1 ()
 

Private Attributes

bool accepted
 
int emittedMode
 
int MPIvetoOn
 
int nAcceptSeq
 
int nFinal
 
int nFinalExt
 
unsigned long int nFSRveto
 
unsigned long int nISRveto
 
int pTdefMode
 
int pTemtMode
 
double pThard
 
int pThardMode
 
double pTMPI
 
int Verbosity
 
int vetoCount
 
int vetoOn
 

Detailed Description

Definition at line 1 of file EmissionVetoHook1.h.

Constructor & Destructor Documentation

EmissionVetoHook1::EmissionVetoHook1 ( int  nFinalIn,
bool  vetoOnIn,
int  vetoCountIn,
int  pThardModeIn,
int  pTemtModeIn,
int  emittedModeIn,
int  pTdefModeIn,
bool  MPIvetoOnIn,
int  VerbosityIn 
)
inline

Definition at line 6 of file EmissionVetoHook1.h.

8  :
9  nFinalExt(nFinalIn),
10  vetoOn(vetoOnIn), vetoCount(vetoCountIn),
11  pThardMode(pThardModeIn), pTemtMode(pTemtModeIn),
12  emittedMode(emittedModeIn), pTdefMode(pTdefModeIn),
13  MPIvetoOn(MPIvetoOnIn), nISRveto(0), nFSRveto(0),
14  Verbosity(VerbosityIn) {}
unsigned long int nISRveto
unsigned long int nFSRveto
EmissionVetoHook1::~EmissionVetoHook1 ( )
inline

Definition at line 15 of file EmissionVetoHook1.h.

References gather_cfg::cout, nFSRveto, and nISRveto.

15  {
16  std::cout << "Number of ISR vetoed = " << nISRveto << std::endl;
17  std::cout << "Number of FSR vetoed = " << nFSRveto << std::endl;
18  }
unsigned long int nISRveto
unsigned long int nFSRveto
tuple cout
Definition: gather_cfg.py:145

Member Function Documentation

bool EmissionVetoHook1::canVetoFSREmission ( )
inline

Definition at line 29 of file EmissionVetoHook1.h.

References vetoOn.

29 { return vetoOn; }
bool EmissionVetoHook1::canVetoISREmission ( )
inline

Definition at line 26 of file EmissionVetoHook1.h.

References vetoOn.

26 { return vetoOn; }
bool EmissionVetoHook1::canVetoMPIEmission ( )
inline

Definition at line 32 of file EmissionVetoHook1.h.

References MPIvetoOn.

32 { return MPIvetoOn; }
bool EmissionVetoHook1::canVetoMPIStep ( )
inline

Definition at line 22 of file EmissionVetoHook1.h.

22 { return true; }
bool EmissionVetoHook1::doVetoFSREmission ( int  ,
const Pythia8::Event &  e,
int  iSys,
bool   
)

Definition at line 388 of file EmissionVetoHook1.cc.

bool EmissionVetoHook1::doVetoISREmission ( int  ,
const Pythia8::Event &  e,
int  iSys 
)

Definition at line 337 of file EmissionVetoHook1.cc.

bool EmissionVetoHook1::doVetoMPIEmission ( int  ,
const Pythia8::Event &  e 
)

Definition at line 462 of file EmissionVetoHook1.cc.

bool EmissionVetoHook1::doVetoMPIStep ( int  nMPI,
const Pythia8::Event &  e 
)

Definition at line 252 of file EmissionVetoHook1.cc.

void EmissionVetoHook1::fatalEmissionVeto ( std::string  message)

Definition at line 8 of file EmissionVetoHook1.cc.

int EmissionVetoHook1::numberVetoMPIStep ( )
inline

Definition at line 23 of file EmissionVetoHook1.h.

23 { return 1; }
double EmissionVetoHook1::pTcalc ( const Pythia8::Event &  e,
int  i,
int  j,
int  k,
int  r,
int  xSRin 
)

Definition at line 121 of file EmissionVetoHook1.cc.

double EmissionVetoHook1::pTpowheg ( const Pythia8::Event &  e,
int  i,
int  j,
bool  FSR 
)

Definition at line 78 of file EmissionVetoHook1.cc.

double EmissionVetoHook1::pTpythia ( const Pythia8::Event &  e,
int  RadAfterBranch,
int  EmtAfterBranch,
int  RecAfterBranch,
bool  FSR 
)

Definition at line 21 of file EmissionVetoHook1.cc.

Member Data Documentation

bool EmissionVetoHook1::accepted
private

Definition at line 51 of file EmissionVetoHook1.h.

int EmissionVetoHook1::emittedMode
private

Definition at line 47 of file EmissionVetoHook1.h.

int EmissionVetoHook1::MPIvetoOn
private

Definition at line 47 of file EmissionVetoHook1.h.

Referenced by canVetoMPIEmission().

int EmissionVetoHook1::nAcceptSeq
private

Definition at line 53 of file EmissionVetoHook1.h.

int EmissionVetoHook1::nFinal
private

Definition at line 49 of file EmissionVetoHook1.h.

int EmissionVetoHook1::nFinalExt
private

Definition at line 47 of file EmissionVetoHook1.h.

unsigned long int EmissionVetoHook1::nFSRveto
private

Definition at line 55 of file EmissionVetoHook1.h.

Referenced by ~EmissionVetoHook1().

unsigned long int EmissionVetoHook1::nISRveto
private

Definition at line 55 of file EmissionVetoHook1.h.

Referenced by ~EmissionVetoHook1().

int EmissionVetoHook1::pTdefMode
private

Definition at line 47 of file EmissionVetoHook1.h.

int EmissionVetoHook1::pTemtMode
private

Definition at line 47 of file EmissionVetoHook1.h.

double EmissionVetoHook1::pThard
private

Definition at line 50 of file EmissionVetoHook1.h.

int EmissionVetoHook1::pThardMode
private

Definition at line 47 of file EmissionVetoHook1.h.

double EmissionVetoHook1::pTMPI
private

Definition at line 50 of file EmissionVetoHook1.h.

int EmissionVetoHook1::Verbosity
private

Definition at line 56 of file EmissionVetoHook1.h.

int EmissionVetoHook1::vetoCount
private

Definition at line 47 of file EmissionVetoHook1.h.

int EmissionVetoHook1::vetoOn
private

Definition at line 47 of file EmissionVetoHook1.h.

Referenced by canVetoFSREmission(), and canVetoISREmission().