GammaWare
Head Version for release 0.9
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
CorrelatedSpaceTree2F.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_CorrelatedSpaceTree2F
26
#define Gw_CorrelatedSpaceTree2F
27
28
#ifndef Gw_CorrelatedSpaceTree2
29
#include "
CorrelatedSpaceTree2.h
"
30
#endif
31
32
class
TH2;
33
class
TH1;
34
35
namespace
Gw {
36
40
class
CorrelatedSpaceTree2F
:
public
CorrelatedSpaceTree2
41
{
42
43
protected
:
44
45
Float_t
fCounts
;
46
47
public
:
48
CorrelatedSpaceTree2F
();
49
virtual
~CorrelatedSpaceTree2F
();
50
52
void
FillCounts
(Int_t i, Int_t j, TH2* h2);
53
55
void
FillCounts
(Int_t i, Int_t j, Int_t dimX,
const
Double_t* Xn,
const
Double_t weight = 1.);
56
58
void
FillCounts
(Int_t j);
59
61
void
SetCounts
(Double_t weight);
62
64
Double_t
GetCounts
() {
return
(Double_t)
fCounts
; }
65
67
void
FillHisto
(Int_t j, TH1* h);
68
70
void
CheckH2InTree
(TH2* h2);
71
73
void
SetBranch
();
74
76
TBranch*
SetAddress
();
77
78
ClassDef(
CorrelatedSpaceTree2F
,1)
// Correlated Space Tree in 2 dim for Integers
79
};
80
81
}
// end namespace
82
83
#endif
Gw::CorrelatedSpaceTree2
CorrelatedSpaceTree2 class that manages a 2D symmetrical correlated space stored in a tree In the ent...
Definition:
CorrelatedSpaceTree2.h:59
Gw::CorrelatedSpaceTree2F::~CorrelatedSpaceTree2F
virtual ~CorrelatedSpaceTree2F()
Definition:
CorrelatedSpaceTree2F.cpp:58
Gw::CorrelatedSpaceTree2F::GetCounts
Double_t GetCounts()
Get counts.
Definition:
CorrelatedSpaceTree2F.h:64
CorrelatedSpaceTree2.h
header file for all type of CorrelatedSpaceTree2
Gw::CorrelatedSpaceTree2F::SetBranch
void SetBranch()
Set branch.
Definition:
CorrelatedSpaceTree2F.cpp:64
Gw::CorrelatedSpaceTree2F::SetCounts
void SetCounts(Double_t weight)
Set counts.
Definition:
CorrelatedSpaceTree2F.cpp:85
Gw::CorrelatedSpaceTree2F::CorrelatedSpaceTree2F
CorrelatedSpaceTree2F()
nb of counts for a given x,y
Gw::CorrelatedSpaceTree2F
CorrelatedSpaceTree2F class that manages a 2D symmetrical correlated space of floats store in a tree...
Definition:
CorrelatedSpaceTree2F.h:40
Gw::CorrelatedSpaceTree2F::CheckH2InTree
void CheckH2InTree(TH2 *h2)
Check if h2 already in tree.
Definition:
CorrelatedSpaceTree2F.cpp:119
Gw::CorrelatedSpaceTree2F::FillCounts
void FillCounts(Int_t i, Int_t j, TH2 *h2)
fill counts
Definition:
CorrelatedSpaceTree2F.cpp:91
Gw::CorrelatedSpaceTree2F::FillHisto
void FillHisto(Int_t j, TH1 *h)
Fill histo.
Definition:
CorrelatedSpaceTree2F.cpp:113
Gw::CorrelatedSpaceTree2F::SetAddress
TBranch * SetAddress()
Set address.
Definition:
CorrelatedSpaceTree2F.cpp:70
Gw::CorrelatedSpaceTree2F::fCounts
Float_t fCounts
Definition:
CorrelatedSpaceTree2F.h:45
src
root
physics
CorrelatedSpaceTree2F.h
Generated on Wed Sep 20 2017 17:26:16 for GammaWare by
1.8.7