Skip to content
Snippets Groups Projects
Commit 775dd5c8 authored by sutt's avatar sutt
Browse files

add comment

parent df2b53f6
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!35640Remove documentation particles from truth record
...@@ -341,6 +341,7 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) { ...@@ -341,6 +341,7 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) {
if ( track ) { if ( track ) {
// check it is a final state particle - documentation particles have status() == 3
if ( track->status() != 1 ) return false; if ( track->status() != 1 ) return false;
/// lazy just to avoid a find-replace of measPer to track /// lazy just to avoid a find-replace of measPer to track
...@@ -401,8 +402,6 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) { ...@@ -401,8 +402,6 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) {
if ( ( track->hasProdVtx() && rp<=inner_radius ) && if ( ( track->hasProdVtx() && rp<=inner_radius ) &&
( !track->hasDecayVtx() || rd>outer_radius ) ) final_state = true; ( !track->hasDecayVtx() || rd>outer_radius ) ) final_state = true;
// if ( track->status() == 3 ) final_state = false; /// check its not a documentation particle
if ( !final_state ) return false; if ( !final_state ) return false;
double deta = 0; double deta = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment