AtNuResolutionType Class Reference

#include <AtNuResolution.h>

List of all members.

Public Types

enum  EAtNuResolutionType {
  kNone = -1, kLoRes = 0, kHiRes1 = 1, kHiRes2 = 2,
  kHiRes3 = 3, kHiRes4 = 4
}
typedef Int_t AtNuResolutionType_t

Static Public Member Functions

static char * AsString (AtNuResolutionType_t datatype)

Detailed Description

Definition at line 10 of file AtNuResolution.h.


Member Typedef Documentation

Definition at line 21 of file AtNuResolution.h.


Member Enumeration Documentation

Enumerator:
kNone 
kLoRes 
kHiRes1 
kHiRes2 
kHiRes3 
kHiRes4 

Definition at line 13 of file AtNuResolution.h.

00013                            {
00014     kNone      = -1,     
00015     kLoRes     = 0,
00016     kHiRes1    = 1, 
00017     kHiRes2    = 2,
00018     kHiRes3    = 3,
00019     kHiRes4    = 4
00020   };


Member Function Documentation

static char* AtNuResolutionType::AsString ( AtNuResolutionType_t  datatype  )  [inline, static]

Definition at line 23 of file AtNuResolution.h.

References kHiRes1, kHiRes2, kHiRes3, kHiRes4, kLoRes, and kNone.

00023                                                       {
00024 
00025     static char newstring[80] = "";
00026     
00027     switch( datatype ){
00028       case kNone:
00029        sprintf(newstring,"AtNuResolution::kNone"); break;
00030       case kLoRes:
00031        sprintf(newstring,"AtNuResolution::kLoRes"); break;
00032       case kHiRes1:
00033        sprintf(newstring,"AtNuResolution::kHiRes1"); break;
00034       case kHiRes2:
00035        sprintf(newstring,"AtNuResolution::kHiRes2"); break;
00036       case kHiRes3:
00037        sprintf(newstring,"AtNuResolution::kHiRes3"); break;
00038       case kHiRes4:
00039        sprintf(newstring,"AtNuResolution::kHiRes4"); break;
00040       default:
00041        sprintf(newstring,"AtNuResolution::kNone"); break;
00042     }
00043 
00044     return newstring;
00045   }


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

Generated on 14 Jun 2018 for loon by  doxygen 1.6.1