GEMC  1.8
Geant4 Monte-Carlo Framework
str_strip.h
Go to the documentation of this file.
1 #include <vector>
2 using namespace std;
3 
4 class str_strip
5 {
6  public:
7  double alpha;
8  double pitch;
9  double Pi;
10 
11  double interlayer; // distance between 2 layers of a superlayer
12  vector<int> Nsector; // number of sectors for each layer
13  vector<int> Ncards; // number of cards by sector for each layer
14  vector<double> Z0; // z of the upstream part of the layer
15  vector<double> R; // radii of layers
16  vector<double> MidTile; // mid angle of the sector
17 
18  double DZ_inLength; // size of the band of dead zones all around in the length of the card
19  double DZ_inWidth; // size of the band of dead zones all around in the width of the card
20  double CardLength; // length of 1 card
21  double CardWidth ; // width 1 card
22  int NstripsZ; // Number of strips for 1 card (zig zag option)
23  int Nstrips; // Number of strips for 1 card (New Design)
24 
25  int nCard; // Card hit by the track
26  double x,y,z; // z of the track is redefined in FindCard. Units are microns - input are millimiters
27 
28  void fill_infos();
29 
30  void FindCard(int layer, double z); // Card finding routine (needed for zig zag design)
31 
32  int FindStripZ(int layer, int sector, double x, double y); // Zig Zag Strip Finding Routine
33  int FindStrip( int layer, int sector, double x, double y, double z); // New Design Strip Finding Routine
34 
35 };
int nCard
Definition: str_strip.h:25
vector< int > Ncards
Definition: str_strip.h:13
double CardLength
Definition: str_strip.h:20
double DZ_inLength
Definition: str_strip.h:18
vector< double > Z0
Definition: str_strip.h:14
double z
Definition: str_strip.h:26
double CardWidth
Definition: str_strip.h:21
STL namespace.
double DZ_inWidth
Definition: str_strip.h:19
double alpha
Definition: str_strip.h:7
vector< double > R
Definition: str_strip.h:15
double pitch
Definition: str_strip.h:8
vector< int > Nsector
Definition: str_strip.h:12
int NstripsZ
Definition: str_strip.h:22
double Pi
Definition: str_strip.h:9
vector< double > MidTile
Definition: str_strip.h:16
int Nstrips
Definition: str_strip.h:23
double interlayer
Definition: str_strip.h:11