ATLAS Offline Software
Loading...
Searching...
No Matches
GenEvent_p7 Class Reference

#include <GenEvent_p7.h>

Collaboration diagram for GenEvent_p7:

Public Member Functions

 GenEvent_p7 ()
 Default constructor.
 GenEvent_p7 (int signalProcessId, int eventNbr, int mpi, double eventScale, double alphaQCD, double alphaQED, double filterWeight, double filterHT, double filterMET, int signalProcessVtx, int beamParticle1, int beamParticle2, const std::vector< double > &weights, const std::vector< long int > &randomStates, const std::vector< double > &crossSection, const std::vector< float > &heavyIon, const std::vector< double > &pdfinfo, int momentumUnit, int lengthUnit, unsigned int verticesBegin, unsigned int verticesEnd, unsigned int particlesBegin, unsigned int particlesEnd, const std::vector< int > &e_attribute_id=std::vector< int >(), const std::vector< std::string > &e_attribute_name=std::vector< std::string >(), const std::vector< std::string > &e_attribute_string=std::vector< std::string >(), const std::vector< std::string > &r_attribute_name=std::vector< std::string >(), const std::vector< std::string > &r_attribute_string=std::vector< std::string >(), const std::vector< std::string > &r_tool_name=std::vector< std::string >(), const std::vector< std::string > &r_tool_version=std::vector< std::string >(), const std::vector< std::string > &r_tool_description=std::vector< std::string >(), const std::vector< std::string > &r_weight_names=std::vector< std::string >())
 Constructor with parameters.

Protected Attributes

int m_signalProcessId
 Id of the processus being generated.
int m_eventNbr
 Event number.
int m_mpi
 Number of multi particle interactions.
double m_eventScale
 Energy scale.
double m_alphaQCD
 value of the QCD coupling.
double m_alphaQED
 value of the QED coupling.
double m_filterWeight
 value of the extra weight introduced during reweighting events in filter and value of some variables we filter on
double m_filterHT
double m_filterMET
int m_signalProcessVtx
 Barcode of the GenVertex holding the signal process.
int m_beamParticle1
 Barcode of the beam particle 1.
int m_beamParticle2
 Barcode of the beam particle 2.
std::vector< double > m_weights
 Weights for this event.
std::vector< long int > m_randomStates
 Container of random numbers for the generator states.
std::vector< double > m_crossSection
 Container of HepMC::GenCrossSection object translated to vector<double>.
std::vector< float > m_heavyIon
 Container of HepMC::HeavyIon object translated to vector<double>.
std::vector< double > m_pdfinfo
 Container of HepMC::PdfInfo object translated to vector<double> for simplicity.
int m_momentumUnit
 HepMC::Units::MomentumUnit casted to int.
int m_lengthUnit
 HepMC::Units::LengthUnit casted to int.
unsigned int m_verticesBegin
 Begin position in the vector of vertices composing this event.
unsigned int m_verticesEnd
 End position in the vector of vertices composing this event.
unsigned int m_particlesBegin
 Begin position in the vector of particles composing this event.
unsigned int m_particlesEnd
 End position in the vector of particles composing this event.
std::vector< int > m_e_attribute_id
 We define those exactly as in the HepMC3::GenEvent.
std::vector< std::string > m_e_attribute_name
 Attribute name for event.
std::vector< std::string > m_e_attribute_string
 Attribute serialized as string for event.
std::vector< std::string > m_r_attribute_name
 Attribute name for run info.
std::vector< std::string > m_r_attribute_string
 Attribute serialized as string for run info.
std::vector< std::string > m_r_tool_name
 Name of the used tool.
std::vector< std::string > m_r_tool_version
 Version of the used tool.
std::vector< std::string > m_r_tool_description
 Description of the used tool.
std::vector< std::string > m_r_weight_names
 The weight names.

Friends

class McEventCollectionCnv_p7

Detailed Description

Definition at line 22 of file GenEvent_p7.h.

Constructor & Destructor Documentation

◆ GenEvent_p7() [1/2]

GenEvent_p7::GenEvent_p7 ( )
inline

Default constructor.

Inline methods:

Definition at line 185 of file GenEvent_p7.h.

