StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StHbtMaker
CorrFctn
ntuplePair.h
1
/***************************************************************************
2
*
3
*
4
* Author: Dominik Flierl flierl@bnl.gov
5
***************************************************************************
6
*
7
* Description:
8
* pairs information into one huge ntuple
9
*
10
**************************************************************************/
11
12
#ifndef ntuplePair_hh
13
#define ntuplePair_hh
14
15
#include "StHbtMaker/Base/StHbtCorrFctn.hh"
16
#ifdef __ROOT__
17
18
#include "StHbtMaker/Infrastructure/StHbtTFile.hh"
19
20
class
ntuplePair :
public
StHbtCorrFctn
21
{
22
23
// define ntuple content in a nested struct
24
struct
mPair_t
25
{
26
float
qinv ;
27
float
kt ;
28
float
rap ;
29
float
entSep ;
30
float
qual ;
31
} ;
32
33
private
:
34
// my tree
35
StHbtTree* mTree ;
36
// my tree consists of mtracks
37
mPair_t mPair ;
38
39
public
:
40
ntuplePair() ;
41
virtual
~ntuplePair() ;
42
43
// mandatory members
44
virtual
StHbtString Report() ;
45
virtual
void
AddRealPair(
const
StHbtPair
*) ;
46
virtual
void
AddMixedPair(
const
StHbtPair
*) ;
47
virtual
void
Finish() ;
48
49
// access the tree from
50
StHbtTree* GetNtuplePair() {
return
mTree; } ;
51
52
// root macro
53
ClassDef(ntuplePair, 0)
54
};
55
56
#endif // ifdeff ROOT
57
#endif // ifdeff ntupleTrack_hh
58
StHbtCorrFctn
Definition:
StHbtCorrFctn.hh:66
StHbtPair
Definition:
StHbtPair.hh:98
Generated by
1.8.5