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
StFgtPool
StFgtQaMakers
StFgtSingleEventQA.h
1
/***************************************************************************
2
*
3
* $Id: StFgtSingleEventQA.h,v 1.1 2012/01/31 09:26:17 sgliske Exp $
4
* Author: S. Gliske, Jan 2012
5
*
6
***************************************************************************
7
*
8
* Description: Make plots of single events.
9
*
10
***************************************************************************
11
*
12
* $Log: StFgtSingleEventQA.h,v $
13
* Revision 1.1 2012/01/31 09:26:17 sgliske
14
* StFgtQaMakers moved to StFgtPool
15
*
16
* Revision 1.2 2012/01/24 05:45:31 sgliske
17
* debugged--mostly :)
18
*
19
* Revision 1.1 2012/01/24 03:32:17 sgliske
20
* creation
21
*
22
*
23
**************************************************************************/
24
25
#ifndef _ST_FGT_SINGLE_EVENT_QA_H_
26
#define _ST_FGT_SINGLE_EVENT_QA_H_
27
28
#include <string>
29
#include <sstream>
30
31
#include "StMaker.h"
32
class
StFgtCollection
;
33
class
TH2F;
34
35
class
StFgtSingleEventQA
:
public
StMaker
{
36
public
:
37
// constructors
38
StFgtSingleEventQA
(
const
Char_t* name =
"FgtSingleEvent"
);
39
40
// default OK
41
// StFgtSingleEventQA(const StFgtSingleEventQA&);
42
43
// equals operator -- default OK
44
// StFgtSingleEventQA& operator=(const StFgtSingleEventQA&);
45
46
// deconstructor
47
virtual
~
StFgtSingleEventQA
();
48
49
Int_t Init();
50
Int_t
Make
();
51
Int_t
Finish
();
52
53
// modifiers
54
void
setFilename(
const
Char_t* filename );
55
56
protected
:
57
// for accessing the data
58
StFgtCollection
*mFgtCollectionPtr;
59
60
// for saving to file
61
std::string mFilename;
62
TFile *mTFile;
63
64
// to make the histograms
65
void
makeHists( Int_t ev, Int_t tb, Int_t disc, Int_t quad, Bool_t isShort, TH2F* &hP, TH2F* &hR );
66
67
// to get track of the event
68
Int_t mEventNum;
69
70
private
:
71
ClassDef(
StFgtSingleEventQA
,1);
72
73
};
74
75
// inline functions
76
77
// modifiers
78
inline
void
StFgtSingleEventQA::setFilename(
const
Char_t* filename ){ mFilename = filename; };
79
80
#endif
StFgtSingleEventQA::Finish
Int_t Finish()
Definition:
StFgtSingleEventQA.cxx:168
StFgtSingleEventQA
Definition:
StFgtSingleEventQA.h:35
StMaker
Definition:
StMaker.h:57
StFgtCollection
Definition:
StFgtCollection.h:31
StFgtSingleEventQA::Make
Int_t Make()
Definition:
StFgtSingleEventQA.cxx:83
Generated by
1.8.5