GammaWare
Head Version for release 0.9
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CorrelatedSpaceTree2I.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Copyright (C) 2004 by Olivier Stezowski *
3
* Copyright (C) 2010 by Christian Finck *
4
* stezow(AT)ipnl.in2p3.fr *
5
* *
6
* This program is free software; you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation; either version 2 of the License, or *
9
* (at your option) any later version. *
10
* *
11
* This program is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program; if not, write to the *
18
* Free Software Foundation, Inc., *
19
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20
***************************************************************************/
21
25
#ifndef Gw_CorrelatedSpaceTree2I
26
#define Gw_CorrelatedSpaceTree2I
27
28
#ifndef Gw_CorrelatedSpaceTree2
29
#include "
CorrelatedSpaceTree2.h
"
30
#endif
31
32
class
TH2;
33
class
TH1;
34
35
namespace
Gw {
36
41
class
CorrelatedSpaceTree2I
:
public
CorrelatedSpaceTree2
42
{
43
44
protected
:
45
46
Int_t
fCounts
;
47
48
public
:
49
CorrelatedSpaceTree2I
();
50
virtual
~CorrelatedSpaceTree2I
();
51
53
void
FillCounts
(Int_t i, Int_t j, TH2* h2);
54
56
void
FillCounts
(Int_t i, Int_t j, Int_t dimX,
const
Double_t* Xn,
const
Double_t weight = 1.);
57
59
void
FillCounts
(Int_t j);
60
62
void
SetCounts
(Double_t weight);
63
65
Double_t
GetCounts
() {
return
(Double_t)
fCounts
; }
66
68
void
FillHisto
(Int_t j, TH1* h);
69
71
void
CheckH2InTree
(TH2* h2);
72
74
void
SetBranch
();
75
77
TBranch*
SetAddress
();
78
79
ClassDef(
CorrelatedSpaceTree2I
,1)
// Correlated Space Tree in 2 dim for Integers
80
};
81
82
}
// end namespace
83
84
#endif
Gw::CorrelatedSpaceTree2
CorrelatedSpaceTree2 class that manages a 2D symmetrical correlated space stored in a tree In the ent...
Definition:
CorrelatedSpaceTree2.h:59
CorrelatedSpaceTree2.h
header file for all type of CorrelatedSpaceTree2
Gw::CorrelatedSpaceTree2I::SetBranch
void SetBranch()
Set branch.
Definition:
CorrelatedSpaceTree2I.cpp:64
Gw::CorrelatedSpaceTree2I::FillCounts
void FillCounts(Int_t i, Int_t j, TH2 *h2)
fill counts
Definition:
CorrelatedSpaceTree2I.cpp:90
Gw::CorrelatedSpaceTree2I::SetAddress
TBranch * SetAddress()
Set address.
Definition:
CorrelatedSpaceTree2I.cpp:70
Gw::CorrelatedSpaceTree2I::FillHisto
void FillHisto(Int_t j, TH1 *h)
Fill histo.
Definition:
CorrelatedSpaceTree2I.cpp:111
Gw::CorrelatedSpaceTree2I::GetCounts
Double_t GetCounts()
Get counts.
Definition:
CorrelatedSpaceTree2I.h:65
Gw::CorrelatedSpaceTree2I::~CorrelatedSpaceTree2I
virtual ~CorrelatedSpaceTree2I()
Definition:
CorrelatedSpaceTree2I.cpp:58
Gw::CorrelatedSpaceTree2I::fCounts
Int_t fCounts
Definition:
CorrelatedSpaceTree2I.h:46
Gw::CorrelatedSpaceTree2I
CorrelatedSpaceTree2I class that manages a 2D symmetrical correlated space of integers store in a tre...
Definition:
CorrelatedSpaceTree2I.h:41
Gw::CorrelatedSpaceTree2I::CheckH2InTree
void CheckH2InTree(TH2 *h2)
Check if h2 already in tree.
Definition:
CorrelatedSpaceTree2I.cpp:117
Gw::CorrelatedSpaceTree2I::SetCounts
void SetCounts(Double_t weight)
Set counts.
Definition:
CorrelatedSpaceTree2I.cpp:84
Gw::CorrelatedSpaceTree2I::CorrelatedSpaceTree2I
CorrelatedSpaceTree2I()
nb of counts for a given x,y
src
root
physics
CorrelatedSpaceTree2I.h
Generated on Wed Sep 20 2017 17:26:16 for GammaWare by
1.8.7