CLARION2_GEANT4/Detector_Parameters.hh
2022-10-17 16:06:53 -04:00

46 lines
1012 B
C++

//Global Variables.
#ifndef __iamauniqueid_h__
#define __iamauniqueid_h__
#include <stdio.h>
#include <cstdio>
#include <cstdlib>
#include <stdlib.h>
#include <string.h>
#include <vector>
const int Crystal_Num = 64; // has to be divisible by 4.
const double Radius = 200.; //Z POSITION-- radius away from target, in milimeters.
//location data array for each clover needs to be set here;
// clover number , theta, phi, relative z-distance to the Radius
//
const double Clover_Location[Crystal_Num/4][4] = {{0,131.75,326.96,0.},
{1,150.,243.57,0.},
{2,90.0,257.14,0.},
{3,90.0,205.71,0.},
{4,48.25,326.68,0.},
{5,48.25,252.64,0.},
{6,131.75,33.31,0.},
{7,150.,116.42,0.},
{8,90.,102.85,0.},
{9,90.,154.28,0.},
{10,48.25,33.31,0.},
{11,90.,308.57,0.},
{12,90.,51.42,0.},
{13,48.25,180.,0.},
{14,129.,180.,0.},
{15,48.25,107.35,0.}
};//,
#endif