forked from JeffersonLab/EVe_HallC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScintillatorPaddle3D.h
47 lines (34 loc) · 946 Bytes
/
ScintillatorPaddle3D.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
///////////////////////////////////////
/* ScintillatorPaddle3D.h 7/16/14
Ben Davis-Purcell
Class that creates a single 3D scintillation paddle with attached PMTs
*/
///////////////////////////////////////
#ifndef ROOT_ScintillatorPaddle3D
#define ROOT_ScintillatorPaddle3D
#include "TCanvas.h"
#include "TGeoVolume.h"
#include "TGeoManager.h"
#include "TGeoMatrix.h"
#include "TGeoBBox.h"
#include "TGeoTrd2.h"
#include "TGeoTube.h"
#include "TGeoPhysicalNode.h"
#include "TGeoCompositeShape.h"
class ScintillatorPaddle3D
{
public:
ScintillatorPaddle3D(char* PlaneName,int index,int n,
double length, double height ,double thickness ,
TGeoVolume *paddle, int numPMT );
virtual ~ScintillatorPaddle3D();
void HitL();
void HitR();
void HitPaddle();
void clear();
protected:
TGeoVolume *scint;
TGeoVolume *pmt1;
TGeoVolume *pmt2;
};
#endif