LCOV - code coverage report
Current view: top level - TEvtGen/EvtGen/EvtGenModels - EvtPhsp.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 10 0.0 %
Date: 2016-06-14 17:26:59 Functions: 0 8 0.0 %

          Line data    Source code
       1             : //--------------------------------------------------------------------------
       2             : //
       3             : // Environment:
       4             : //      This software is part of the EvtGen package developed jointly
       5             : //      for the BaBar and CLEO collaborations.  If you use all or part
       6             : //      of it, please give an appropriate acknowledgement.
       7             : //
       8             : // Copyright Information: See EvtGen/COPYRIGHT
       9             : //      Copyright (C) 1998      Caltech, UCSB
      10             : //
      11             : // Module: EvtPhsp.cc
      12             : //
      13             : // Description: Routine to decay a particle according th phase space
      14             : //
      15             : // Modification history:
      16             : //
      17             : //    RYD       January 8, 1997       Module created
      18             : //
      19             : //------------------------------------------------------------------------
      20             : //
      21             : #include "EvtGenBase/EvtPatches.hh"
      22             : #include <stdlib.h>
      23             : #include "EvtGenBase/EvtParticle.hh"
      24             : #include "EvtGenBase/EvtGenKine.hh"
      25             : #include "EvtGenBase/EvtPDL.hh"
      26             : #include "EvtGenBase/EvtReport.hh"
      27             : #include "EvtGenModels/EvtPhsp.hh"
      28             : #include <string>
      29             : 
      30           0 : EvtPhsp::~EvtPhsp() {}
      31             : 
      32             : std::string EvtPhsp::getName(){
      33             : 
      34           0 :   return "PHSP";     
      35             : 
      36             : }
      37             : 
      38             : EvtDecayBase* EvtPhsp::clone(){
      39             : 
      40           0 :   return new EvtPhsp;
      41             : 
      42           0 : }
      43             : 
      44             : 
      45             : void EvtPhsp::init(){
      46             : 
      47             :   // check that there are 0 arguments
      48           0 :   checkNArg(0);
      49             : 
      50           0 : }
      51             : 
      52             : void EvtPhsp::initProbMax(){
      53             : 
      54           0 :   noProbMax();
      55             : 
      56           0 : }
      57             : 
      58             : void EvtPhsp::decay( EvtParticle *p ){
      59             : 
      60             :   //unneeded - lange - may13-02
      61             :   //if ( p->getNDaug() != 0 ) {
      62             :     //Will end up here because maxrate multiplies by 1.2
      63             :   //  report(Severity::Debug,"EvtGen") << "In EvtPhsp: has "
      64             :   //                       <<" daugthers should not be here!"<<endl;
      65             :   //  return;
      66             :   //}
      67             : 
      68           0 :   p->initializePhaseSpace(getNDaug(),getDaugs());
      69             : 
      70           0 :   return ;
      71             : }
      72             : 
      73             : 

Generated by: LCOV version 1.11