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