Skip to content

Commit 733e249

Browse files
committed
protect debug statement
1 parent ac31ba9 commit 733e249

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

analysis/src/main/java/org/hps/analysis/MC/TrackToMCParticleRelationsDriver.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ protected void process(EventHeader event) {
167167
}
168168
}//mcp not null
169169
else {
170-
System.out.printf("PF::FakeTrack");
170+
if( debug ){
171+
System.out.printf("TrackToMCParticleRelationsDriver::WARNING Track does not have truth hits associated to it! Either fake, or from pulser overlay.");
172+
}
171173
}
172174
} //ttm not null
173175
else {

0 commit comments

Comments
 (0)