ATLAS Offline Software
Public Member Functions | Protected Attributes | Friends | List of all members
GenEvent_p6 Class Reference

#include <GenEvent_p6.h>

Collaboration diagram for GenEvent_p6:

Public Member Functions

 GenEvent_p6 ()
 Default constructor. More...
 
 GenEvent_p6 (int signalProcessId, int eventNbr, int mpi, double eventScale, double alphaQCD, double alphaQED, double filterWeight, 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 >())
 Constructor with parameters. More...
 

Protected Attributes

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

Friends

class McEventCollectionCnv_p6
 

Detailed Description

Definition at line 22 of file GenEvent_p6.h.

Constructor & Destructor Documentation

◆ GenEvent_p6() [1/2]

GenEvent_p6::GenEvent_p6 ( )
inline

Default constructor.

Inline methods:

Definition at line 181 of file GenEvent_p6.h.

181  :
182  m_signalProcessId ( -1 ),
183  m_eventNbr ( -1 ),
184  m_mpi ( -1 ),
185  m_eventScale ( -1 ),
186  m_alphaQCD ( -1 ),
187  m_alphaQED ( -1 ),
188  m_filterWeight ( 1 ),
189 #ifdef HEPMC3
190  m_filterHT ( -13 ),
191  m_filterMET ( -13 ),
192 #endif
193  m_signalProcessVtx ( 0 ),
194  m_beamParticle1 ( 0 ),
195  m_beamParticle2 ( 0 ),
196  m_weights ( ),
197  m_randomStates ( ),
198  m_crossSection ( ),
199  m_heavyIon ( ),
200  m_pdfinfo ( ),
201  m_momentumUnit ( 0 ),
202  m_lengthUnit ( 0 ),
203  m_verticesBegin ( 0 ),
204  m_verticesEnd ( 0 ),
205  m_particlesBegin ( 0 ),
206  m_particlesEnd ( 0 )
207  ,m_e_attribute_id ( )
208  ,m_e_attribute_name ( )
210  ,m_r_attribute_name ( )
212 {}

◆ GenEvent_p6() [2/2]

GenEvent_p6::GenEvent_p6 ( int  signalProcessId,
int  eventNbr,
int  mpi,
double  eventScale,
double  alphaQCD,
double  alphaQED,
double  filterWeight,
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>() 
)
inline

Constructor with parameters.

Definition at line 214 of file GenEvent_p6.h.

244  :
245  m_signalProcessId ( signalProcessId ),
246  m_eventNbr ( eventNbr ),
247  m_mpi ( mpi ),
248  m_eventScale ( eventScale ),
249  m_alphaQCD ( alphaQCD ),
250  m_alphaQED ( alphaQED ),
251  m_filterWeight ( filterWeight ),
252 #ifdef HEPMC3
253  m_filterHT ( filterHT ),
254  m_filterMET ( filterMET ),
255 #endif
256  m_signalProcessVtx ( signalProcessVtx ),
257  m_beamParticle1 ( beamParticle1 ),
258  m_beamParticle2 ( beamParticle2 ),
259  m_weights ( weights ),
260  m_randomStates ( randomStates ),
262  m_heavyIon ( heavyIon ),
263  m_pdfinfo ( pdfinfo ),
264  m_momentumUnit ( momentumUnit ),
265  m_lengthUnit ( lengthUnit ),
266  m_verticesBegin ( verticesBegin ),
267  m_verticesEnd ( verticesEnd ),
268  m_particlesBegin ( particlesBegin ),
269  m_particlesEnd ( particlesEnd )
270  ,m_e_attribute_id ( e_attribute_id )
271  ,m_e_attribute_name ( e_attribute_name )
272  ,m_e_attribute_string( e_attribute_string )
273  ,m_r_attribute_name ( r_attribute_name )
274  ,m_r_attribute_string( r_attribute_string )
275 {}

Friends And Related Function Documentation

◆ McEventCollectionCnv_p6

friend class McEventCollectionCnv_p6
friend

Definition at line 29 of file GenEvent_p6.h.

Member Data Documentation

◆ m_alphaQCD

double GenEvent_p6::m_alphaQCD
protected