185 :
186 m_signalProcessId ( -1 ),
187 m_eventNbr ( -1 ),
188 m_mpi ( -1 ),
189 m_eventScale ( -1 ),
190 m_alphaQCD ( -1 ),
191 m_alphaQED ( -1 ),
192 m_filterWeight ( 1 ),
193 m_filterHT ( -13 ),
194 m_filterMET ( -13 ),
195 m_signalProcessVtx ( 0 ),
196 m_beamParticle1 ( 0 ),
197 m_beamParticle2 ( 0 ),
198 m_weights ( ),
199 m_randomStates ( ),
200 m_crossSection ( ),
201 m_heavyIon ( ),
202 m_pdfinfo ( ),
203 m_momentumUnit ( 0 ),
204 m_lengthUnit ( 0 ),
205 m_verticesBegin ( 0 ),
206 m_verticesEnd ( 0 ),
207 m_particlesBegin ( 0 ),
208 m_particlesEnd ( 0 )
214 ,m_r_tool_name( )
218{}
double m_filterMET
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
std::vector< long int > m_randomStates
Container of random numbers for the generator states.
int m_signalProcessId
Id of the processus being generated.
Definition GenEvent_p7.h:83
int m_beamParticle2
Barcode of the beam particle 2.
std::vector< double > m_crossSection
Container of HepMC::GenCrossSection object translated to vector<double>.
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
int m_eventNbr
Event number.
Definition GenEvent_p7.h:87
std::vector< std::string > m_r_weight_names
The weight names.
int m_lengthUnit
HepMC::Units::LengthUnit casted to int.
std::vector< std::string > m_r_tool_name
Name of the used tool.
int m_beamParticle1
Barcode of the beam particle 1.
std::vector< int > m_e_attribute_id
We define those exactly as in the HepMC3::GenEvent.
double m_eventScale
Energy scale.
Definition GenEvent_p7.h:95
double m_filterHT
std::vector< double > m_weights
Weights for this event.
double m_filterWeight
value of the extra weight introduced during reweighting events in filter and value of some variables ...
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
std::vector< std::string > m_r_attribute_string
Attribute serialized as string for run info.
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
std::vector< std::string > m_r_tool_description
Description of the used tool.
double m_alphaQCD
value of the QCD coupling.
Definition GenEvent_p7.h:99
int m_mpi
Number of multi particle interactions.
Definition GenEvent_p7.h:91
int m_momentumUnit
HepMC::Units::MomentumUnit casted to int.
std::vector< double > m_pdfinfo
Container of HepMC::PdfInfo object translated to vector<double> for simplicity.
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.
std::vector< std::string > m_e_attribute_name
Attribute name for event.
std::vector< float > m_heavyIon
Container of HepMC::HeavyIon object translated to vector<double>.
std::vector< std::string > m_r_tool_version
Version of the used tool.
std::vector< std::string > m_r_attribute_name
Attribute name for run info.
std::vector< std::string > m_e_attribute_string
Attribute serialized as string for event.
double m_alphaQED
value of the QED coupling.

◆ GenEvent_p7() [2/2]

GenEvent_p7::GenEvent_p7 ( int signalProcessId,
int eventNbr,
int mpi,
double eventScale,
double alphaQCD,
double alphaQED,
double filterWeight,
double filterHT,
double filterMET,
int signalProcessVtx,
int beamParticle1,
int beamParticle2,
const std::vector< double > & weights,
const std::vector< long int > & randomStates,
const std::vector< double > & crossSection,
const std::vector< float > & heavyIon,
const std::vector< double > & pdfinfo,
int momentumUnit,
int lengthUnit,
unsigned int verticesBegin,
unsigned int verticesEnd,
unsigned int particlesBegin,
unsigned int particlesEnd,
const std::vector< int > & e_attribute_id = std::vector<int>(),
const std::vector< std::string > & e_attribute_name = std::vector<std::string>(),
const std::vector< std::string > & e_attribute_string = std::vector<std::string>(),
const std::vector< std::string > & r_attribute_name = std::vector<std::string>(),
const std::vector< std::string > & r_attribute_string = std::vector<std::string>(),
const std::vector< std::string > & r_tool_name = std::vector<std::string>(),
const std::vector< std::string > & r_tool_version = std::vector<std::string>(),
const std::vector< std::string > & r_tool_description = std::vector<std::string>(),
const std::vector< std::string > & r_weight_names = std::vector<std::string>() )
inline

