nuisance is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 82 and Version 83 of HowToAddSample


Ignore:
Timestamp:
Jan 9, 2017, 3:43:44 PM (8 years ago)
Author:
Clarence Wret
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToAddSample

    v82 v83  
    204204    ...
    205205    Do different stuff when I want W14 data + cuts
    206     e.g. set a bool or double to remember what settings I'm running with, load up different data, different covariance matrix, and so on
     206    e.g. set a bool or double to remember what settings
     207    I'm running with, load up different data,
     208    different covariance matrix, and so on
    207209    ...
    208210  } else {
     
    316318  SetupDefaultHist();
    317319
    318   fScaleFactor = (fEventHist->Integral("width")*1E-38)/double(fNEvents)/TotalIntegratedFlux("width");
     320  fScaleFactor = (fEventHist->Integral("width")*1E-38)
     321        /double(fNEvents)/TotalIntegratedFlux("width");
    319322};
    320323}}}
     
    470473We can then add our kinematic phase-space requirements on the muon and pion in our `SignalDef::isCC1pip_T2K_H2O(FitEvent *event, double EnuMin, double EnuMax` implementation in `src/T2K/T2K_SignalDef.cxx`.
    471474
    472 In summary, we get for `src/T2K/T2K_SignalDef.cxx`:
     475{{{
     476#!div class="important"
     477'''What to do:'''
     478
     479We get for `src/T2K/T2K_SignalDef.cxx`:
    473480
    474481{{{
     
    513520
    514521making sure our [#point_header header file] has `#include "T2K_SignalDef.h"`.
    515 
     522}}}
    516523
    517524= Add the sample to the CMake process =