forked from JeffersonLab/EVe_HallC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WirePlane.h
48 lines (39 loc) · 915 Bytes
/
WirePlane.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//*************************************************************************
// WirePlane.h - 4/14/2008
//
// by miham
//
// This class creates the projection view for given wire plane in given
// wire chamber.
//
//
//
//*************************************************************************
#ifndef ROOT_WirePlane
#define ROOT_WirePlane
#include "TCanvas.h"
#include "TPolyLine.h"
#include "TBox.h"
#include "TArrow.h"
#include "TLatex.h"
#include "TLine.h"
#include "TEllipse.h"
class WirePlane
{
public:
WirePlane(char *name, int n, double x, double y, double l, double a, double b, int f=0);
virtual ~WirePlane();
void SetWire(int i, double t);
void clear();
void Hit(Double_t *signal);
protected:
int WireNum;
double x0, y0,a0,b0;
double rescale_me;
TEllipse *wire[400];
TLine *time[400];
int type;
double length;
char *planename;
};
#endif