Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:29

0001 //-*-C++-*-
0002 //-*-Dummy.cpp-*-
0003 //   Written by James Monk and Andrew Pilkington
0004 /////////////////////////////////////////////////////////////////////////////
0005 #include "GeneratorInterface/ExhumeInterface/interface/Dummy.h"
0006 
0007 /////////////////////////////////////////////////////////////////////////////
0008 Exhume::Dummy::Dummy(const edm::ParameterSet& pset) : CrossSection(pset) {
0009   std::cout << std::endl << "   = Dummy Subprocess Selected =" << std::endl;
0010 
0011   Inv32 = 1.0 / 32.0;
0012   Partons.resize(1);
0013 }
0014 /////////////////////////////////////////////////////////////////////////////
0015 double Exhume::Dummy::SubProcess() { return (Inv32 * SqrtsHat); }
0016 /////////////////////////////////////////////////////////////////////////////
0017 void Exhume::Dummy::SetPartons() {
0018   Partons[0].p = CentralVector;
0019   Partons[0].id = -1;
0020 
0021   return;
0022 }
0023 /////////////////////////////////////////////////////////////////////////////
0024 void Exhume::Dummy::SetSubParameters() { return; }
0025 /////////////////////////////////////////////////////////////////////////////
0026 double Exhume::Dummy::SubParameterWeight() { return (1.0); }
0027 /////////////////////////////////////////////////////////////////////////////
0028 double Exhume::Dummy::SubParameterRange() { return (1.0); }
0029 /////////////////////////////////////////////////////////////////////////////
0030 void Exhume::Dummy::MaximiseSubParameters() { return; }
0031 /////////////////////////////////////////////////////////////////////////////