Skip to content

Commit

Permalink
Merge pull request cms-sw#24 from amarini/topic_mtfix
Browse files Browse the repository at this point in the history
fix mt variable
  • Loading branch information
amarini committed Jul 8, 2015
2 parents 29fdce3 + b4db853 commit 4cd9f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ float Event::Mt() {
float phi_t = LeadTau() -> Phi();
float pt_m = met_ . Pt();
float phi_m= met_. Phi();
return TMath::Sqrt( 2* pt_t * pt_m * TMath::Cos(ChargedHiggs::deltaPhi(phi_t,phi_m) ) );
return TMath::Sqrt( 2* pt_t * pt_m * ( 1.-TMath::Cos(ChargedHiggs::deltaPhi(phi_t,phi_m)) ) );
}

double Event::weight(){
Expand Down

0 comments on commit 4cd9f42

Please sign in to comment.