ATLAS Offline Software
Loading...
Searching...
No Matches
graphics
VP1
VP1Utils
VP1Utils
VP1ParticleData.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
7
// //
8
// Header file for class VP1ParticleData //
9
// //
10
// Description: Convenient and efficient access to particle //
11
// data. //
12
// //
13
// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
14
// Initial version: March 2008 //
15
// //
17
18
#ifndef VP1PARTICLEDATA_H
19
#define VP1PARTICLEDATA_H
20
21
#include <QString>
22
23
class
VP1ParticleData
{
24
public
:
25
26
//Fast and convenient access methods for often accessed data:
27
28
static
double
particleMass
(
const
int
& pdgcode,
bool
& ok );
//ok == false indicates problems
29
static
double
particleCharge
(
const
int
& pdgcode,
bool
& ok );
//ok == false indicates problems
30
static
QString
particleName
(
const
int
& pdgcode,
bool
& ok );
//ok == false indicates problems
31
32
private
:
33
VP1ParticleData
(){}
34
~VP1ParticleData
(){}
35
class
Imp;
36
};
37
38
#endif
VP1ParticleData::VP1ParticleData
VP1ParticleData()
Definition
VP1ParticleData.h:33
VP1ParticleData::particleMass
static double particleMass(const int &pdgcode, bool &ok)
Definition
VP1ParticleData.cxx:42
VP1ParticleData::particleCharge
static double particleCharge(const int &pdgcode, bool &ok)
Definition
VP1ParticleData.cxx:59
VP1ParticleData::particleName
static QString particleName(const int &pdgcode, bool &ok)
Definition
VP1ParticleData.cxx:81
VP1ParticleData::~VP1ParticleData
~VP1ParticleData()
Definition
VP1ParticleData.h:34
Generated on
for ATLAS Offline Software by
1.16.1