Skip to content

Commit

Permalink
add instructions for older software
Browse files Browse the repository at this point in the history
  • Loading branch information
jrstevenjlab committed Jun 1, 2020
1 parent 4975987 commit 0ae693a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions AnalysisHowTo/PIDstudy/DSelector_p2gamma.C
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Bool_t DSelector_p2gamma::Process(Long64_t locEntry)
TLorentzVector locMissingP4_OffProton = locBeamP4_Measured + dTargetP4;
locMissingP4_OffProton -= locProtonP4_Measured;

/******************************************** EXECUTE NON-PID CUTS **********************************************/
/******************************************** EXECUTE YOUR NON-PID SELECTION CUTS HERE **********************************************/

/**************************************** PreSelection ******************************************/
//The space-time information when the photons hit the detector
Expand Down Expand Up @@ -287,7 +287,11 @@ Bool_t DSelector_p2gamma::Process(Long64_t locEntry)
/******************************************** EXECUTE ANALYSIS ACTIONS *******************************************/

// Loop through the analysis actions, executing them in order for the active particle combo
dAnalyzeCutActions->Perform_ActionWeight(locHistAccidWeightFactor); // Must be executed before Execute_Actions()
dAnalyzeCutActions->Perform_ActionWeight(locHistAccidWeightFactor);

// Note: Using accidental subtraction in AnalyzeCutAction requires version > 1.9.0 of gluex_root_analysis. To use without accidental subtraction and a previous version of the software, comment out the line above and uncomment next line
//dAnalyzeCutActions->Perform_Action();

if(!Execute_Actions()) //if the active combo fails a cut, IsComboCutFlag automatically set
continue;

Expand Down

0 comments on commit 0ae693a

Please sign in to comment.