CGEM BOSS
6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TestHit.h
Go to the documentation of this file.
1
#ifndef TESTHITALG
2
#define TESTHITALG
3
4
5
#include "
CgemGeomSvc/CgemGeomSvc.h
"
6
#include "
CgemGeomSvc/CgemGeoReadoutPlane.h
"
7
#include "
RealizationSvc/RealizationSvc.h
"
8
#include "
RealizationSvc/IRealizationSvc.h
"
9
#include <vector>
10
#include <string>
11
#include "TFile.h"
12
#include "TTree.h"
13
//#include "TString.h"
14
#include "
Identifier/Identifier.h
"
15
#include "
ReadCosmicRayData/CgemLUTReader.h
"
16
17
class
IDataProviderSvc;
18
19
#define MAXNOFHIT 2400
20
21
class
TestHit
:
public
Algorithm{
22
23
public
:
24
// Constructor
25
TestHit
(
const
std::string& name, ISvcLocator* pSvcLocator);
26
~TestHit
();
27
// Executable
28
StatusCode
initialize
();
29
StatusCode
execute
();
30
StatusCode
finalize
();
31
void
reset
();
32
private
:
33
34
// A data server
35
IDataProviderSvc* m_evtSvc;
36
ICgemGeomSvc
*m_geoSvc;
37
38
string
lutfile;
39
double
timemin;
40
double
timemax;
41
42
CgemLUTReader
*lutreader;
43
CgemGeoReadoutPlane
*anode;
44
TFile *output;
45
TTree *tree;
46
// output
47
int
event;
48
int
nhit;
49
int
nhit_L1_S1_x;
50
int
nhit_L2_S1_x;
51
int
nhit_L2_S2_x;
52
int
nhit_L1_S1_v;
53
int
nhit_L2_S1_v;
54
int
nhit_L2_S2_v;
55
56
int
ntwin_L1_S1_x;
57
int
ntwin_L2_S1_x;
58
int
ntwin_L2_S2_x;
59
int
ntwin_L1_S1_v;
60
int
ntwin_L2_S1_v;
61
int
ntwin_L2_S2_v;
62
63
int
hit_strip[
MAXNOFHIT
];
64
int
hit_view[
MAXNOFHIT
];
65
int
hit_layer[
MAXNOFHIT
];
66
int
hit_sheet[
MAXNOFHIT
];
67
double
hit_length[
MAXNOFHIT
];
68
69
int
hit_channel[
MAXNOFHIT
];
70
int
hit_roc[
MAXNOFHIT
];
71
int
hit_feb[
MAXNOFHIT
];
72
int
hit_tiger[
MAXNOFHIT
];
73
int
hit_chip[
MAXNOFHIT
];
74
75
double
hit_t[
MAXNOFHIT
];
76
double
hit_q[
MAXNOFHIT
];
77
int
hit_saturated[
MAXNOFHIT
];
78
int
hit_quality[
MAXNOFHIT
];
79
80
81
};
82
#endif
CgemGeoReadoutPlane.h
CgemGeomSvc.h
CgemLUTReader.h
IRealizationSvc.h
Identifier.h
RealizationSvc.h
MAXNOFHIT
#define MAXNOFHIT
Definition:
TestHit.h:19
CgemGeoReadoutPlane
Definition:
CgemGeoReadoutPlane.h:14
CgemLUTReader
Definition:
CgemLUTReader.h:16
ICgemGeomSvc
Definition:
ICgemGeomSvc.h:22
TestHit
Definition:
TestHit.h:21
TestHit::initialize
StatusCode initialize()
Definition:
TestHit.cxx:58
TestHit::~TestHit
~TestHit()
Definition:
TestHit.cxx:51
TestHit::execute
StatusCode execute()
Definition:
TestHit.cxx:155
TestHit::finalize
StatusCode finalize()
Definition:
TestHit.cxx:265
TestHit::reset
void reset()
Definition:
TestHit.cxx:116
source
Cgem
ReadCosmicRayData
ReadCosmicRayData-00-00-26
ReadCosmicRayData
TestHit.h
Generated by
1.9.6