ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/yangyong/ECALG4SIM/analysis/testSim.h
Revision: 1.1
Committed: Thu Apr 4 08:29:36 2013 UTC (12 years, 1 month ago) by yangyong
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 yangyong 1.1 Int_t ng4EB;
2     Int_t ietag4EB[61200]; //[ng4EB]
3     Int_t iphig4EB[61200]; //[ng4EB]
4     Float_t esumg4EB[61200]; //[ng4EB]
5     Float_t tming4EB[61200]; //[ng4EB]
6     Float_t xtming4EB[61200]; //[ng4EB]
7     Float_t ytming4EB[61200]; //[ng4EB]
8     Float_t ztming4EB[61200]; //[ng4EB]
9    
10     Int_t ng4EE;
11     Int_t ixg4EE[14648]; //[ng4EE]
12     Int_t iyg4EE[14648]; //[ng4EE]
13     Int_t izg4EE[14648]; //[ng4EE]
14     Float_t esumg4EE[14648]; //[ng4EE]
15     Float_t tming4EE[14648]; //[ng4EE]
16     Float_t xtming4EE[14648]; //[ng4EE]
17     Float_t ytming4EE[14648]; //[ng4EE]
18     Float_t ztming4EE[14648]; //[ng4EE]
19    
20    
21    
22     vector<vector<float> > *eg4EB;
23     vector<vector<float> > *tg4EB;
24     vector<vector<int> > *idg4EB;
25     vector<vector<int> > *pidg4EB;
26     vector<vector<int> > *parentidg4EB;
27    
28     vector<vector<float> > *postxg4EB;
29     vector<vector<float> > *postyg4EB;
30     vector<vector<float> > *postzg4EB;
31    
32     vector<vector<float> > *prexg4EB;
33     vector<vector<float> > *preyg4EB;
34     vector<vector<float> > *prezg4EB;
35    
36    
37     vector<vector<float> > *pretg4EB;
38    
39    
40     vector<vector<float> > *preeg4EB;
41     vector<vector<int> > *enterg4EB;
42     vector<vector<int> > *leaveg4EB;
43    
44    
45     vector<vector<float> > *eg4EE;
46     vector<vector<float> > *tg4EE;
47     vector<vector<int> > *idg4EE;
48     vector<vector<int> > *pidg4EE;
49     vector<vector<int> > *parentidg4EE;
50    
51     vector<vector<float> > *postxg4EE;
52     vector<vector<float> > *postyg4EE;
53     vector<vector<float> > *postzg4EE;
54    
55     vector<vector<float> > *prexg4EE;
56     vector<vector<float> > *preyg4EE;
57     vector<vector<float> > *prezg4EE;
58    
59     vector<vector<float> > *pretg4EE;
60     vector<vector<float> > *preeg4EE;
61     vector<vector<int> > *enterg4EE;
62     vector<vector<int> > *leaveg4EE;
63    
64    
65     //Event info
66     int lumiBlock;
67     int runNumber;
68     int evtNumber;
69     int bunchX;
70     int orbitNumber;
71     int evtTime;
72     int isRealData;
73    
74    
75     std::map<int,std::map<int, std::vector<float> > > eEBsim;
76     std::map<int,std::map<int, std::vector<float> > > tEBsim;
77     std::map<int,std::map<int, std::vector<float> > > bEBsim;
78    
79     std::map<int,std::map<int, std::vector<float> > > eEEmsim;
80     std::map<int,std::map<int, std::vector<float> > > tEEmsim;
81     std::map<int,std::map<int, std::vector<float> > > bEEmsim;
82    
83     std::map<int,std::map<int, std::vector<float> > > eEEpsim;
84     std::map<int,std::map<int, std::vector<float> > > tEEpsim;
85     std::map<int,std::map<int, std::vector<float> > > bEEpsim;
86    
87    
88     int nsimEB;
89     int ietasimEB[61200];
90     int iphisimEB[61200];
91     float esumsimEB[61200];
92     float tminsimEB[61200];
93    
94    
95     std::vector<std::vector<float> > *esimEB;
96     std::vector<std::vector<float> > *tsimEB;
97     std::vector<std::vector<float> > *bsimEB;
98    
99     int nsimEE;
100     int ixsimEE[14648];
101     int iysimEE[14648];
102     int izsimEE[14648];
103     float esumsimEE[14648];
104     float tminsimEE[14648];
105    
106     std::vector<std::vector<float> > *esimEE;
107     std::vector<std::vector<float> > *tsimEE;
108     std::vector<std::vector<float> > *bsimEE;
109    
110    
111     static const int MAXGenSaved = 1000;
112     //gen-leve phton
113     int nGenPht;
114     float etaGenPht[MAXGenSaved];
115     float phiGenPht[MAXGenSaved];
116     float ptGenPht[MAXGenSaved];
117     int pidmomGenPht[MAXGenSaved];
118     int pidmom2GenPht[MAXGenSaved];
119     int indmom2GenPht[MAXGenSaved];
120     int pidmom3GenPht[MAXGenSaved];
121     int statusGenPht[MAXGenSaved];
122     float vxGenPht[MAXGenSaved];
123     float vyGenPht[MAXGenSaved];
124     float vzGenPht[MAXGenSaved];
125     int convGenPht[MAXGenSaved];