Class Reference for E1039 Core & Analysis Software
SQMCEvent_v1 Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/interface_main/SQMCEvent_v1.h>

+ Inheritance diagram for SQMCEvent_v1:
+ Collaboration diagram for SQMCEvent_v1:

Public Member Functions

 SQMCEvent_v1 ()
 
virtual ~SQMCEvent_v1 ()
 
void identify (std::ostream &os=std::cout) const
 
void Reset ()
 Clear Event. More...
 
int isValid () const
 isValid returns non zero if object contains vailid data More...
 
SQMCEventClone () const
 
int get_process_id () const
 Return the primary process ID. More...
 
void set_process_id (const int a)
 
double get_cross_section () const
 Return the cross section. More...
 
void set_cross_section (const double a)
 
double get_weight () const
 Return the event weight. More...
 
void set_weight (const double a)
 
int get_particle_id (const int i) const
 Return the particle ID of the primary process, where i=0...3 for "0 + 1 -> 2 + 3". More...
 
void set_particle_id (const int i, const int a)
 
TLorentzVector get_particle_momentum (const int i) const
 Return the particle momentum of the primary process, where i=0...3 for "0 + 1 -> 2 + 3". More...
 
void set_particle_momentum (const int i, const TLorentzVector a)
 
- Public Member Functions inherited from SQMCEvent
virtual ~SQMCEvent ()
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Protected Attributes

int _proc_id
 
double _xsec
 
double _weight
 
int _par_id [_N_PAR]
 
TLorentzVector _par_mom [_N_PAR]
 

Static Protected Attributes

static const int _N_PAR = 4
 

Additional Inherited Members

- Protected Member Functions inherited from SQMCEvent
 SQMCEvent ()
 
 ClassDef (SQMCEvent, 1)
 

Detailed Description

Definition at line 5 of file SQMCEvent_v1.h.

Constructor & Destructor Documentation

◆ SQMCEvent_v1()

SQMCEvent_v1::SQMCEvent_v1 ( )

Definition at line 5 of file SQMCEvent_v1.cxx.

References _par_id, and _par_mom.

Referenced by Clone().

+ Here is the caller graph for this function:

◆ ~SQMCEvent_v1()

SQMCEvent_v1::~SQMCEvent_v1 ( )
virtual

Definition at line 16 of file SQMCEvent_v1.cxx.

Member Function Documentation

◆ Clone()

SQMCEvent* SQMCEvent_v1::Clone ( ) const
inlinevirtual

Implements SQMCEvent.

Definition at line 13 of file SQMCEvent_v1.h.

References SQMCEvent_v1().

+ Here is the call graph for this function:

◆ get_cross_section()

double SQMCEvent_v1::get_cross_section ( ) const
inlinevirtual

Return the cross section.

Implements SQMCEvent.

Definition at line 18 of file SQMCEvent_v1.h.

References _xsec.

◆ get_particle_id()

int SQMCEvent_v1::get_particle_id ( const int  i) const
virtual

Return the particle ID of the primary process, where i=0...3 for "0 + 1 -> 2 + 3".

Implements SQMCEvent.

Definition at line 31 of file SQMCEvent_v1.cxx.

References _N_PAR, _par_id, and PHWHERE.

◆ get_particle_momentum()

TLorentzVector SQMCEvent_v1::get_particle_momentum ( const int  i) const
virtual

Return the particle momentum of the primary process, where i=0...3 for "0 + 1 -> 2 + 3".

Implements SQMCEvent.

Definition at line 49 of file SQMCEvent_v1.cxx.

References _N_PAR, _par_mom, and PHWHERE.

◆ get_process_id()

int SQMCEvent_v1::get_process_id ( ) const
inlinevirtual

Return the primary process ID.

Implements SQMCEvent.

Definition at line 15 of file SQMCEvent_v1.h.

References _proc_id.

◆ get_weight()

double SQMCEvent_v1::get_weight ( ) const
inlinevirtual

Return the event weight.

Implements SQMCEvent.

Definition at line 21 of file SQMCEvent_v1.h.

References _weight.

◆ identify()

void SQMCEvent_v1::identify ( std::ostream &  os = std::cout) const
virtual

identify Function from PHObject

Parameters
osOutput Stream

Implements SQMCEvent.

Definition at line 21 of file SQMCEvent_v1.cxx.

◆ isValid()

int SQMCEvent_v1::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Implements SQMCEvent.

Definition at line 12 of file SQMCEvent_v1.h.

◆ Reset()

void SQMCEvent_v1::Reset ( )
virtual

Clear Event.

Implements SQMCEvent.

Definition at line 26 of file SQMCEvent_v1.cxx.

◆ set_cross_section()

void SQMCEvent_v1::set_cross_section ( const double  a)
inlinevirtual

Implements SQMCEvent.

Definition at line 19 of file SQMCEvent_v1.h.

References _xsec.

◆ set_particle_id()

void SQMCEvent_v1::set_particle_id ( const int  i,
const int  a 
)
virtual

Implements SQMCEvent.

Definition at line 40 of file SQMCEvent_v1.cxx.

References _N_PAR, _par_id, and PHWHERE.

◆ set_particle_momentum()

void SQMCEvent_v1::set_particle_momentum ( const int  i,
const TLorentzVector  a 
)
virtual

Implements SQMCEvent.

Definition at line 58 of file SQMCEvent_v1.cxx.

References _N_PAR, _par_mom, and PHWHERE.

◆ set_process_id()

void SQMCEvent_v1::set_process_id ( const int  a)
inlinevirtual

Implements SQMCEvent.

Definition at line 16 of file SQMCEvent_v1.h.

References _proc_id.

◆ set_weight()

void SQMCEvent_v1::set_weight ( const double  a)
inlinevirtual

Implements SQMCEvent.

Definition at line 22 of file SQMCEvent_v1.h.

References _weight.

Member Data Documentation

◆ _N_PAR

const int SQMCEvent_v1::_N_PAR = 4
staticprotected

◆ _par_id

int SQMCEvent_v1::_par_id[_N_PAR]
protected

Definition at line 36 of file SQMCEvent_v1.h.

Referenced by get_particle_id(), set_particle_id(), and SQMCEvent_v1().

◆ _par_mom

TLorentzVector SQMCEvent_v1::_par_mom[_N_PAR]
protected

Definition at line 37 of file SQMCEvent_v1.h.

Referenced by get_particle_momentum(), set_particle_momentum(), and SQMCEvent_v1().

◆ _proc_id

int SQMCEvent_v1::_proc_id
protected

Definition at line 33 of file SQMCEvent_v1.h.

Referenced by get_process_id(), and set_process_id().

◆ _weight

double SQMCEvent_v1::_weight
protected

Definition at line 35 of file SQMCEvent_v1.h.

Referenced by get_weight(), and set_weight().

◆ _xsec

double SQMCEvent_v1::_xsec
protected

Definition at line 34 of file SQMCEvent_v1.h.

Referenced by get_cross_section(), and set_cross_section().


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