Skip to content
Snippets Groups Projects
Commit 7c2fcd0a authored by sutt's avatar sutt
Browse files

Remove documentation particles from truthe record

parent a7ffc841
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,8 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) {
if ( track ) {
if ( track->status() != 1 ) return false;
/// lazy just to avoid a find-replace of measPer to track
const xAOD::TruthParticle* measPer = track;
......@@ -399,8 +401,7 @@ bool TrigTrackSelector::selectTrack( const xAOD::TruthParticle* track ) {
if ( ( track->hasProdVtx() && rp<=inner_radius ) &&
( !track->hasDecayVtx() || rd>outer_radius ) ) final_state = true;
/// leave this in for the moment - we may need to uncomment this afterall
// if ( track->status() == 3 ) final_state = false; /// check its not a documentation particle
if ( track->status() == 3 ) final_state = false; /// check its not a documentation particle
if ( !final_state ) return 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