NueConvention.h File Reference

#include "TObject.h"
#include <iostream>

Go to the source code of this file.

Classes

struct  FilePosition

Namespaces

namespace  NueConvention

Typedefs

typedef enum
NueConvention::ENueRelease 
NueConvention::NueRel_t

Enumerations

enum  NueConvention::ENueRelease {
  NueConvention::kUnknown = 0x00, NueConvention::kEnt = 0x01, NueConvention::kFirebird = 0x02, NueConvention::kGriffin = 0x03,
  NueConvention::kHydra = 0x04, NueConvention::kImp = 0x05, NueConvention::kJaberwocky = 0x06, NueConvention::kKraken = 0x07,
  NueConvention::kLeviathan = 0x08, NueConvention::kManticore = 0x09
}

Functions

Int_t NueConvention::DetermineClassType (Int_t inu, Int_t inunoosc, Int_t iaction)
int NueConvention::IsInsideNearFiducial_Nue_Extended (float x, float y, float z)
int NueConvention::IsInsideFarFiducial_Nue_Extended (float x, float y, float z)
int NueConvention::IsInsideNearFiducial_Nue_Standard (float x, float y, float z, bool isMC)
int NueConvention::IsInsideFarFiducial_Nue_Standard (float x, float y, float z, bool isMC)
int NueConvention::IsInsideNearFiducial_MRE_Standard (float x, float y, float z, bool isMC)
Int_t NueConvention::InPartialRegion (UShort_t plane, UShort_t strip)
float NueConvention::Oscillate (NtpMCTruth *mcth, float L, float dm2, float theta23, float UE32)
float NueConvention::Oscillate (ANtpTruthInfoBeam *ib, float L, float dm2, float theta23, float UE32)
float NueConvention::Oscillate (int nuFlavor, int nonOscNuFlavor, float Energy, float L, float dm2, float theta23, float U)
float NueConvention::Oscillate (ANtpTruthInfoBeamNue *ib)
void NueConvention::NueEnergyCorrection (NueRecord *nr, bool isLinearityFixMC=false)
float NueConvention::NueEnergyCorrection (float meu, int type, bool isMC, int detector, bool isLinearityFixMC)
void NueConvention::RHCNueEnergyCorrection (NueRecord *nr, bool isLinearityFixMC=false)
float NueConvention::RHCNueEnergyCorrection (float meu, int type, bool isMC, int detector, bool isLinearityFixMC=false)
void NueConvention::MINOSPLUSNueEnergyCorrection (NueRecord *nr, bool isLinearityFixMC=false)
float NueConvention::MINOSPLUSNueEnergyCorrection (float meu, int type, bool isMC, int detector, bool isLinearityFixMC=false)
void NueConvention::NueEnergyCorrectionNeverUseThisFunction (NueRecord *nr)
float NueConvention::NueEnergyCorrectionNeverUseThisFunction (float meu, int type, bool isMC, int detector)
bool operator> (FilePosition one, FilePosition two)
bool operator< (FilePosition one, FilePosition two)
bool operator== (FilePosition one, FilePosition two)

Variables

static const Int_t NueConvention::NC = 0
static const Int_t NueConvention::numu = 1
static const Int_t NueConvention::nue = 2
static const Int_t NueConvention::nutau = 3
static const Int_t NueConvention::bnue = 4

Function Documentation

bool operator< ( FilePosition  one,
FilePosition  two 
)

Definition at line 720 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00721 {
00722    bool result = false;
00723    if(one.Run < two.Run)  result = true;
00724    if(one.Run == two.Run && one.SubRun < two.SubRun) result = true;
00725    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl < two.Snarl) result = true;
00726    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00727         one.Event < two.Event) result = true;
00728 
00729 
00730    return result;
00731 }

bool operator== ( FilePosition  one,
FilePosition  two 
)

Definition at line 733 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00734 {
00735    bool result = false;
00736    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00737               one.Event == two.Event) result = true;
00738 
00739    return result;
00740 }

bool operator> ( FilePosition  one,
FilePosition  two 
)

Definition at line 706 of file NueConvention.cxx.

References FilePosition::Event, FilePosition::Run, FilePosition::Snarl, and FilePosition::SubRun.

00707 {
00708    bool result = false;
00709    if(one.Run > two.Run)  result = true;
00710    if(one.Run == two.Run && one.SubRun > two.SubRun) result = true;
00711    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl > two.Snarl) result = true;
00712    if(one.Run == two.Run && one.SubRun == two.SubRun && one.Snarl == two.Snarl &&
00713         one.Event > two.Event) result = true;
00714 
00715 
00716    return result;
00717 }


Generated on 22 Nov 2017 for loon by  doxygen 1.6.1