Changeset 469 in svn for trunk/Resolutions.cpp
- Timestamp:
- Jul 13, 2009, 9:40:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Resolutions.cpp
r468 r469 49 49 #include "JetsUtil.h" 50 50 #include "BFieldProp.h" 51 #include "PdgParticle.h" 51 52 52 53 #include<vector> … … 325 326 { 326 327 genMomentum.SetPxPyPzE(particle->Px, particle->Py, particle->Pz, particle->E); 327 328 PdgParticle pdg_part = DET->PDGtable[particle->PID]; 328 329 int pid = abs(particle->PID); 329 330 float eta = fabs(particle->Eta); … … 336 337 337 338 //Calculate ETMIS from generated particles 338 if((pid == pNU1) || (pid == pNU2) || (pid == pNU3))PTmisGEN = PTmisGEN + genMomentum; 339 //if((pid == pNU1) || (pid == pNU2) || (pid == pNU3))PTmisGEN = PTmisGEN + genMomentum; 340 if( (particle->Status == 1) && pdg_part.invisible() )PTmisGEN = PTmisGEN + genMomentum; 339 341 340 342 //Electrons and muons 341 343 if( (particle->Status == 1) && 342 ((pid != pNU1) && (pid != pNU2) && (pid != pNU3)) && 344 //((pid != pNU1) && (pid != pNU2) && (pid != pNU3)) && 345 (! pdg_part.invisible() ) && 343 346 (fabs(particle->Eta) < DET->CEN_max_calo_fwd) 344 347 )
Note:
See TracChangeset
for help on using the changeset viewer.