value of the QCD coupling.

see hep-ph/0109068

Definition at line 97 of file GenEvent_p6.h.

◆ m_alphaQED

double GenEvent_p6::m_alphaQED
protected

value of the QED coupling.

see hep-ph/0109068

Definition at line 101 of file GenEvent_p6.h.

◆ m_beamParticle1

int GenEvent_p6::m_beamParticle1
protected

Barcode of the beam particle 1.

Definition at line 118 of file GenEvent_p6.h.

◆ m_beamParticle2

int GenEvent_p6::m_beamParticle2
protected

Barcode of the beam particle 2.

Definition at line 122 of file GenEvent_p6.h.

◆ m_crossSection

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

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

Definition at line 135 of file GenEvent_p6.h.

◆ m_e_attribute_id

std::vector<int> GenEvent_p6::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_p6.h.

◆ m_e_attribute_name

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

Attribute name for event.

Definition at line 172 of file GenEvent_p6.h.

◆ m_e_attribute_string

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

Attribute serialized as string for event.

Definition at line 173 of file GenEvent_p6.h.

◆ m_eventNbr

int GenEvent_p6::m_eventNbr
protected

Event number.

Definition at line 85 of file GenEvent_p6.h.

◆ m_eventScale

double GenEvent_p6::m_eventScale
protected

Energy scale.

see hep-ph/0109068

Definition at line 93 of file GenEvent_p6.h.

◆ m_filterWeight

double GenEvent_p6::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 105 of file GenEvent_p6.h.

◆ m_heavyIon

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

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

Definition at line 139 of file GenEvent_p6.h.

◆ m_lengthUnit

int GenEvent_p6::m_lengthUnit
protected

HepMC::Units::LengthUnit casted to int.

Definition at line 152 of file GenEvent_p6.h.

◆ m_momentumUnit

int GenEvent_p6::m_momentumUnit
protected

HepMC::Units::MomentumUnit casted to int.

Definition at line 148 of file GenEvent_p6.h.

◆ m_mpi

int GenEvent_p6::m_mpi
protected

Number of multi particle interactions.

Definition at line 89 of file GenEvent_p6.h.

◆ m_particlesBegin

unsigned int GenEvent_p6::m_particlesBegin
protected

Begin position in the vector of particles composing this event.

Definition at line 164 of file GenEvent_p6.h.

◆ m_particlesEnd

unsigned int GenEvent_p6::m_particlesEnd
protected

End position in the vector of particles composing this event.

Definition at line 168 of file GenEvent_p6.h.

◆ m_pdfinfo

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

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

Definition at line 144 of file GenEvent_p6.h.

◆ m_r_attribute_name

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

Attribute name for run info.

Definition at line 174 of file GenEvent_p6.h.

◆ m_r_attribute_string

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

Attribute serialized as string for run info.

Definition at line 175 of file GenEvent_p6.h.

◆ m_randomStates

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

Container of random numbers for the generator states.

Definition at line 131 of file GenEvent_p6.h.

◆ m_signalProcessId

int GenEvent_p6::m_signalProcessId
protected

Id of the processus being generated.

Definition at line 81 of file GenEvent_p6.h.

◆ m_signalProcessVtx

int GenEvent_p6::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 (like HEPEVT)

Definition at line 114 of file GenEvent_p6.h.

◆ m_verticesBegin

unsigned int GenEvent_p6::m_verticesBegin
protected

Begin position in the vector of vertices composing this event.

Definition at line 156 of file GenEvent_p6.h.

◆ m_verticesEnd

unsigned int GenEvent_p6::m_verticesEnd
protected

End position in the vector of vertices composing this event.

Definition at line 160 of file GenEvent_p6.h.

◆ m_weights

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

Weights for this event.

First weight is used by default for hit and miss.

Definition at line 127 of file GenEvent_p6.h.


