CMS 3D CMS Logo

Public Member Functions | Private Member Functions

gen::Pythia6ServiceWithCallback Class Reference

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

List of all members.

Public Member Functions

 Pythia6ServiceWithCallback (const edm::ParameterSet &pset)
 Pythia6ServiceWithCallback (const edm::ParameterSet &ps)

Private Member Functions

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

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.

: Pythia6Service(pset) {}
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]

Reimplemented from gen::FortranInstance.

Definition at line 68 of file Cascade2Hadronizer.cc.

                  {
      FortranCallback::getInstance()->fillEvent(); 
    }
void gen::Pythia6ServiceWithCallback::upEvnt ( ) [inline, private, virtual]
void gen::Pythia6ServiceWithCallback::upInit ( ) [inline, private, virtual]

Reimplemented from gen::FortranInstance.

Definition at line 64 of file Cascade2Hadronizer.cc.

                  {
      FortranCallback::getInstance()->fillHeader(); 
    }
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 Cascade2Hadronizer.cc.

References hepeup_, and HEPEUP_::nup.

                  { 
      bool veto = false;
      if (!hepeup_.nup) veto = true; //-- LHE Common Blocks
      return(veto);
    }
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);
    }