Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
Generators
src
HepMCParticle.cc
Go to the documentation of this file.
1
#include "
SimG4Core/Generators/interface/HepMCParticle.h
"
2
3
HepMCParticle::HepMCParticle
() {}
4
5
HepMCParticle::HepMCParticle
(G4PrimaryParticle*
pp
,
int
status
) :
6
theParticle(pp),status_code(status) {}
7
8
HepMCParticle::~HepMCParticle
() {}
9
10
const
HepMCParticle
&
HepMCParticle::operator=
(
const
HepMCParticle
&right)
11
{
return
*
this
; }
12
13
int
HepMCParticle::operator==
(
const
HepMCParticle
&right)
const
{
return
false
; }
14
int
HepMCParticle::operator!=
(
const
HepMCParticle
&right)
const
{
return
true
;}
15
16
G4PrimaryParticle *
HepMCParticle::getTheParticle
() {
return
theParticle
; }
17
void
HepMCParticle::done
() {
status_code
= -1; }
18
const
int
HepMCParticle::getStatus
() {
return
status_code
;}
HepMCParticle::HepMCParticle
HepMCParticle()
Definition:
HepMCParticle.cc:3
createTree.pp
tuple pp
Definition:
createTree.py:15
HepMCParticle::operator==
int operator==(const HepMCParticle &right) const
Definition:
HepMCParticle.cc:13
HepMCParticle::~HepMCParticle
~HepMCParticle()
Definition:
HepMCParticle.cc:8
HepMCParticle::getStatus
const int getStatus()
Definition:
HepMCParticle.cc:18
HepMCParticle::theParticle
G4PrimaryParticle * theParticle
Definition:
HepMCParticle.h:16
HepMCParticle::done
void done()
Definition:
HepMCParticle.cc:17
HepMCParticle::status_code
int status_code
Definition:
HepMCParticle.h:19
HepMCParticle::getTheParticle
G4PrimaryParticle * getTheParticle()
Definition:
HepMCParticle.cc:16
HepMCParticle::operator!=
int operator!=(const HepMCParticle &right) const
Definition:
HepMCParticle.cc:14
HepMCParticle.h
ntuplemaker.status
tuple status
Definition:
ntuplemaker.py:245
HepMCParticle::operator=
const HepMCParticle & operator=(const HepMCParticle &right)
Definition:
HepMCParticle.cc:10
HepMCParticle
Definition:
HepMCParticle.h:6
Generated for CMSSW Reference Manual by
1.8.5