Skip to content

Commit

Permalink
removed check on run number when setting the DC hit uncertainty
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelladevita committed Jan 15, 2025
1 parent ff42f33 commit 9f3225f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ public double get_PosErr(DataEvent event, double B, IndexedTable constants0, Ind
}

double x = this.get_Doca() / this.get_CellSize();
if(event.hasBank("MC::Particle") ||
event.getBank("RUN::config").getInt("run", 0) < 100 ) { // for MC use functional form put in simulation
if(event.hasBank("MC::Particle")) { // for MC use functional form put in simulation

double p1 = constants0.getDoubleValue("parameter1", this.get_Sector(),this.get_Superlayer(),0);
double p2 = constants0.getDoubleValue("parameter2", this.get_Sector(),this.get_Superlayer(),0);
Expand Down

0 comments on commit 9f3225f

Please sign in to comment.