Changeset 371 in svn for trunk/Examples
- Timestamp:
- May 10, 2009, 8:18:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Examples/src/Analysis_Ex.cc
r350 r371 133 133 //VFD information 134 134 float S,q2,Tx,Ty; 135 int side; 135 int side; 136 bool hadronic_hit; 136 137 137 138 for(entry = 0; entry < allEntries; ++entry) … … 262 263 { 263 264 E = zdc->E; // particle energy in GeV 264 Px = zdc->Px; // particle momentum vector (x component) in GeV265 Py = zdc->Py; // particle momentum vector (y component) in GeV266 Pz = zdc->Pz; // particle momentum vector (z component) in GeV267 268 PT = zdc->PT; // particle transverse momentum in GeV269 Eta = zdc->Eta; // particle pseudorapidity270 Phi = zdc->Phi; // particle azimuthal angle in rad271 272 265 T = zdc->T; // time of flight [s] 273 266 side = zdc->side; // -1 or +1 267 hadronic_hit = zdc->hadronic_hit; // true if neutron, false if photon 274 268 } 275 269 … … 278 272 TRootRomanPotHits *rp220; 279 273 itRp220.Reset(); 280 //TRootRomanPotHits.MakeClass("test_xav");274 281 275 while( (rp220 = (TRootRomanPotHits*) itRp220.Next()) ) 282 276 { 283 T = rp220->T; // time of flight to the detector [s]277 //T = rp220->T; // time of flight to the detector [s] 284 278 S = rp220->S; // distance to the IP [m] 285 279 E = rp220->E; // reconstructed energy [GeV]
Note:
See TracChangeset
for help on using the changeset viewer.