Selection Namespace Reference

Typedefs

typedef enum Selection::ESelection Selection_t

Enumerations

enum  ESelection {
  kNone = 0, kDataQual = 1, kFid = 2, kBasic = 3,
  kPre = 4, kCuts = 5, kANN6 = 6, kANN30 = 7,
  kSSPID = 8, kMCNN = 9, kBDT = 10, kKNue = 11,
  kMDA = 12, kANN2PE = 13, kANN2PE_DAIKON04 = 14, kANN14_DAIKON04 = 15,
  kCC = 16, kParticlePID = 17, kLEMNNBAR = 18, kLEMBAR = 19,
  kLEM4 = 20, kANN4FHC = 21, kANN4RHC = 22, kLEMAmby = 23,
  kLEMLSND = 24, kLEMAmbyE50N491 = 25, kLEMAmbyE50N591 = 26, kLEMAmbyE50N691 = 27,
  kLEMAmbyE50N5111 = 28, kLEMAmbyE50N6111 = 29, kLEMAmbyE50S491 = 30, kLEMAmbyE50S591 = 31,
  kLEMAmbyE50S691 = 32, kLEMAmbyE50S5111 = 33, kLEMAmbyE50S6111 = 34, kLEMAmbySAE50S491 = 35,
  kSSPIDME5 = 36, kSSPIDME16 = 37, kSSPIDME22 = 38, kSSPIDME37 = 39,
  kSSPIDME43 = 40, kUnknown = 41
}

Functions

const Char_t * AsString (Selection_t selection)
Selection::Selection_t StringToEnum (const Char_t *chars)

Typedef Documentation


Enumeration Type Documentation

Enumerator:
kNone 
kDataQual 
kFid 
kBasic 
kPre 
kCuts 
kANN6 
kANN30 
kSSPID 
kMCNN 
kBDT 
kKNue 
kMDA 
kANN2PE 
kANN2PE_DAIKON04 
kANN14_DAIKON04 
kCC 
kParticlePID 
kLEMNNBAR 
kLEMBAR 
kLEM4 
kANN4FHC 
kANN4RHC 
kLEMAmby 
kLEMLSND 
kLEMAmbyE50N491 
kLEMAmbyE50N591 
kLEMAmbyE50N691 
kLEMAmbyE50N5111 
kLEMAmbyE50N6111 
kLEMAmbyE50S491 
kLEMAmbyE50S591 
kLEMAmbyE50S691 
kLEMAmbyE50S5111 
kLEMAmbyE50S6111 
kLEMAmbySAE50S491 
kSSPIDME5 
kSSPIDME16 
kSSPIDME22 
kSSPIDME37 
kSSPIDME43 
kUnknown 

Definition at line 24 of file Selection.h.

00024                           {
00025       kNone     = 0,
00026       kDataQual = 1,
00027       kFid      = 2,
00028       kBasic    = 3,
00029       kPre      = 4,
00030       kCuts     = 5,
00031       kANN6     = 6,
00032       kANN30    = 7,
00033       kSSPID    = 8, 
00034       kMCNN     = 9,
00035       kBDT      = 10,
00036       kKNue     = 11, 
00037       kMDA      = 12,
00038       kANN2PE   = 13,
00039       kANN2PE_DAIKON04 = 14,
00040       kANN14_DAIKON04 = 15,
00041       kCC       = 16,
00042       kParticlePID = 17,
00043       kLEMNNBAR = 18,
00044       kLEMBAR = 19,
00045       kLEM4 = 20,
00046       kANN4FHC = 21,
00047       kANN4RHC = 22,
00048       kLEMAmby = 23,
00049       kLEMLSND = 24,
00050       kLEMAmbyE50N491 = 25,
00051       kLEMAmbyE50N591 = 26,
00052       kLEMAmbyE50N691 = 27,
00053       kLEMAmbyE50N5111 = 28,
00054       kLEMAmbyE50N6111 = 29,
00055       kLEMAmbyE50S491 = 30,
00056       kLEMAmbyE50S591 = 31,
00057       kLEMAmbyE50S691 = 32,
00058       kLEMAmbyE50S5111 = 33,
00059       kLEMAmbyE50S6111 = 34,
00060       kLEMAmbySAE50S491 = 35,     
00061       kSSPIDME5    = 36,
00062       kSSPIDME16    = 37,
00063       kSSPIDME22    = 38,
00064       kSSPIDME37    = 39,
00065       kSSPIDME43    = 40,
00066       kUnknown  = 41
00067   } Selection_t;


Function Documentation

const Char_t * Selection::AsString ( Selection_t  selection  ) 

