Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PlaneView.h

Go to the documentation of this file.
00001 
00002 // $Id: PlaneView.h,v 1.8 2005/08/26 17:18:48 rhatcher Exp $
00003 //
00004 // PlaneView
00005 //
00006 // PlaneView defines PlaneView_t which is an enumeration of the
00007 // legal plane orientations.
00008 //
00009 // Author:  R. Hatcher 2000.10.24
00010 //
00012 
00013 #ifndef PLANEVIEW_H
00014 #define PLANEVIEW_H
00015 
00016 #ifndef ROOT_Rtypes
00017 #if !defined(__CINT__) || defined(__MAKECINT__)
00018 #include "Rtypes.h"
00019 #endif
00020 #endif
00021 
00022 namespace PlaneView {
00023 
00024    typedef enum EPlaneView {
00025       // standard orientations
00026       kX               = 0,
00027       kY               = 1, 
00028       kU               = 2,
00029       kV               = 3,
00030       // special CalDet orientations for planes on floor
00031       kA               = 4,  // strips run perp to beam
00032       kB               = 5,  // strips run in beam direction
00033       // flag bad values
00034       kUnknown         = 7,
00035       // VetoShield orientations
00036       // in PlexPlaneId these get truncated in the bit field
00037       // but restored in GetPlaneView()
00038       kVSTopFlat       = 8,
00039       kVSTopEastSlant  = 9,
00040       kVSTopWestSlant  = 10,
00041       kVSWallOnEdge    = 11,
00042       kVSWallEastSlant = 12,
00043       kVSWallWestSlant = 13,
00044       kVSUnknown       = 15
00045    } PlaneView_t;
00046 
00047    // Translation from enum to character strings
00048 
00049    const Char_t*           AsString(PlaneView_t view);
00050    PlaneView::PlaneView_t  CharToEnum(Char_t c);
00051 
00052 }
00053 
00054 #endif // PLANEVIEW_H

Generated on Mon Nov 23 05:28:00 2009 for loon by  doxygen 1.3.9.1