ROOTPWA
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
tools
TPDGDB.h
Go to the documentation of this file.
1
2
//
3
// Copyright 2009 Sebastian Neubert
4
//
5
// This file is part of rootpwa
6
//
7
// rootpwa is free software: you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
11
//
12
// rootpwa is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU General Public License
18
// along with rootpwa. If not, see <http://www.gnu.org/licenses/>.
19
//
21
22
//-----------------------------------------------------------
23
// Description:
24
// New PDG data base
25
//
26
// Author List:
27
// Sebastian Neubert TUM (original author)
28
//
29
//
30
//-----------------------------------------------------------
31
32
#ifndef TPDGDB_HH
33
#define TPDGDB_HH
34
35
// Base Class Headers ----------------
36
#include "TObject.h"
37
38
// Collaborating Class Headers -------
39
40
// Collaborating Class Declarations --
41
class
TString;
42
class
TTree;
43
class
TPDGEntry
;
44
45
class
TPDGDB
:
public
TObject {
46
public
:
47
48
// Constructors/Destructors ---------
49
TPDGDB
():
_tree
(NULL){}
50
virtual
~TPDGDB
(){}
51
52
// Operators
53
54
55
// Accessors -----------------------
56
TTree*
getTree
() {
return
_tree
;}
57
using
TObject::Draw
;
58
void
Draw
(
char
* com,
char
* sel,
char
* opt,
int
n
,
int
s);
59
60
61
// Modifiers -----------------------
62
63
64
// Operations ----------------------
65
unsigned
int
read
(
const
TString&
filename
,
int
num=0);
66
67
68
private
:
69
70
// Private Data Members ------------
71
TTree*
_tree
;
// data
72
73
// Private Methods -----------------
74
75
public
:
76
ClassDef(
TPDGDB
,1)
77
78
};
79
80
#endif
81
82
//--------------------------------------------------------------
83
// $Log$
84
//--------------------------------------------------------------
Generated by
1.8.1.2