source: trunk/examples/novice/gemc/src/bst_strip.h @ 811

Last change on this file since 811 was 807, checked in by garnier, 16 years ago

update

File size: 1.4 KB
Line 
1#include <vector>
2using namespace std;
3
4class bst_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};
Note: See TracBrowser for help on using the repository browser.