AtNuTemplateType Class Reference

#include <AtNuOscFitTemplate.h>

List of all members.

Public Types

enum  EAtNuTemplateType {
  kNone = 0, kAtmosMC = 1, kAtmosData = 2, kAtmosNumuCC = 3,
  kAtmosNueCC = 4, kAtmosNumuNC = 5, kAtmosNueNC = 6, kCosmicMC = 7,
  kCosmicData = 8
}
typedef Int_t AtNuTemplateType_t

Static Public Member Functions

static const char * AsString (AtNuTemplateType_t datatype)

Detailed Description

Definition at line 26 of file AtNuOscFitTemplate.h.


Member Typedef Documentation

Definition at line 40 of file AtNuOscFitTemplate.h.


Member Enumeration Documentation

Enumerator:
kNone 
kAtmosMC 
kAtmosData 
kAtmosNumuCC 
kAtmosNueCC 
kAtmosNumuNC 
kAtmosNueNC 
kCosmicMC 
kCosmicData 

Definition at line 29 of file AtNuOscFitTemplate.h.

00029                          {
00030     kNone         = 0,  
00031     kAtmosMC      = 1,
00032     kAtmosData    = 2,
00033     kAtmosNumuCC  = 3,
00034     kAtmosNueCC   = 4, 
00035     kAtmosNumuNC  = 5,
00036     kAtmosNueNC   = 6,    
00037     kCosmicMC     = 7,
00038     kCosmicData   = 8    
00039   };


Member Function Documentation

const char * AtNuTemplateType::AsString ( AtNuTemplateType_t  datatype  )  [static]

Definition at line 34 of file AtNuOscFitTemplate.cxx.

References kAtmosData, kAtmosMC, kAtmosNueCC, kAtmosNueNC, kAtmosNumuCC, kAtmosNumuNC, kCosmicData, kCosmicMC, and kNone.

00034                                                                  {
00035 
00036   static char newstring[80] = "";
00037   
00038   switch( datatype ){
00039   case kNone:
00040     sprintf(newstring,"AtNuTemplate::kNone"); break;
00041   case kAtmosMC:
00042     sprintf(newstring,"AtNuTemplate::kAtmosMC"); break;
00043   case kAtmosData:
00044     sprintf(newstring,"AtNuTemplate::kAtmosData"); break;
00045   case kAtmosNumuCC:
00046     sprintf(newstring,"AtNuTemplate::kAtmosNumuCC"); break;
00047   case kAtmosNueCC:
00048     sprintf(newstring,"AtNuTemplate::kAtmosNueCC"); break;
00049   case kAtmosNumuNC:
00050     sprintf(newstring,"AtNuTemplate::kAtmosNumuNC"); break;
00051   case kAtmosNueNC:
00052     sprintf(newstring,"AtNuTemplate::kAtmosNueNC"); break;
00053   case kCosmicMC:
00054     sprintf(newstring,"AtNuTemplate::kCosmicMC"); break;
00055   case kCosmicData:
00056     sprintf(newstring,"AtNuTemplate::kCosmicData"); break;
00057   default:
00058     sprintf(newstring,"AtNuTemplate::kNone"); break;
00059   }
00060   
00061   return newstring;
00062 }


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

Generated on 3 Oct 2018 for loon by  doxygen 1.6.1