ATLAS Offline Software
Functions | Variables
PowhegLesHouchesFileReader.cxx File Reference
#include "Herwig7_i/PowhegLesHouchesFileReader.h"
#include "ThePEG/Interface/ClassDocumentation.h"
#include "ThePEG/Interface/Reference.h"
#include "ThePEG/Interface/Switch.h"
#include "ThePEG/Interface/Parameter.h"
#include "ThePEG/Utilities/Throw.h"
#include "ThePEG/PDT/DecayMode.h"
#include "ThePEG/Persistency/PersistentOStream.h"
#include "ThePEG/Persistency/PersistentIStream.h"
#include "ThePEG/LesHouches/LesHouchesReader.fh"
#include "ThePEG/LesHouches/LesHouchesFileReader.h"
#include "ThePEG/LesHouches/LesHouchesFileReader.fh"
#include <sstream>
#include <iostream>
#include <string>
#include <regex>
#include <iterator>

Go to the source code of this file.

Functions

void powhegLesHouchesFileReader::Init ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Variables

int maxev
 
int numweights
 
int radtype
 
double upbfact [2] = {1., 1.}
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

void powhegLesHouchesFileReader::Init ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 837 of file PowhegLesHouchesFileReader.cxx.

837  {
838 
839  static ClassDocumentation<powhegLesHouchesFileReader> documentation
840  ("ThePEG::powhegLesHouchesFileReader is an base class to be used for objects "
841  "which reads event files from matrix element generators. This class is "
842  "able to read plain event files conforming to the Les Houches Event File "
843  "accord.");
844 
845  static Parameter<powhegLesHouchesFileReader,string> interfaceFileName
846  ("FileName",
847  "The name of a file containing events conforming to the Les Houches "
848  "protocol to be read into ThePEG. A file name ending in "
849  "<code>.gz</code> will be read from a pipe which uses "
850  "<code>zcat</code>. If a file name ends in <code>|</code> the "
851  "preceeding string is interpreted as a command, the output of which "
852  "will be read through a pipe.",
853  &powhegLesHouchesFileReader::m_theFileName, "", false, false);
854 
855  interfaceFileName.fileType();
856  interfaceFileName.rank(11);
857 
858  static Switch<powhegLesHouchesFileReader,bool> interfaceQNumbers
859  ("QNumbers",
860  "Whether or not to read search for and read a QNUMBERS"
861  " block in the header of the file.",
862  &powhegLesHouchesFileReader::m_theQNumbers, false, false, false);
863  static SwitchOption interfaceQNumbersYes
864  (interfaceQNumbers,
865  "Yes",
866  "Use QNUMBERS",
867  true);
868  static SwitchOption interfaceQNumbersNo
869  (interfaceQNumbers,
870  "No",
871  "Don't use QNUMBERS",
872  false);
873 
874  static Switch<powhegLesHouchesFileReader,bool> interfaceIncludeFxFxTags
875  ("IncludeFxFxTags",
876  "Include FxFx tags",
877  &powhegLesHouchesFileReader::m_theIncludeFxFxTags, false, true, false);
878  static SwitchOption interfaceIncludeFxFxTagsYes
879  (interfaceIncludeFxFxTags,
880  "Yes",
881  "Use the FxFx tags",
882  true);
883  static SwitchOption interfaceIncludeFxFxTagsNo
884  (interfaceIncludeFxFxTags,
885  "No",
886  "Don't use the FxFx tags",
887  false);
888 
889  static Switch<powhegLesHouchesFileReader,bool> interfaceIncludeCentral
890  ("IncludeCentral",
891  "Include definition of central weight",
892  &powhegLesHouchesFileReader::m_theIncludeCentral, false, true, false);
893  static SwitchOption interfaceIncludeCentralYes
894  (interfaceIncludeCentral,
895  "Yes",
896  "include definition of central weight",
897  true);
898  static SwitchOption interfaceIncludeCentralNo
899  (interfaceIncludeCentral,
900  "No",
901  "Don't include definition of central weight",
902  false);
903 
904 
905 
906  static Reference<powhegLesHouchesFileReader,Decayer> interfaceDecayer
907  ("Decayer",
908  "Decayer to use for any decays read from the QNUMBERS Blocks",
909  &powhegLesHouchesFileReader::m_theDecayer, false, false, true, true, false);
910 
911 }

Variable Documentation

◆ maxev

int maxev

Definition at line 37 of file PowhegLesHouchesFileReader.cxx.

◆ numweights

int numweights

Definition at line 38 of file PowhegLesHouchesFileReader.cxx.

◆ radtype

int radtype

Definition at line 39 of file PowhegLesHouchesFileReader.cxx.

◆ upbfact

double upbfact[2] = {1., 1.}

Definition at line 40 of file PowhegLesHouchesFileReader.cxx.

documentation
This is the draft of TileDetDescr documentation
Definition: TileCalorimeter/TileDetDescr/doc/packagedoc.h:6