AtNuResolutionPrior Class Reference

#include <AtNuResolution.h>

List of all members.

Public Types

enum  EAtNuResolutionPrior { kNone = 0, kFlat = 1, kAtmos = 2 }
typedef Int_t AtNuResolutionPrior_t

Static Public Member Functions

static char * AsString (AtNuResolutionPrior_t datatype)

Detailed Description

Definition at line 80 of file AtNuResolution.h.


Member Typedef Documentation

Definition at line 88 of file AtNuResolution.h.


Member Enumeration Documentation

Enumerator:
kNone 
kFlat 
kAtmos 

Definition at line 83 of file AtNuResolution.h.

00083                             {
00084     kNone    = 0,     
00085     kFlat    = 1,
00086     kAtmos   = 2 
00087   };


Member Function Documentation

static char* AtNuResolutionPrior::AsString ( AtNuResolutionPrior_t  datatype  )  [inline, static]

Definition at line 90 of file AtNuResolution.h.

References kAtmos, kFlat, and kNone.

00090                                                        {
00091 
00092     static char newstring[80] = "";
00093     
00094     switch( datatype ){
00095       case kNone:
00096        sprintf(newstring,"AtNuResolution::kNone"); break;
00097       case kFlat:
00098        sprintf(newstring,"AtNuResolution::kFlat"); break;
00099       case kAtmos:
00100        sprintf(newstring,"AtNuResolution::kAtmos"); break;
00101       default:
00102        sprintf(newstring,"AtNuResolution::kNone"); break;
00103     }
00104 
00105     return newstring;
00106   }


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

Generated on 22 Jul 2018 for loon by  doxygen 1.6.1