Darwin  1.0
Event loop based prototype framework
GenEvent

Description

Structure for events in MC only with generator information.

#include <Objects.h>

+ Inheritance diagram for GenEvent:
+ Collaboration diagram for GenEvent:

Public Member Functions

float weight () const final
 
void clear () override
 
 GenEvent ()
 
- Public Member Functions inherited from Event
 Event ()
 
virtual ~Event ()=default
 

Public Attributes

int process
 
float hard_scale
 
- Public Attributes inherited from Event
std::vector< float > weights
 

Static Public Attributes

static size_t iWgt = 0
 

Constructor & Destructor Documentation

◆ GenEvent()

GenEvent ( )
24 : process(0), hard_scale(0) { }

Member Function Documentation

◆ clear()

void clear ( )
overridevirtual

resets all members to the same values as in the constructor

Reimplemented from Event.

27 {
28  Event::clear();
29  process = 0;
30  hard_scale = 0;
31 }

◆ weight()

float weight ( ) const
finalvirtual

uses iWgt internally

Implements Event.

22 { return weights.at(iWgt); }

Member Data Documentation

◆ hard_scale

float hard_scale

hard scale, corresponding to pthat in Pythia 8

◆ iWgt

size_t iWgt = 0
static

global index for weight

◆ process

int process

flag for process (TODO?)


The documentation for this struct was generated from the following files:
Darwin::Physics::GenEvent::hard_scale
float hard_scale
hard scale, corresponding to pthat in Pythia 8
Definition: Objects.h:29
Darwin::Physics::GenEvent::iWgt
static size_t iWgt
global index for weight
Definition: Objects.h:26
Darwin::Physics::GenEvent::process
int process
flag for process (TODO?)
Definition: Objects.h:28
Darwin::Physics::Event::weights
std::vector< float > weights
Definition: Objects.h:16
Darwin::Physics::Event::clear
virtual void clear()
resets all members to the same values as in the constructor
Definition: Objects.cc:10