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 Member Functions
gen::Pythia6ServiceWithCallback Class Reference
Inheritance diagram for gen::Pythia6ServiceWithCallback:
gen::Pythia6Service gen::Pythia6Service gen::FortranInstance gen::FortranInstance

Public Member Functions

 Pythia6ServiceWithCallback (const edm::ParameterSet &pset)
 
 Pythia6ServiceWithCallback (const edm::ParameterSet &ps)
 
- Public Member Functions inherited from gen::Pythia6Service
void closePYUPDA ()
 
void closeSLHA ()
 
virtual void enter ()
 
void openPYUPDA (const char *, bool write_file)
 
void openSLHA (const char *)
 
 Pythia6Service ()
 
 Pythia6Service (edm::ParameterSet const &)
 
void setCSAParams ()
 
void setGeneralParams ()
 
void setPYUPDAParams (bool afterPyinit)
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
void setSLHAFromHeader (const std::vector< std::string > &lines)
 
void setSLHAParams ()
 
 ~Pythia6Service ()
 
- Public Member Functions inherited from gen::FortranInstance
void call (void(&fn)())
 
template<typename T >
T call (T(&fn)())
 
template<typename A >
void call (void(&fn)(A), A a)
 
template<typename T , typename A >
T call (T(&fn)(A), A a)
 
template<typename A1 , typename A2 >
void call (void(&fn)(A1, A2), A1 a1, A2 a2)
 
template<typename T , typename A1 , typename A2 >
T call (T(&fn)(A1, A2), A1 a1, A2 a2)
 
 FortranInstance ()
 
virtual void leave ()
 
virtual ~FortranInstance ()
 

Private Member Functions

void upEvnt () override
 
void upEvnt () override
 
void upInit () override
 
void upInit () override
 
bool upVeto () override
 
bool upVeto () override
 

Additional Inherited Members

- Static Public Member Functions inherited from gen::FortranInstance
template<typename T >
static TgetInstance ()
 

Detailed Description

Definition at line 58 of file Cascade2Hadronizer.cc.

Constructor & Destructor Documentation

gen::Pythia6ServiceWithCallback::Pythia6ServiceWithCallback ( const edm::ParameterSet pset)
inline

Definition at line 61 of file Cascade2Hadronizer.cc.

61 : Pythia6Service(pset) {}
gen::Pythia6ServiceWithCallback::Pythia6ServiceWithCallback ( const edm::ParameterSet ps)
inline

Definition at line 61 of file Pythia6Hadronizer.cc.

Member Function Documentation

void gen::Pythia6ServiceWithCallback::upEvnt ( )
inlineoverrideprivatevirtual
void gen::Pythia6ServiceWithCallback::upEvnt ( )
inlineoverrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 68 of file Cascade2Hadronizer.cc.

68  {
70  }
static FortranCallback * getInstance()
void gen::Pythia6ServiceWithCallback::upInit ( )
inlineoverrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 64 of file Cascade2Hadronizer.cc.

64  {
66  }
static FortranCallback * getInstance()
void gen::Pythia6ServiceWithCallback::upInit ( )
inlineoverrideprivatevirtual
bool gen::Pythia6ServiceWithCallback::upVeto ( )
inlineoverrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 72 of file Cascade2Hadronizer.cc.

References hepeup_, and HEPEUP_::nup.

72  {
73  bool veto = false;
74  if (!hepeup_.nup) veto = true; //-- LHE Common Blocks
75  return(veto);
76  }
struct HEPEUP_ hepeup_
bool gen::Pythia6ServiceWithCallback::upVeto ( )
inlineoverrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 74 of file Pythia6Hadronizer.cc.

References gen::Pythia6Hadronizer::getJetMatching(), hepeup_, gen::JetMatching::isMatchingDone(), gen::JetMatching::match(), and HEPEUP_::nup.

75  {
77  return false;
78 
80  return true;
81 
82  bool retValue = Pythia6Hadronizer::getJetMatching()->match( 0, 0 );
83  // below is old code and a note of it
84  // NOTE: I'm passing NULL pointers, instead of HepMC::GenEvent, etc.
85  //retValur = Pythia6Hadronizer::getJetMatching()->match(0, 0, true);
86  return retValue;
87 
88 
89  }
static JetMatching * getJetMatching()
struct HEPEUP_ hepeup_
virtual int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput)=0
bool isMatchingDone()
Definition: JetMatching.h:76