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
StSpinPool
StChargedPionAnalysisMaker
StChargedPionMaker.h
1
#ifndef ST_CHARGED_PION_MAKER_HH
2
#define ST_CHARGED_PION_MAKER_HH
3
4
// $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $
5
6
#ifndef StMaker_H
7
#include "StMaker.h"
8
#endif
9
10
class
TFile;
11
class
TTree;
12
class
TClonesArray;
13
class
TString;
14
15
class
StEmcTriggerMaker
;
16
class
StJetMaker
;
17
class
StMuDstMaker
;
18
class
StSpinDbMaker
;
19
class
StTriggerSimuMaker
;
20
class
StJets
;
21
class
StMiniMcEvent
;
22
23
class
StChargedPionBaseEv
;
24
class
StChargedPionEvent
;
25
class
StChargedPionJet
;
26
class
StChargedPionMcEvent
;
27
class
StChargedPionTrack
;
28
29
class
StChargedPionMaker
:
public
StMaker
{
30
public
:
31
StChargedPionMaker
(
const
char
*name =
"chargedPionMaker"
,
const
char
*outfile =
"test.tracks.root"
);
32
virtual
~
StChargedPionMaker
();
33
34
void
Clear(
const
char
*option=
""
);
35
Int_t Init();
36
Int_t InitRun(
int
runnumber);
37
Int_t
Make
();
38
Int_t
Finish
();
39
40
void
addTrigger(
int
trigId);
41
42
const
char
* GetCVS()
const
43
{
static
const
char
cvs[]=
"Tag $Name: $ $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $ built "
__DATE__
" "
__TIME__;
return
cvs;}
44
45
private
:
46
TFile *mFile;
47
TTree *mTree;
48
StChargedPionBaseEv
*mEvent;
49
50
TFile *mJetFile;
51
TTree *mJetTree;
52
StJets
*mJets;
53
StJets
*mPyJets;
54
55
TH1 *mBadTracks;
56
enum
badTrackTypes {kFlagged=1, kBadHelix, kBadOuterHelix, kMissingGlobal};
57
58
TString mCurrentFile;
59
60
TFile *mMiniMcFile;
61
TTree *mMiniMcTree;
62
StMiniMcEvent
*mMiniMcEvent;
63
64
//pointers to makers - get them in Init()
65
StMuDstMaker
*mMuDstMk;
66
StSpinDbMaker
*mSpDbMk;
67
StEmcTriggerMaker
*mEmcTrgMk;
68
StJetMaker
*mJetMk;
69
StTriggerSimuMaker
*mTrgSimuMk;
70
71
vector<int> mTriggers;
72
73
void
makeTriggerSimu(
StChargedPionBaseEv
*);
74
75
ClassDef(
StChargedPionMaker
,1)
76
};
77
78
inline
void
StChargedPionMaker::
79
addTrigger(
int
trigId) { mTriggers.push_back(trigId); }
80
81
#endif
82
83
/*****************************************************************************
84
* $Log: StChargedPionMaker.h,v $
85
* Revision 1.12 2014/08/06 11:43:38 jeromel
86
* Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
87
*
88
* Revision 1.11 2012/11/09 03:31:34 perev
89
* Cleanup
90
*
91
* Revision 1.10 2008/12/29 15:58:30 kocolosk
92
* removed commented code and added $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $/$Log: StChargedPionMaker.h,v $
93
* removed commented code and added $Id: StChargedPionMaker.h,v 1.11 2012/11/09 03:31:34 perev Exp $/Revision 1.12 2014/08/06 11:43:38 jeromel
94
* removed commented code and added $Id: StChargedPionMaker.h,v 1.11 2012/11/09 03:31:34 perev Exp $/Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
95
* removed commented code and added $Id: StChargedPionMaker.h,v 1.11 2012/11/09 03:31:34 perev Exp $/
96
* removed commented code and added $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $/Revision 1.11 2012/11/09 03:31:34 perev
97
* removed commented code and added $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $/Cleanup
98
* removed commented code and added $Id: StChargedPionMaker.h,v 1.12 2014/08/06 11:43:38 jeromel Exp $/ as needed
99
*
100
*****************************************************************************/
101
StChargedPionTrack
Definition:
StChargedPionTrack.h:12
StChargedPionEvent
Definition:
StChargedPionEvent.h:20
StChargedPionMcEvent
Definition:
StChargedPionMcEvent.h:33
StSpinDbMaker
Definition:
StSpinDbMaker.h:21
StTriggerSimuMaker
Definition:
StTriggerSimuMaker.h:44
StMuDstMaker
Definition:
StMuDstMaker.h:131
StChargedPionMaker::Finish
Int_t Finish()
Definition:
StChargedPionMaker.cxx:379
StEmcTriggerMaker
Definition:
StEmcTriggerMaker.h:60
StJets
Definition:
StJets.h:24
StMaker
Definition:
StMaker.h:57
StChargedPionMaker
Definition:
StChargedPionMaker.h:29
StChargedPionJet
Definition:
StChargedPionJet.h:14
StChargedPionBaseEv
Definition:
StChargedPionBaseEv.h:26
StMiniMcEvent
Definition:
StMiniMcEvent.h:26
StJetMaker
Definition:
StJetMaker.h:32
StChargedPionMaker::Make
Int_t Make()
Definition:
StChargedPionMaker.cxx:213
Generated by
1.8.5