Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef GeneratorInterface_AlpgenInterface_AlpgenEventRecordFixes_h
0002 #define GeneratorInterface_AlpgenInterface_AlpgenEventRecordFixes_h
0003 
0004 #include "DataFormats/Math/interface/LorentzVector.h"
0005 #include "SimDataFormats/GeneratorProducts/interface/LesHouches.h"
0006 
0007 namespace alpgen {
0008   /// Functions to fixthe HEPEUP Event Record, adding the particles that
0009   /// ALPGEN skips in the .unw event.
0010 
0011   /// A function to return a LorentzVector from a given position
0012   /// in the HEPEUP
0013   math::XYZTLorentzVector vectorFromHepeup(const lhef::HEPEUP &hepeup, int index);
0014 
0015   /// Fixes Event Record for ihrd = 1,2,3,4,10,14,15
0016   void fixEventWZ(lhef::HEPEUP &hepeup);
0017 
0018   /// Fixes Event Record for ihrd = 5
0019   void fixEventMultiBoson(lhef::HEPEUP &hepeup);
0020 
0021   /// Fixes Event Record for ihrd = 6
0022   void fixEventTTbar(lhef::HEPEUP &hepeup);
0023 
0024   /// Fixes Event Record for ihrd = 8
0025   void fixEventHiggsTTbar(lhef::HEPEUP &hepeup);
0026 
0027   /// Fixes Event Record for ihrd = 13
0028   void fixEventSingleTop(lhef::HEPEUP &hepeup, double mb, int itopprc);
0029 
0030 }  // namespace alpgen
0031 
0032 #endif  // GeneratorInterface_AlpgenInterface_AlpgenEventRecordFixes_h