8 #include <boost/shared_ptr.hpp>
10 #include <ThePEG/Interface/ClassDocumentation.h>
11 #include <ThePEG/Interface/InterfacedBase.h>
12 #include <ThePEG/Interface/Parameter.h>
13 #include <ThePEG/Utilities/ClassTraits.h>
15 #include <ThePEG/LesHouches/LesHouches.h>
16 #include <ThePEG/LesHouches/LesHouchesReader.h>
38 virtual IBPtr
clone()
const {
return new_ptr(*
this); }
39 virtual IBPtr
fullclone()
const {
return new_ptr(*
this); }
46 virtual double eventWeight();
47 virtual double reweight();
48 virtual double getEvent();
49 virtual bool doReadEvent();
67 public ClassTraitsBase<LesHouchesInterface> {
68 static string className() {
return "ThePEG::LesHouchesInterface"; }
69 static string library() {
return "pluginGeneratorInterfaceThePEGHadronisation.so"; }
74 using namespace ThePEG;
76 LesHouchesInterface::LesHouchesInterface() :
96 heprup.EBMUP = orig.
EBMUP;
97 heprup.PDFGUP = orig.
PDFGUP;
98 heprup.PDFSUP = orig.
PDFSUP;
99 heprup.NPRUP = orig.
NPRUP;
100 heprup.LPRUP = orig.
LPRUP;
101 heprup.XSECUP = orig.
XSECUP;
102 heprup.XERRUP = orig.
XERRUP;
103 heprup.XMAXUP = orig.
XMAXUP;
138 <<
"Found event which cannot be handled by "
139 <<
"the assigned PartonExtractor." << std::endl;
152 boost::shared_ptr<LHEEvent>
event =
157 hepeup.XPDWUP.first = hepeup.XPDWUP.second = 0;
162 hepeup.IDPRUP = orig.
IDPRUP;
163 hepeup.SCALUP = orig.
SCALUP;
164 hepeup.AQEDUP = orig.
AQEDUP;
165 hepeup.AQCDUP = orig.
AQCDUP;
174 hepeup.ISTUP = orig.
ISTUP;
175 hepeup.MOTHUP = orig.
MOTHUP;
176 hepeup.ICOLUP = orig.
ICOLUP;
177 hepeup.VTIMUP = orig.
VTIMUP;
178 hepeup.SPINUP = orig.
SPINUP;
180 for(
int i = 0;
i < hepeup.NUP;
i++)
182 hepeup.PUP[
i].begin());
196 static ClassDocumentation<LesHouchesInterface> documentation
197 (
"ThePEG::LesHouchesInterface interfaces with LHEInterface");
199 static Parameter<LesHouchesInterface, ProxyID> interfaceProxyID
200 (
"ProxyID",
"The ProxyID.",
202 ProxyID(), ProxyID(),
false,
false,
false);
204 interfaceProxyID.rank(11);
virtual double eventWeight()
std::pair< double, double > EBMUP
std::vector< double > VTIMUP
std::pair< int, int > IDBMUP
LHEProxy::ProxyID proxyID
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::pair< int, int > PDFGUP
std::vector< std::pair< int, int > > MOTHUP
static string className()
virtual IBPtr fullclone() const
virtual bool doReadEvent()
std::vector< FiveVector > PUP
std::vector< double > SPINUP
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< double > XERRUP
std::vector< double > XMAXUP
const HEPRUP * getHEPRUP() const
std::pair< int, int > PDFSUP
virtual ~LesHouchesInterface()
virtual double reweight()
volatile std::atomic< bool > shutdown_flag false
std::vector< double > XSECUP
static ClassDescription< LesHouchesInterface > initLesHouchesInterface
void reset(double vett[256])
std::vector< std::pair< int, int > > ICOLUP
virtual IBPtr clone() const
virtual double getEvent()