RockMatrixRAF0720Eonly.cxx File Reference

#include "RockMatrixRAF0720Eonly.h"
#include "MessageService/MsgService.h"
#include "NtupleUtils/NuCutImps.h"
#include "TChain.h"
#include "TFile.h"
#include "TH2D.h"
#include "TMath.h"

Go to the source code of this file.

Functions

 CVSID ("What do I do with this for a new file?")
static TH1D coarse ("coarse","coarse", NBINSCOARSE, enbinscoarse)
static TH1D fine ("fine","fine", NBINSFINE, enbinsfine)
static TH1D coarsedisp ("coarsedisp","", NBINSCOARSEDISP, enbinscoarsedisp)
static TH1D finedisp ("finedisp","", NBINSFINEDISP, enbinsfinedisp)
static TH1D summeddisp ("summeddisp","", SUMMEDNBINS, summedbins)
static double spoonlawn (double trkEn)
static double clampfine (double trkEn)
static double clampcoarse (double trkEn)

Variables

static const int NBINSCOARSE = 9
static const int NBINSFINE = 28
static const int NBINSCOARSEDISP = 7
static const int NBINSFINEDISP = 11
static const int SUMMEDNBINS = 15
static double enbinscoarse [NBINSCOARSE+1]
static double enbinsfine [NBINSFINE+1]
static double enbinscoarsedisp [NBINSCOARSEDISP+1]
static double enbinsfinedisp [NBINSFINEDISP+1]
double summedbins [SUMMEDNBINS+1]

Function Documentation

static double clampcoarse ( double  trkEn  )  [static]

Definition at line 202 of file RockMatrixRAF0720Eonly.cxx.

References coarse().

Referenced by RockMatrixRAF0720Eonly::er2GlobalBin(), and RockMatrixRAF0720Eonly::Fill().

00203 {
00204   static double top = coarse.GetBinLowEdge(coarse.GetNbinsX()+1);
00205   static double mid = coarse.GetBinCenter(coarse.GetNbinsX());
00206   return trkEn > top? mid : trkEn;
00207 }

static double clampfine ( double  trkEn  )  [static]

Definition at line 195 of file RockMatrixRAF0720Eonly.cxx.

References fine().

Referenced by RockMatrixRAF0720Eonly::er2GlobalBin(), and RockMatrixRAF0720Eonly::Fill().

00196 {
00197   static double top = fine.GetBinLowEdge(fine.GetNbinsX()+1);
00198   static double mid = fine.GetBinCenter(fine.GetNbinsX());
00199   return trkEn > top? mid : trkEn;
00200 }

static TH1D coarse ( "coarse"  ,
"coarse"  ,
NBINSCOARSE  ,
enbinscoarse   
) [static]
static TH1D coarsedisp ( "coarsedisp"  ,
""  ,
NBINSCOARSEDISP  ,
enbinscoarsedisp   
) [static]
CVSID ( "What do I do with this for a new file?"   ) 

This is the version of the Rock and Anti-fiducial (a.k.a. Partially Contained Events, a.k.a. Rock Muon) analysis used for the official 2010 results.

It is a simplification of RockMatrixRAF0720Std in which there is no angle binning. The decrease in dm2 sensitivity is ~3%, and this is probably worth it for the dramatic decrease in presentation difficulty. The bins are also generally coarser so that each as more monte carlo statistics.

As long as I was changing things, I also got rid of the annoying feature of having both a "real" overflow bin (50-200) and a ROOT overflow bin (200-inf). Now everything is forced into the "real" one and will always get displayed.

static TH1D fine ( "fine"  ,
"fine"  ,
NBINSFINE  ,
enbinsfine   
) [static]
static TH1D finedisp ( "finedisp"  ,
""  ,
NBINSFINEDISP  ,
enbinsfinedisp   
) [static]
static double spoonlawn ( double  trkEn  )  [static]

Definition at line 186 of file RockMatrixRAF0720Eonly.cxx.

Referenced by RockMatrixRAF0720Eonly::Fill().

00187 {
00188 // actually do nothing at the moment, please
00189 //  return trkEn > R1_DISPMAX1? R1_DISPDUMMYMAX-0.0001: trkEn;
00190 return trkEn;
00191 }

static TH1D summeddisp ( "summeddisp"  ,
""  ,
SUMMEDNBINS  ,
summedbins   
) [static]

Variable Documentation

double enbinscoarse[NBINSCOARSE+1] [static]
Initial value:
 { 
  0.0,
  1.0, 1.5, 2.0,
  3, 4, 
  6,
  9,
  15,
  200 
}

Definition at line 54 of file RockMatrixRAF0720Eonly.cxx.

double enbinscoarsedisp[NBINSCOARSEDISP+1] [static]
Initial value:
 { 
  0, 1, 2, 3, 4, 6, R1_DISPMAX1, R1_DISPDUMMYMAX
}

Definition at line 86 of file RockMatrixRAF0720Eonly.cxx.

double enbinsfine[NBINSFINE+1] [static]
Initial value:
 {
  0,
  0.75, 1.00, 1.25, 1.50, 1.75, 2.00, 2.25, 2.50, 2.75, 3.00, 3.25, 3.50, 3.75, 
  4.0, 4.5, 5.0, 5.5, 
  6, 7, 8, 9, 10,
  15, 20, 25,
  30,
  45, 
  200
}

Definition at line 72 of file RockMatrixRAF0720Eonly.cxx.

double enbinsfinedisp[NBINSFINEDISP+1] [static]
Initial value:
 {
  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, R1_DISPMAX1, R1_DISPDUMMYMAX
}

Definition at line 92 of file RockMatrixRAF0720Eonly.cxx.

const int NBINSCOARSE = 9 [static]
const int NBINSCOARSEDISP = 7 [static]

Definition at line 42 of file RockMatrixRAF0720Eonly.cxx.

const int NBINSFINE = 28 [static]
const int NBINSFINEDISP = 11 [static]

Definition at line 43 of file RockMatrixRAF0720Eonly.cxx.

Initial value:
 {

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30, 50, 100
}

Definition at line 98 of file RockMatrixRAF0720Eonly.cxx.

const int SUMMEDNBINS = 15 [static]

Definition at line 44 of file RockMatrixRAF0720Eonly.cxx.


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1