GammaWare
Head Version for release 0.9
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CorrelatedSpaceTree2D.h
Go to the documentation of this file.
1
2
3
4
#ifndef Gw_CorrelatedSpaceTree2D
5
#define Gw_CorrelatedSpaceTree2D
6
7
#ifndef Gw_CorrelatedSpaceTree2
8
#include "
CorrelatedSpaceTree2.h
"
9
#endif
10
11
class
TH2;
12
class
TH1;
13
14
namespace
Gw {
15
20
class
CorrelatedSpaceTree2D
:
public
CorrelatedSpaceTree2
21
{
22
23
protected
:
24
25
Double_t
fCounts
;
26
27
public
:
28
CorrelatedSpaceTree2D
();
29
virtual
~CorrelatedSpaceTree2D
();
30
32
void
FillCounts
(Int_t i, Int_t j, TH2* h2);
33
35
void
FillCounts
(Int_t i, Int_t j, Int_t dimX,
const
Double_t* Xn,
const
Double_t weight = 1.);
36
38
void
FillCounts
(Int_t j);
39
41
void
SetCounts
(Double_t weight);
42
44
Double_t
GetCounts
() {
return
fCounts
; }
45
47
void
FillHisto
(Int_t j, TH1* h);
48
50
void
CheckH2InTree
(TH2* h2);
51
53
void
SetBranch
();
54
56
TBranch*
SetAddress
();
57
58
ClassDef(
CorrelatedSpaceTree2D
,1)
// Correlated Space Tree in 2 dim for Integers
59
};
60
61
}
// end namespace
62
63
#endif
Gw::CorrelatedSpaceTree2
CorrelatedSpaceTree2 class that manages a 2D symmetrical correlated space stored in a tree In the ent...
Definition:
CorrelatedSpaceTree2.h:59
Gw::CorrelatedSpaceTree2D::fCounts
Double_t fCounts
Definition:
CorrelatedSpaceTree2D.h:25
CorrelatedSpaceTree2.h
header file for all type of CorrelatedSpaceTree2
Gw::CorrelatedSpaceTree2D::SetBranch
void SetBranch()
Set branch.
Definition:
CorrelatedSpaceTree2D.cpp:64
Gw::CorrelatedSpaceTree2D::SetCounts
void SetCounts(Double_t weight)
Set counts.
Definition:
CorrelatedSpaceTree2D.cpp:86
Gw::CorrelatedSpaceTree2D::SetAddress
TBranch * SetAddress()
Set address.
Definition:
CorrelatedSpaceTree2D.cpp:70
Gw::CorrelatedSpaceTree2D::~CorrelatedSpaceTree2D
virtual ~CorrelatedSpaceTree2D()
Definition:
CorrelatedSpaceTree2D.cpp:58
Gw::CorrelatedSpaceTree2D::FillCounts
void FillCounts(Int_t i, Int_t j, TH2 *h2)
fill counts
Definition:
CorrelatedSpaceTree2D.cpp:92
Gw::CorrelatedSpaceTree2D::GetCounts
Double_t GetCounts()
Get counts.
Definition:
CorrelatedSpaceTree2D.h:44
Gw::CorrelatedSpaceTree2D
CorrelatedSpaceTree2D class that manages a 2D symmetrical correlated space of doubles store in a tree...
Definition:
CorrelatedSpaceTree2D.h:20
Gw::CorrelatedSpaceTree2D::FillHisto
void FillHisto(Int_t j, TH1 *h)
Fill histo.
Definition:
CorrelatedSpaceTree2D.cpp:113
Gw::CorrelatedSpaceTree2D::CheckH2InTree
void CheckH2InTree(TH2 *h2)
Check if h2 already in tree.
Definition:
CorrelatedSpaceTree2D.cpp:119
Gw::CorrelatedSpaceTree2D::CorrelatedSpaceTree2D
CorrelatedSpaceTree2D()
nb of counts for a given x,y
src
root
physics
CorrelatedSpaceTree2D.h
Generated on Wed Sep 20 2017 17:26:16 for GammaWare by
1.8.7