forked from JeffersonLab/EVe_HallC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WirePlane3D.h
47 lines (39 loc) · 959 Bytes
/
WirePlane3D.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
#ifndef ROOT_WirePlane3D
#define ROOT_WirePlane3D
#include "TCanvas.h"
#include "TGeoVolume.h"
#include "TGeoManager.h"
#include "TGeoMatrix.h"
#include "TGeoTube.h"
#include "TGeoEltu.h"
#include "TWire3D.h"
#include "GetVariables.h"
#include <cstring>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include "TGeoPhysicalNode.h"
#define WIRE3DRADIUS 0.2
#define SPARSIFY 5 /* Scale drawn wires down by SPARSIFY */
using namespace std;
class WirePlane3D
{
public:
WirePlane3D(char* ChamberName,string PlaneName,TGeoVolume* WireChamber3D,
GetVariables *DB, TGeoVolume* Top,TGeoManager* Mgr,int color);
virtual ~WirePlane3D();
void Wire3DHit(int Num);
void clear();
vector<TWire3D*> Wires;
protected:
int WireNum;
int wirecolor;
TGeoVolume* WirePlane;
char* path;
TGeoManager* mgr;
TGeoVolume* HitTube;
TGeoPhysicalNode* PN;
};
#endif