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
StFlowAnalysisMaker
StFlowReCentMaker.h
1
//
3
// $Id: StFlowReCentMaker.h,v 1.2 2014/08/06 11:43:14 jeromel Exp $
4
//
5
// Authors: Art Poskanzer, Sep 2009
6
//
8
//
9
// Description: Maker to produce ReCent files
10
//
12
13
#ifndef StFlowReCentMaker_H
14
#define StFlowReCentMaker_H
15
#include <
Stiostream.h
>
16
#include "StMaker.h"
17
#include "StFlowMaker/StFlowConstants.h"
18
#include "TString.h"
19
class
StFlowEvent
;
20
class
StFlowSelection
;
21
class
TFile;
22
class
TProfile;
23
24
class
StFlowReCentMaker
:
public
StMaker
{
25
// Makes histograms for ReCent and writes them out.
26
// It reads particle quantities from StFlowEvent.
27
28
public
:
29
31
StFlowReCentMaker
(
const
Char_t* name=
"FlowReCent"
);
32
33
virtual
~
StFlowReCentMaker
();
34
35
Int_t Init();
36
Int_t
Make
();
37
Int_t
Finish
();
38
39
virtual
const
char
*GetCVS()
const
{
static
const
char
cvs[]=
40
"Tag $Name: $ $Id: StFlowReCentMaker.h,v 1.2 2014/08/06 11:43:14 jeromel Exp $ built "
__DATE__
" "
__TIME__ ;
41
return
cvs;}
42
43
private
:
44
45
static
const
int
nCens = 10;
46
47
TFile* reCentFile[nCens];
48
49
void
FillEventHistograms();
50
51
StFlowEvent
* pFlowEvent;
52
StFlowSelection
* pFlowSelect;
53
54
// for each harmonic, each selection, and each centrality
55
struct
histHars {
56
TProfile* mHistReCentX;
57
TProfile* mHistReCentY;
58
};
59
60
struct
histCens;
61
friend
struct
histCens;
62
struct
histCens {
63
struct
histHars histHar[Flow::nHars];
64
};
65
66
struct hists;
67
friend struct hists;
68
struct hists {
69
struct
histCens histCen[nCens];
70
};
71
struct
hists hist[Flow::nSels];
72
73
TString MakerName;
74
75
ClassDef(StFlowReCentMaker,0)
// macro for rootcint
76
};
77
78
#endif
79
81
//
82
// $Log: StFlowReCentMaker.h,v $
83
// Revision 1.2 2014/08/06 11:43:14 jeromel
84
// Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
85
//
86
// Revision 1.1 2009/11/24 19:29:16 posk
87
// Added reCenter to remove acceptance correlations as an option instead of phiWgt.
88
//
89
//
90
//
StFlowReCentMaker::StFlowReCentMaker
StFlowReCentMaker(const Char_t *name="FlowReCent")
Constructor.
Definition:
StFlowReCentMaker.cxx:35
StFlowReCentMaker::Finish
Int_t Finish()
Definition:
StFlowReCentMaker.cxx:156
StFlowSelection
Definition:
StFlowSelection.h:22
StMaker
Definition:
StMaker.h:57
Stiostream.h
StFlowReCentMaker::Make
Int_t Make()
Definition:
StFlowReCentMaker.cxx:47
StFlowReCentMaker
Definition:
StFlowReCentMaker.h:24
StFlowEvent
Definition:
StFlowEvent.h:27
Generated by
1.8.5