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
StGammaMaker
StGammaStrip.h
1
// //
3
// StGammaStrip //
4
// //
5
// Lightweight class to hold SMD strip information //
6
// //
7
// Original concept and implementation by //
8
// Jason Webb (Valpo) //
9
// //
11
12
#ifndef STAR_StGammaStrip
13
#define STAR_StGammaStrip
14
15
#include <TObject.h>
16
#include <vector>
17
#include <TRefArray.h>
18
19
enum
{ kEEmcSmdu=0, kEEmcSmdv=1, kBEmcSmdEta=10, kBEmcSmdPhi=11 };
20
21
class
StGammaStrip
:
public
TObject
22
{
23
24
public
:
25
StGammaStrip
();
26
~
StGammaStrip
() {};
27
28
virtual
const
char
* GetCVS()
const
29
{
static
const
char
cvs[] =
"Tag $Name: $ $Id: StGammaStrip.h,v 1.9 2014/08/06 11:43:18 jeromel Exp $ built "
__DATE__
" "
__TIME__;
return
cvs; }
30
31
Int_t index;
// index of strip in plane
32
Int_t sector;
// or bemc module
33
Int_t plane;
// 0=esmd-u 1=esmdv 10=bsmd-eta 11=bsmd-phi
34
Float_t energy;
// energy deposited
35
Int_t adc;
// ADC
36
Int_t stat;
// status bits (non fatal HW problems)
37
Int_t fail;
// fail bits (fatal HW problems)
38
39
// Strip geometry for shower shape analyses
40
// In the BEMC:
41
// Eta Strips - Location in z (cm)
42
// Phi Strips - Location in phi (radians)
43
// In the EEMC:
44
// left/right not used
45
// U Strips - position -> U Index
46
// V Strips - position -> V Index
47
Float_t position;
48
Float_t left;
49
Float_t right;
50
51
TRefArray candidates;
// referencing candidates
52
void
print();
53
54
ClassDef(
StGammaStrip
, 3);
55
56
};
57
58
typedef
std::vector<StGammaStrip> StGammaStripVec_t;
59
60
#endif
StGammaStrip
Definition:
StGammaStrip.h:21
Generated by
1.8.5