Fork me on GitHub

Changes in / [71efbfe:ef97f2a] in git


Ignore:
Location:
classes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.h

    r71efbfe ref97f2a  
    103103
    104104  Float_t Weight; // weight for the event
     105  Float_t CrossSection; // cross-section in pb
     106  Float_t CrossSectionError; // cross-section error in pb
    105107
    106108  Float_t Scale; // energy scale, see hep-ph/0109068 | event_scale()
     
    118120  Float_t PDF1; // PDF (id1, x1, Q) | pdf_info()->pdf1()
    119121  Float_t PDF2; // PDF (id2, x2, Q) | pdf_info()->pdf2()
     122
     123
    120124
    121125  ClassDef(HepMCEvent, 2)
  • classes/DelphesHepMCReader.cc

    r71efbfe ref97f2a  
    199199    }
    200200  }
     201 
     202  else if(key == 'C')
     203  {
     204    rc = bufferStream.ReadDbl(fCrossSection)
     205      && bufferStream.ReadDbl(fCrossSectionError);
     206  }
     207 
    201208  else if(key == 'F')
    202209  {
     
    315322  element->MPI = fMPI;
    316323  element->Weight = fWeight.size() > 0 ? fWeight[0] : 1.0;
     324  element->CrossSection = fCrossSection;
     325  element->CrossSectionError = fCrossSectionError;
    317326  element->Scale = fScale;
    318327  element->AlphaQED = fAlphaQED;
  • classes/DelphesHepMCReader.h

    r71efbfe ref97f2a  
    8787  std::vector< double > fWeight;
    8888
     89  double fCrossSection, fCrossSectionError;
     90
    8991  int fID1, fID2;
    9092  double fX1, fX2, fScalePDF, fPDF1, fPDF2;
Note: See TracChangeset for help on using the changeset viewer.