Main Page
Namespaces
Classes
Package Documentation
SimG4Core
Notification
interface
GenParticleInfo.h
Go to the documentation of this file.
1
#ifndef SimG4Core_GenParticleInfo_H
2
#define SimG4Core_GenParticleInfo_H
3
4
#include "G4VUserPrimaryParticleInformation.hh"
5
6
class
GenParticleInfo
:
public
G4VUserPrimaryParticleInformation {
7
public
:
8
explicit
GenParticleInfo
(
int
id
) :
id_
(id) {}
9
int
id
()
const
{
return
id_
; }
10
void
Print
()
const override
{}
11
12
private
:
13
int
id_
;
14
};
15
16
#endif
GenParticleInfo::Print
void Print() const override
Definition:
GenParticleInfo.h:10
GenParticleInfo::GenParticleInfo
GenParticleInfo(int id)
Definition:
GenParticleInfo.h:8
GenParticleInfo::id_
int id_
Definition:
GenParticleInfo.h:13
GenParticleInfo::id
int id() const
Definition:
GenParticleInfo.h:9
GenParticleInfo
Definition:
GenParticleInfo.h:6
Generated for CMSSW Reference Manual by
1.8.11