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
StEEmcPool
StEzSmdCal
MuEzSmdCalMaker.h
1
#ifndef STAR_MuEzSmdCalMaker
2
#define STAR_MuEzSmdCalMaker
3
4
/************************************************************
5
* $Id: MuEzSmdCalMaker.h,v 1.4 2014/08/06 11:43:01 jeromel Exp $
6
************************************************************
7
Goal: wrap EEMC-Panitkin code to be used in the BFC
8
*
9
******************************************************/
10
11
#ifndef StMaker_H
12
#include "StMaker.h"
13
#endif
14
#include "EEsmdCal.h"
15
16
class
TObjArray ;
17
class
StMuDstMaker
;
18
class
StTriggerDataMother
;
19
class
EztEmcRawData
;
20
class
EztEventHeader
;
21
class
EztTrigBlob
;
22
23
class
MuEzSmdCalMaker
:
public
StMaker
,
public
EEsmdCal
{
24
25
private
:
26
StMuDstMaker
* mMuDstMaker;
27
int
nTrigEve, nAcceptEve,nCorrEve;
28
EztEventHeader
*eHead;
29
EztEmcRawData
*eETow;
30
EztEmcRawData
*eESmd;
31
EztTrigBlob
*eTrig;
32
bool
useEZtree;
33
StTriggerDataMother
*trgAkio;
// $STAR/StRoot/StEvent/StTriggerData2004.h
34
int
trigID;
// filter only one trigger if non-zero
35
int
maxCtbSum;
// filter on CTB sum if non-zero
36
void
unpackMuEzt(
EztEmcRawData
*eRaw);
37
void
unpackMuTails();
38
void
unpackMuSmd();
39
void
killTail(
const
EEmcDbItem
*x,
int
iT);
40
void
recordTail(
const
EEmcDbItem
*x,
float
adc,
bool
aboveThr,
int
iT);
41
int
stripReMap(
const
EEmcDbItem
*x);
// use only be expert
42
void
tileReMap(
int
&iT,
int
&sec ,
char
&sub ,
int
&eta);
//by expert
43
44
Int_t MakeEZtree();
// different source of input data
45
Int_t MakeRegular();
46
47
public
:
48
MuEzSmdCalMaker
(
const
char
*
self
=
"EEstale"
,
const
char
* muDstMakerName=
"muDstMaker"
);
49
virtual
~
MuEzSmdCalMaker
();
50
virtual
Int_t Init();
51
virtual
Int_t InitRun(
int
);
52
virtual
void
Clear(
const
Option_t* =
""
);
53
virtual
Int_t
Finish
();
54
virtual
Int_t
Make
();
55
void
setHList(TObjArray * x){HList=x;}
56
void
saveHisto(TString fname=
"fixMe3"
);
57
void
setTrigIdFilter(
int
id
) {trigID=id;}
58
void
setMaxCtbSum(
int
x) {maxCtbSum=x;}
59
void
setSector(
int
x);
60
void
setEZtree(
bool
x=
true
){useEZtree=x;}
62
virtual
const
char
*
GetCVS
()
const
{
63
static
const
char
cvs[]=
"Tag $Name: $ $Id: MuEzSmdCalMaker.h,v 1.4 2014/08/06 11:43:01 jeromel Exp $ built "
__DATE__
" "
__TIME__ ;
64
return
cvs;
65
}
66
67
ClassDef(
MuEzSmdCalMaker
, 1)
//StAF chain virtual base class for Makers
68
};
69
70
#endif
71
72
73
// $Log: MuEzSmdCalMaker.h,v $
74
// Revision 1.4 2014/08/06 11:43:01 jeromel
75
// Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
76
//
77
// Revision 1.3 2005/09/29 13:57:57 balewski
78
// after SMD gains were rescaled
79
//
80
// Revision 1.2 2005/05/04 17:00:32 balewski
81
// tuned for MIP detection in CuCu200
82
//
83
// Revision 1.1 2005/03/11 15:44:25 balewski
84
// works with muEzt, cucu200
85
//
86
//
EEsmdCal
Definition:
EEsmdCal.h:32
StTriggerDataMother
Definition:
StTriggerDataMother.h:18
StMuDstMaker
Definition:
StMuDstMaker.h:131
EEmcDbItem
Definition:
EEmcDbItem.h:13
MuEzSmdCalMaker::Finish
virtual Int_t Finish()
Definition:
MuEzSmdCalMaker.cxx:104
MuEzSmdCalMaker::Make
virtual Int_t Make()
Definition:
MuEzSmdCalMaker.cxx:124
StMaker
Definition:
StMaker.h:57
MuEzSmdCalMaker::GetCVS
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
Definition:
MuEzSmdCalMaker.h:62
EztEmcRawData
Definition:
EztEmcRawData.h:18
EztTrigBlob
Definition:
EztTrigBlob.h:12
EztEventHeader
Definition:
EztEventHeader.h:14
MuEzSmdCalMaker
Definition:
MuEzSmdCalMaker.h:23
Generated by
1.8.5