Changeset 84a097e in git for modules/TreeWriter.cc
- Timestamp:
- Dec 2, 2019, 6:55:22 PM (5 years ago)
- Branches:
- Timing
- Children:
- 2ad823e, 6fc566b
- Parents:
- c614dd7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TreeWriter.cc
rc614dd7 r84a097e 360 360 entry->Yd = candidate->Yd; 361 361 entry->Zd = candidate->Zd; 362 entry->Td = candidate->Td*1.0E-3/c_light; 363 364 if(candidate->ClusterIndex != -1) 365 { 366 entry->TOFreco = 1E-3*(candidate->Position.T() - candidate->InitialPosition.T())/c_light; 367 } 368 else 369 { 370 entry->TOFreco =-1E6; 371 } 362 372 363 373 const TLorentzVector &momentum = candidate->Momentum; … … 380 390 381 391 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 392 entry->TOFgen = 1E-3*particle->L/(c_light*particle->Momentum.P()/particle->Momentum.E()); 393 382 394 const TLorentzVector &initialPosition = particle->Position; 383 395
Note:
See TracChangeset
for help on using the changeset viewer.