Definition at line 7 of file Selection.cxx.

References kANN14_DAIKON04, kANN2PE, kANN2PE_DAIKON04, kANN30, kANN4FHC, kANN4RHC, kANN6, kBasic, kBDT, kCC, kCuts, kDataQual, kFid, kKNue, kLEM4, kLEMAmby, kLEMAmbyE50N491, kLEMAmbyE50N5111, kLEMAmbyE50N591, kLEMAmbyE50N6111, kLEMAmbyE50N691, kLEMAmbyE50S491, kLEMAmbyE50S5111, kLEMAmbyE50S591, kLEMAmbyE50S6111, kLEMAmbyE50S691, kLEMAmbySAE50S491, kLEMBAR, kLEMLSND, kLEMNNBAR, kMCNN, kMDA, kNone, kParticlePID, kPre, kSSPID, kSSPIDME16, kSSPIDME22, kSSPIDME37, kSSPIDME43, kSSPIDME5, and kUnknown.

Referenced by NuePrediction::GetPrediction(), NueExtrapolation::GetSpectrum(), NueExtrapolationJB::LoadDataHistograms(), NueGui::NueGui(), NueGui::StartComparator(), NueMatrixHelper::WriteFile(), NueFNHelper::WriteFile(), SysFileGen::WriteToFile(), NueExtrapolationJB::WriteToFile(), and SysFileGen2D::WriteToFile().

00008 {
00009    switch (selection) {
00010    case kNone:      return "None";       break;
00011    case kDataQual:  return "DataQual";   break;
00012    case kFid:       return "Fid";        break;
00013    case kBasic:     return "Basic";      break;
00014    case kPre:       return "Presel";     break;
00015    case kCuts:      return "Cuts";       break;
00016    case kANN6:      return "ANN6";       break;
00017    case kANN30:     return "ANN30";      break;
00018    case kSSPID:     return "SSPID";      break;
00019    case kMDA:       return "MDA";        break;
00020    case kBDT:       return "BDT";        break;
00021    case kKNue:      return "KNue";       break;
00022    case kMCNN:      return "MCNN";       break;
00023    case kLEMNNBAR:  return "LEMNNBAR";   break;
00024    case kLEMBAR:    return "LEMBAR";     break;
00025    case kLEM4:      return "LEM4";       break;
00026    case kLEMAmby:   return "LEMAmby";    break;
00027    case kLEMLSND:   return "LEMLSND";    break;
00028    case kANN2PE:    return "ANN2PE";     break;
00029    case kANN2PE_DAIKON04:    return "ANN2PE_DAIKON04";     break;
00030    case kANN14_DAIKON04:    return "ANN14_DAIKON04";     break;
00031    case kANN4FHC:   return "ANN4FHC";    break;
00032    case kANN4RHC:   return "ANN4RHC";    break;
00033    case kCC:        return "CC";         break;
00034    case kUnknown:   return "Unknown";    break;
00035    case kParticlePID: return "ParticlePID"; break;
00036 
00037    case kLEMAmbyE50N491:   return "LEMAmbyE50N491";    break;
00038    case kLEMAmbyE50N591:   return "LEMAmbyE50N591";    break;
00039    case kLEMAmbyE50N691:   return "LEMAmbyE50N691";    break;
00040    case kLEMAmbyE50N5111:   return "LEMAmbyE50N5111";    break;
00041    case kLEMAmbyE50N6111:   return "LEMAmbyE50N6111";    break;
00042    case kLEMAmbyE50S491:   return "LEMAmbyE50S491";    break;
00043    case kLEMAmbyE50S591:   return "LEMAmbyE50S591";    break;
00044    case kLEMAmbyE50S691:   return "LEMAmbyE50S691";    break;
00045    case kLEMAmbyE50S5111:   return "LEMAmbyE50S5111";    break;
00046    case kLEMAmbyE50S6111:   return "LEMAmbyE50S6111";    break;
00047    case kLEMAmbySAE50S491:   return "LEMAmbyE50S491";    break;
00048 
00049    case kSSPIDME5:   return "SSPIDME5";    break;
00050    case kSSPIDME16:   return "SSPIDME16";    break;
00051    case kSSPIDME22:   return "SSPIDME22";    break;
00052    case kSSPIDME37:   return "SSPIDME37";    break;
00053    case kSSPIDME43:   return "SSPIDME43";    break;
00054 
00055    default:         return "?Unknown?";  break;
00056    }
00057 }

Selection::Selection_t Selection::StringToEnum ( const Char_t *  chars  ) 

Definition at line 60 of file Selection.cxx.

