AtNuDataType Class Reference

#include <AtNuOscFitTemplate.h>

List of all members.

Public Types

enum  EAtNuDataType {
  kUnknown = 0, kAtmos = 1, kUpMu = 2, kCosmic = 3,
  kData = 4
}
typedef Int_t AtNuDataType_t

Static Public Member Functions

static const char * AsString (AtNuDataType_t datatype)

Detailed Description

Definition at line 11 of file AtNuOscFitTemplate.h.


Member Typedef Documentation

Definition at line 21 of file AtNuOscFitTemplate.h.


Member Enumeration Documentation

Enumerator:
kUnknown 
kAtmos 
kUpMu 
kCosmic 
kData 

Definition at line 14 of file AtNuOscFitTemplate.h.

00014                      {
00015     kUnknown = 0,
00016     kAtmos   = 1,
00017     kUpMu    = 2,
00018     kCosmic  = 3,
00019     kData    = 4
00020   };


Member Function Documentation

const char * AtNuDataType::AsString ( AtNuDataType_t  datatype  )  [static]

Definition at line 12 of file AtNuOscFitTemplate.cxx.

References AtNuCounter::kAtmos, AtNuCounter::kCosmic, kData, kUnknown, and AtNuCounter::kUpMu.

00012                                                          {
00013 
00014   static char newstring[80] = "";
00015 
00016   switch( datatype ){
00017   case kUnknown:
00018     sprintf(newstring,"AtNuData::kUnknown"); break;
00019   case kAtmos:
00020     sprintf(newstring,"AtNuData::kAtmos"); break;
00021   case kUpMu:
00022     sprintf(newstring,"AtNuData::kUpMu"); break;
00023   case kCosmic:
00024     sprintf(newstring,"AtNuData::kCosmic"); break;
00025   case kData:
00026     sprintf(newstring,"AtNuData::kData"); break;
00027   default:
00028     sprintf(newstring,"AtNuData::kUnknown"); break;
00029   }
00030   
00031   return newstring;
00032 }


The documentation for this class was generated from the following files:

Generated on 25 Apr 2018 for loon by  doxygen 1.6.1