CMS 3D CMS Logo

Public Member Functions | Private Member Functions

gen::Pythia6ServiceWithCallback Class Reference

Inheritance diagram for gen::Pythia6ServiceWithCallback:
gen::Pythia6Service gen::FortranInstance

List of all members.

Public Member Functions

 Pythia6ServiceWithCallback (const edm::ParameterSet &ps)

Private Member Functions

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

Detailed Description

Definition at line 57 of file Pythia6Hadronizer.cc.


Constructor & Destructor Documentation

gen::Pythia6ServiceWithCallback::Pythia6ServiceWithCallback ( const edm::ParameterSet ps) [inline]

Definition at line 59 of file Pythia6Hadronizer.cc.

: Pythia6Service(ps) {}

Member Function Documentation

void gen::Pythia6ServiceWithCallback::upEvnt ( ) [inline, private, virtual]
void gen::Pythia6ServiceWithCallback::upInit ( ) [inline, private, virtual]

Reimplemented from gen::FortranInstance.

Definition at line 62 of file Pythia6Hadronizer.cc.

References gen::FortranInstance::getInstance().

    { FortranCallback::getInstance()->fillHeader(); }
bool gen::Pythia6ServiceWithCallback::upVeto ( ) [inline, private, virtual]

Reimplemented from gen::FortranInstance.

Definition at line 72 of file Pythia6Hadronizer.cc.

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

    { 
      if ( !Pythia6Hadronizer::getJetMatching() )
        return false;

      if ( !hepeup_.nup || Pythia6Hadronizer::getJetMatching()->isMatchingDone() )
         return true;

      // NOTE: I'm passing NULL pointers, instead of HepMC::GenEvent, etc.
      return Pythia6Hadronizer::getJetMatching()->match(0, 0, true);
    }