References kANN14_DAIKON04, kANN2PE, kANN2PE_DAIKON04, kANN30, kANN4FHC, kANN4RHC, kANN6, kBasic, kBDT, kCC, kCuts, kDataQual, kFid, kKNue, kLEM4, kLEMAmby, kLEMAmbyE50N491, kLEMAmbyE50N5111, kLEMAmbyE50N591, kLEMAmbyE50N6111, kLEMAmbyE50N691, kLEMAmbyE50S491, kLEMAmbyE50S5111, kLEMAmbyE50S591, kLEMAmbyE50S6111, kLEMAmbyE50S691, kLEMAmbySAE50S491, kLEMBAR, kLEMLSND, kLEMNNBAR, kMCNN, kMDA, kNone, kParticlePID, kPre, kSSPID, kSSPIDME16, kSSPIDME22, kSSPIDME37, kSSPIDME43, kSSPIDME5, and kUnknown.

Referenced by NueSystematic::DoShwDevCalc(), Comparator::ExtractDataHists(), and JBComparator::ExtractDataHists().

00061 {
00062   TString theString(chars);
00063   if(theString.Contains("None"))  return kNone;
00064   if(theString.Contains("DataQual")) return kDataQual;
00065   if(theString.Contains("Basic")) return kBasic;
00066   if(theString.Contains("Fid"))   return kFid;
00067   if(theString.Contains("Presel"))  return kPre;  
00068   if(theString.Contains("Cuts"))  return kCuts;
00069   if(theString.Contains("ANN6"))   return kANN6;
00070   if(theString.Contains("ANN30"))   return kANN30;
00071   if(theString.Contains("SSPID")) return kSSPID;
00072   if(theString.Contains("MDA"))   return kMDA;
00073   if(theString.Contains("BDT"))   return kBDT;
00074   if(theString.Contains("KNue"))  return kKNue;
00075   if(theString.Contains("MCNN"))  return kMCNN;
00076   if(theString.Contains("LEMNNBAR")) return kLEMNNBAR;
00077   if(theString.Contains("LEMBAR")) return kLEMBAR;
00078   if(theString.Contains("LEM4")) return kLEM4;
00079   if(theString.Contains("LEMAmby")) return kLEMAmby;
00080   if(theString.Contains("LEMLSND")) return kLEMLSND;
00081   if(theString.Contains("ANN2PE"))   return kANN2PE;
00082   if(theString.Contains("ANN2PE_DAIKON04"))   return kANN2PE_DAIKON04;
00083   if(theString.Contains("ANN14_DAIKON04"))   return kANN14_DAIKON04;
00084   if(theString.Contains("ANN4FHC"))   return kANN4FHC;
00085   if(theString.Contains("ANN4RHC"))   return kANN4RHC;
00086   if(theString.Contains("ParticlePID"))  return kParticlePID;
00087   if(theString.Contains("CC"))    return kCC;
00088 
00089   if(theString.Contains("LEMAmbyE50N491")) return kLEMAmbyE50N491;
00090   if(theString.Contains("LEMAmbyE50N591")) return kLEMAmbyE50N591;
00091   if(theString.Contains("LEMAmbyE50N691")) return kLEMAmbyE50N691;
00092   if(theString.Contains("LEMAmbyE50N5111")) return kLEMAmbyE50N5111;
00093   if(theString.Contains("LEMAmbyE50N6111")) return kLEMAmbyE50N6111;
00094   if(theString.Contains("LEMAmbyE50S491")) return kLEMAmbyE50S491;
00095   if(theString.Contains("LEMAmbyE50S591")) return kLEMAmbyE50S591;
00096   if(theString.Contains("LEMAmbyE50S691")) return kLEMAmbyE50S691;
00097   if(theString.Contains("LEMAmbyE50S5111")) return kLEMAmbyE50S5111;
00098   if(theString.Contains("LEMAmbyE50S6111")) return kLEMAmbyE50S6111;
00099   if(theString.Contains("LEMAmbySAE50S491")) return kLEMAmbySAE50S491;
00100   
00101   if(theString.Contains("SSPIDME5")) return kSSPIDME5;
00102   if(theString.Contains("SSPIDME16")) return kSSPIDME16;
00103   if(theString.Contains("SSPIDME22")) return kSSPIDME22;
00104   if(theString.Contains("SSPIDME37")) return kSSPIDME37;
00105   if(theString.Contains("SSPIDME43")) return kSSPIDME43;
00106 
00107 
00108   return kUnknown;
00109 }


Generated on 18 Dec 2018 for loon by  doxygen 1.6.1