Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
{
8
public
:
9
explicit
GenParticleInfo
(
int
id
) :
id_
(id) {}
10
int
id
()
const
{
return
id_
; }
11
virtual
void
Print
()
const
{}
12
private
:
13
int
id_
;
14
};
15
16
#endif
GenParticleInfo::Print
virtual void Print() const
Definition:
GenParticleInfo.h:11
GenParticleInfo::GenParticleInfo
GenParticleInfo(int id)
Definition:
GenParticleInfo.h:9
GenParticleInfo::id_
int id_
Definition:
GenParticleInfo.h:13
GenParticleInfo::id
int id() const
Definition:
GenParticleInfo.h:10
GenParticleInfo
Definition:
GenParticleInfo.h:6
Generated for CMSSW Reference Manual by
1.8.5