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
StGenericVertexMaker
StCtbUtility.h
1
#ifndef StCtbUtility_h
2
#define StCtbUtility_h
3
/*********************************************************************
4
* $Id: StCtbUtility.h,v 1.4 2017/05/12 18:37:23 smirnovd Exp $
5
*********************************************************************
6
* utility function for CTB, used by the vertex finder(s)
7
*/
8
9
#include <vector>
10
#include <St_base/StObject.h>
// just to make 'vector' working, JB
11
#include "Star2Root/St_DataSet.h"
12
class
StTriggerData
;
13
14
class
StCtbUtility
{
15
protected
:
16
//data
17
float
mCtbEtaSeg, mCtbPhiSeg;
18
23
float
mCtbThres_mev
;
24
int
mCtbThres_ch;
// to reject slats below threshold
25
29
struct
ctbHit
{
30
float
phi;
// (rad)
31
float
eta;
32
float
adc;
33
};
34
vector<ctbHit> mCtbHits;
35
36
// methods
37
public
:
38
StCtbUtility
();
39
static
void
ctb_get_slat_from_data(
int
slat,
int
tray,
float
& phiRad,
float
&eta);
40
void
collectCTBhitsMC(
St_DataSet
*gds);
41
void
collectCTBhitsData(
StTriggerData
*trgD);
42
void
printCtb();
43
int
NCtbMatches();
44
};
45
#endif
46
47
48
/*
49
* $Log: StCtbUtility.h,v $
50
* Revision 1.4 2017/05/12 18:37:23 smirnovd
51
* Cosmetic changes
52
*
53
* Removed log messages from source files
54
* Prefixed included headers with paths to respective modules
55
*
56
* Revision 1.3 2005/03/11 22:23:53 balewski
57
* towards PPV
58
*
59
* Revision 1.2 2005/03/09 19:24:18 balewski
60
* preparation for PPV vertex finder
61
*
62
* Revision 1.1 2004/07/24 02:57:40 balewski
63
* clean up of ppLMV, CTB-util separated
64
*
65
*
66
*********************************************************************/
StCtbUtility
Definition:
StCtbUtility.h:14
StTriggerData
Definition:
StTriggerData.h:193
StCtbUtility::mCtbThres_mev
float mCtbThres_mev
Definition:
StCtbUtility.h:23
TDataSet
Definition:
TDataSet.h:34
StCtbUtility::ctbHit
Definition:
StCtbUtility.h:29
Generated by
1.8.5