Constructor with parameters.

Definition at line 220 of file GenEvent_p7.h.

252 :
253 m_signalProcessId ( signalProcessId ),
254 m_eventNbr ( eventNbr ),
255 m_mpi ( mpi ),
256 m_eventScale ( eventScale ),
257 m_alphaQCD ( alphaQCD ),
258 m_alphaQED ( alphaQED ),
259 m_filterWeight ( filterWeight ),
260 m_filterHT ( filterHT ),
261 m_filterMET ( filterMET ),
262 m_signalProcessVtx ( signalProcessVtx ),
263 m_beamParticle1 ( beamParticle1 ),
264 m_beamParticle2 ( beamParticle2 ),
265 m_weights ( weights ),
266 m_randomStates ( randomStates ),
267 m_crossSection ( crossSection ),
268 m_heavyIon ( heavyIon ),
269 m_pdfinfo ( pdfinfo ),
270 m_momentumUnit ( momentumUnit ),
271 m_lengthUnit ( lengthUnit ),
272 m_verticesBegin ( verticesBegin ),
273 m_verticesEnd ( verticesEnd ),
274 m_particlesBegin ( particlesBegin ),
275 m_particlesEnd ( particlesEnd )
276 ,m_e_attribute_id ( e_attribute_id )
277 ,m_e_attribute_name ( e_attribute_name )
278 ,m_e_attribute_string( e_attribute_string )
279 ,m_r_attribute_name ( r_attribute_name )
280 ,m_r_attribute_string( r_attribute_string )
281 ,m_r_tool_name( r_tool_name )
282 ,m_r_tool_version( r_tool_version )
283 ,m_r_tool_description( r_tool_description )
284 ,m_r_weight_names( r_weight_names )
285{}

◆ McEventCollectionCnv_p7

friend class McEventCollectionCnv_p7
friend

Definition at line 29 of file GenEvent_p7.h.

Member Data Documentation

◆ m_alphaQCD

double GenEvent_p7::m_alphaQCD
protected

value of the QCD coupling.

see hep-ph/0109068

Definition at line 99 of file GenEvent_p7.h.

◆ m_alphaQED

double GenEvent_p7::m_alphaQED
protected

value of the QED coupling.

see hep-ph/0109068

Definition at line 103 of file GenEvent_p7.h.

◆ m_beamParticle1

int GenEvent_p7::m_beamParticle1
protected

Barcode of the beam particle 1.

Definition at line 118 of file GenEvent_p7.h.

◆ m_beamParticle2

int GenEvent_p7::m_beamParticle2
protected

Barcode of the beam particle 2.

Definition at line 122 of file GenEvent_p7.h.

◆ m_crossSection

std::vector<double> GenEvent_p7::m_crossSection
protected

Container of HepMC::GenCrossSection object translated to vector<double>.

Definition at line 135 of file GenEvent_p7.h.

◆ m_e_attribute_id

std::vector<int> GenEvent_p7::m_e_attribute_id
protected

We define those exactly as in the HepMC3::GenEvent.

Attribute owner id for event

Definition at line 171 of file GenEvent_p7.h.

◆ m_e_attribute_name

std::vector<std::string> GenEvent_p7::m_e_attribute_name
protected

Attribute name for event.

Definition at line 172 of file GenEvent_p7.h.

◆ m_e_attribute_string

std::vector<std::string> GenEvent_p7::m_e_attribute_string
protected

Attribute serialized as string for event.

Definition at line 173 of file GenEvent_p7.h.

◆ m_eventNbr

int GenEvent_p7::m_eventNbr
protected

Event number.

Definition at line 87 of file GenEvent_p7.h.

◆ m_eventScale

double GenEvent_p7::m_eventScale
protected

Energy scale.

see hep-ph/0109068

Definition at line 95 of file GenEvent_p7.h.

◆ m_filterHT

double GenEvent_p7::m_filterHT
protected