The documentation for this class was generated from the following file:
GenEvent_p6::m_alphaQED
double m_alphaQED
value of the QED coupling.
Definition: GenEvent_p6.h:101
GenEvent_p6::m_lengthUnit
int m_lengthUnit
HepMC::Units::LengthUnit casted to int.
Definition: GenEvent_p6.h:152
GenEvent_p6::m_mpi
int m_mpi
Number of multi particle interactions.
Definition: GenEvent_p6.h:89
GenEvent_p6::m_filterWeight
double m_filterWeight
value of the extra weight introduced during reweighting events in filter and value of some variables ...
Definition: GenEvent_p6.h:105
GenEvent_p6::m_momentumUnit
int m_momentumUnit
HepMC::Units::MomentumUnit casted to int.
Definition: GenEvent_p6.h:148
GenEvent_p6::m_particlesBegin
unsigned int m_particlesBegin
Begin position in the vector of particles composing this event.
Definition: GenEvent_p6.h:164
GenEvent_p6::m_signalProcessId
int m_signalProcessId
Id of the processus being generated.
Definition: GenEvent_p6.h:81
GenEvent_p6::m_signalProcessVtx
int m_signalProcessVtx
Barcode of the GenVertex holding the signal process.
Definition: GenEvent_p6.h:114
GenEvent_p6::m_verticesEnd
unsigned int m_verticesEnd
End position in the vector of vertices composing this event.
Definition: GenEvent_p6.h:160
GenEvent_p6::m_e_attribute_id
std::vector< int > m_e_attribute_id
We define those exactly as in the HepMC3::GenEvent.
Definition: GenEvent_p6.h:171
GenEvent_p6::m_crossSection
std::vector< double > m_crossSection
Container of HepMC::GenCrossSection object translated to vector<double>
Definition: GenEvent_p6.h:135
GenEvent_p6::m_particlesEnd
unsigned int m_particlesEnd
End position in the vector of particles composing this event.
Definition: GenEvent_p6.h:168
GenEvent_p6::m_randomStates
std::vector< long int > m_randomStates
Container of random numbers for the generator states.
Definition: GenEvent_p6.h:131
GenEvent_p6::m_beamParticle1
int m_beamParticle1
Barcode of the beam particle 1.
Definition: GenEvent_p6.h:118
GenEvent_p6::m_eventScale
double m_eventScale
Energy scale.
Definition: GenEvent_p6.h:93
GenEvent_p6::m_eventNbr
int m_eventNbr
Event number.
Definition: GenEvent_p6.h:85
xAOD::crossSection
crossSection
Definition: TruthEvent_v1.cxx:33
weights
Definition: herwig7_interface.h:44
GenEvent_p6::m_r_attribute_name
std::vector< std::string > m_r_attribute_name
Attribute name for run info.
Definition: GenEvent_p6.h:174
GenEvent_p6::m_e_attribute_name
std::vector< std::string > m_e_attribute_name
Attribute name for event.
Definition: GenEvent_p6.h:172
GenEvent_p6::m_verticesBegin
unsigned int m_verticesBegin
Begin position in the vector of vertices composing this event.
Definition: GenEvent_p6.h:156
GenEvent_p6::m_weights
std::vector< double > m_weights
Weights for this event.
Definition: GenEvent_p6.h:127
GenEvent_p6::m_e_attribute_string
std::vector< std::string > m_e_attribute_string
Attribute serialized as string for event.
Definition: GenEvent_p6.h:173
HepMC::mpi
int mpi(const GenEvent &e)
Definition: GenEvent.h:629
GenEvent_p6::m_heavyIon
std::vector< float > m_heavyIon
Container of HepMC::HeavyIon object translated to vector<double>
Definition: GenEvent_p6.h:139
GenEvent_p6::m_beamParticle2
int m_beamParticle2
Barcode of the beam particle 2.
Definition: GenEvent_p6.h:122
GenEvent_p6::m_alphaQCD
double m_alphaQCD
value of the QCD coupling.
Definition: GenEvent_p6.h:97
GenEvent_p6::m_r_attribute_string
std::vector< std::string > m_r_attribute_string
Attribute serialized as string for run info.
Definition: GenEvent_p6.h:175
GenEvent_p6::m_pdfinfo
std::vector< double > m_pdfinfo
Container of HepMC::PdfInfo object translated to vector<double> for simplicity.
Definition: GenEvent_p6.h:144