Skip to content

Commit f7897b0

Browse files
authored
Merge pull request #180 from JeffersonLab/aaust_PIDFOM_flat_fix
bug fix
2 parents bee446f + 0e938c8 commit f7897b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/DSelector/DSelector.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ void DSelector::Fill_FlatBranches(DKinematicData* locParticle, bool locIsMCFlag)
850850
}
851851

852852
// Global PID
853-
if(dTreeInterface->Get_Branch(locEventBranchPrefix + "__PIDFOM") != NULL)
853+
if(dTreeInterface->Get_Branch("ChargedHypo__PIDFOM") != NULL)
854854
dFlatTreeInterface->Fill_Fundamental<Float_t>(locBranchPrefix + "_pid_fom", locChargedTrackHypothesis->Get_PIDFOM());
855855

856856
//timing

programs/tree_to_amptools/tree_to_amptools.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main(int argc, char* argv[])
5353
cout << "Weights set to " << locWeight <<"!";
5454
cout << endl;
5555
}
56-
if (arg == "-gen"){
56+
else if (arg == "-gen"){
5757
locGen = true;
5858
cout << "Fill tree with generated events" << endl;
5959
}

0 commit comments

Comments
 (0)