Definition at line 108 of file GenEvent_p7.h.

◆ m_filterMET

double GenEvent_p7::m_filterMET
protected

Definition at line 109 of file GenEvent_p7.h.

◆ m_filterWeight

double GenEvent_p7::m_filterWeight
protected

value of the extra weight introduced during reweighting events in filter and value of some variables we filter on

Definition at line 107 of file GenEvent_p7.h.

◆ m_heavyIon

std::vector<float> GenEvent_p7::m_heavyIon
protected

Container of HepMC::HeavyIon object translated to vector<double>.

Definition at line 139 of file GenEvent_p7.h.

◆ m_lengthUnit

int GenEvent_p7::m_lengthUnit
protected

HepMC::Units::LengthUnit casted to int.

Definition at line 152 of file GenEvent_p7.h.

◆ m_momentumUnit

int GenEvent_p7::m_momentumUnit
protected

HepMC::Units::MomentumUnit casted to int.

Definition at line 148 of file GenEvent_p7.h.

◆ m_mpi

int GenEvent_p7::m_mpi
protected

Number of multi particle interactions.

Definition at line 91 of file GenEvent_p7.h.

◆ m_particlesBegin

unsigned int GenEvent_p7::m_particlesBegin
protected

Begin position in the vector of particles composing this event.

Definition at line 164 of file GenEvent_p7.h.

◆ m_particlesEnd

unsigned int GenEvent_p7::m_particlesEnd
protected

End position in the vector of particles composing this event.

Definition at line 168 of file GenEvent_p7.h.

◆ m_pdfinfo

std::vector<double> GenEvent_p7::m_pdfinfo
protected

Container of HepMC::PdfInfo object translated to vector<double> for simplicity.

Definition at line 144 of file GenEvent_p7.h.

◆ m_r_attribute_name

std::vector<std::string> GenEvent_p7::m_r_attribute_name
protected

Attribute name for run info.

Definition at line 174 of file GenEvent_p7.h.

◆ m_r_attribute_string

std::vector<std::string> GenEvent_p7::m_r_attribute_string
protected

Attribute serialized as string for run info.

Definition at line 175 of file GenEvent_p7.h.

◆ m_r_tool_description

std::vector<std::string> GenEvent_p7::m_r_tool_description
protected

Description of the used tool.

Definition at line 178 of file GenEvent_p7.h.

◆ m_r_tool_name

std::vector<std::string> GenEvent_p7::m_r_tool_name
protected

Name of the used tool.

Definition at line 176 of file GenEvent_p7.h.

◆ m_r_tool_version

std::vector<std::string> GenEvent_p7::m_r_tool_version
protected

Version of the used tool.

Definition at line 177 of file GenEvent_p7.h.

◆ m_r_weight_names

std::vector<std::string> GenEvent_p7::m_r_weight_names
protected

The weight names.

Definition at line 179 of file GenEvent_p7.h.

◆ m_randomStates

std::vector<long int> GenEvent_p7::m_randomStates
protected

Container of random numbers for the generator states.

Definition at line 131 of file GenEvent_p7.h.

◆ m_signalProcessId

int GenEvent_p7::m_signalProcessId
protected

Id of the processus being generated.

Definition at line 83 of file GenEvent_p7.h.

◆ m_signalProcessVtx

int GenEvent_p7::m_signalProcessVtx
protected

Barcode of the GenVertex holding the signal process.

0 means that no signal process vertex has been written out. This may come from upstream limitations, e.g. an absence of this information in the input file.

Definition at line 114 of file GenEvent_p7.h.

◆ m_verticesBegin

unsigned int GenEvent_p7::m_verticesBegin
protected

Begin position in the vector of vertices composing this event.

Definition at line 156 of file GenEvent_p7.h.

◆ m_verticesEnd

unsigned int GenEvent_p7::m_verticesEnd
protected

End position in the vector of vertices composing this event.

Definition at line 160 of file GenEvent_p7.h.

◆ m_weights

std::vector<double> GenEvent_p7::m_weights
protected

Weights for this event.

First weight is used by default for hit and miss.

Definition at line 127 of file GenEvent_p7.h.


The documentation for this class was generated from the following file: