Pluto v6.3.0
Loading...
Searching...
No Matches
printParticle.C
Go to the documentation of this file.
1//TITLE Access and print basic particle properties
2
3{
4 //Make sure that data base is filled:
6
7 //The use of the wrapper functions is always
8 //a good starting point:
10 //-1 means print all
11
13 //print out eta values with pid=17
14
15 //as all these are wrapper functions,
16 //one can also access the data base:
17 makeDataBase()->ListEntries(-1,1,"*name,pid,*width");
18 //again: -1 means all, option=1 means one-liner
19 //the string also acts as a filter:
20 //only entries where at least one of
21 //the params are existing, are printed
22 //the names with "*" are NOT taken into
23 //account when filtering but printed
24 //in addition
25
26 //Print out which parameters are available:
27 makeDataBase()->Print();
28}
PStaticData * makeStaticData()
listParticle(-1)
makeDataBase() -> ListEntries(-1, 1,"*name,pid,*width")