RockMatrixRAF0720Std.cxx File Reference

#include "RockMatrixRAF0720Std.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 ("$Id: RockMatrixRAF0720Std.cxx,v 1.49 2010/11/10 20:34:11 mstrait Exp $")
static TH1D En ("trken","trken", NBINS1DE, enbins)
static TH1D An ("trkan","trkan", NBINS1DA, anbins)
static void issueobobwarning ()
static double spoonlawn (double trkEn)

Variables

static const int NBINS1DE = 25
static const int NBINS1DA = 45
static const int NBINS2D = 133
static double enbins [NBINS1DE+1]
static double anbins [NBINS1DA+1]

Function Documentation

static TH1D An ( "trkan"  ,
"trkan"  ,
NBINS1DA  ,
anbins   
) [static]
CVSID ( "$Id: RockMatrixRAF0720Std.  cxx,
v 1.49 2010/11/10 20:34:11 mstrait Exp $"   
)

This is the version of the Rock and Antifiducial analysis that *was* going to be used for the CC 2010 publications. However, it had some problems and so RockMatrixRAF0720Eonly was used intead. That's what you get for naming something "standard", I suppose.

static TH1D En ( "trken"  ,
"trken"  ,
NBINS1DE  ,
enbins   
) [static]
static void issueobobwarning (  )  [static]

Definition at line 246 of file RockMatrixRAF0720Std.cxx.

References Msg::kInfo, and MAXMSG.

Referenced by RockMatrixRAF0720Std::GlobalBin2ear().

00247 {
00248   MAXMSG("RockMatrixRAF0720Std", Msg::kInfo, 1)
00249   << "\n\nAre you passing in the bin numbers from fAllReco/raf_allreco or"
00250      " fJess_[ccmu|cctau|no]/raf_jess_[ccmu|cctau|no]?  If so, you need"
00251      " to subtract one to go from the bin numbers of those histogram to the "
00252      " global bin number used to fill those histograms.  Sorry.\n\n";
00253 }

static double spoonlawn ( double  trkEn  )  [static]

Definition at line 616 of file RockMatrixRAF0720Std.cxx.

References RS_DISPDUMMYMAX, and RS_DISPMAX1.

Referenced by RockMatrixRAF0720Std::Fill().

00617 {
00618   return trkEn > RS_DISPMAX1? RS_DISPDUMMYMAX-0.0001: trkEn;
00619 }


Variable Documentation

double anbins[NBINS1DA+1] [static]
Initial value:
   { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,
    20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,
    40, 45, 50, 55, 60, 90 }

Definition at line 43 of file RockMatrixRAF0720Std.cxx.

double enbins[NBINS1DE+1] [static]
Initial value:
 
 { 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 
   5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5,
   10, 15, 20, 25, 30, 200 }

Definition at line 32 of file RockMatrixRAF0720Std.cxx.

const int NBINS1DA = 45 [static]
const int NBINS1DE = 25 [static]
const int NBINS2D = 133 [static]

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1