Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DCCALShower.cc
Go to the documentation of this file.
1 /*
2  * File: DCCALShower.cc
3  *
4  * Created on 11/25/18 by A.S.
5  * use structure similar to FCAL
6  */
7 
8 #include <math.h>
9 #include "DCCALShower.h"
10 #include "DCCALGeometry.h"
11 #include "hycal.h"
12 
14 {
15 
16  type = 0;
17  dime = 0;
18  status = 0;
19  id = 0;
20  idmax = 0;
21  E = 0;
22  x = 0;
23  y = 0;
24  z = 0;
25  x1 = 0;
26  y1 = 0;
27  chi2 = 0;
28  sigma_E = 0;
29  Emax = 0;
30  time = 0;
31  sigma_t = 0;
32 
33  for(int icell=0; icell<MAX_CC; icell++) {
34  id_storage[icell] = 0;
35  en_storage[icell] = 0;
36  t_storage[icell] = 0;
37  }
38 
39 }
40 
42 {
43 
44 }
double Emax
Definition: DCCALShower.h:46
double x
Definition: DCCALShower.h:39
double y1
Definition: DCCALShower.h:43
double en_storage[MAX_CC]
Definition: DCCALShower.h:51
double z
Definition: DCCALShower.h:41
int id_storage[MAX_CC]
Definition: DCCALShower.h:50
double t_storage[MAX_CC]
Definition: DCCALShower.h:52
double y
Definition: DCCALShower.h:40
double chi2
Definition: DCCALShower.h:44
double x1
Definition: DCCALShower.h:42
double E
Definition: DCCALShower.h:38
double time
Definition: DCCALShower.h:47
double sigma_t
Definition: DCCALShower.h:48
#define MAX_CC
Definition: hycal.h:20
double sigma_E
Definition: DCCALShower.h:45