ATLAS Offline Software
Loading...
Searching...
No Matches
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
24public:
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
32private:
35 class Imp;
36};
37
38#endif
static double particleMass(const int &pdgcode, bool &ok)
static double particleCharge(const int &pdgcode, bool &ok)
static QString particleName(const int &pdgcode, bool &ok)