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

PlaneCoverage.h

Go to the documentation of this file.
00001 
00002 // $Id: PlaneCoverage.h,v 1.8 2005/08/26 17:18:48 rhatcher Exp $
00003 //
00004 // PlaneCoverage
00005 //
00006 // PlaneCoverage defines PlaneCoverage_t which is an enumeration of the
00007 // plane coverages.
00008 //
00009 // Author:  R. Hatcher 2000.10.24
00010 //
00012 
00013 #ifndef PLANECOVERAGE_H
00014 #define PLANECOVERAGE_H
00015 
00016 #ifndef ROOT_Rtypes
00017 #if !defined(__CINT__) || defined(__MAKECINT__)
00018 #include "Rtypes.h"
00019 #endif
00020 #endif
00021 
00022 namespace PlaneCoverage {
00023 
00024    typedef enum EPlaneCoverage {
00025       kUnknown        = -1,
00026       kNoActive       =  0,
00027       kUninstrumented =  kNoActive,
00028       kNearPartial    =  1, 
00029       kNearFull       =  2,
00030       kComplete       =  3,
00031       kTotal          =  3,
00032       // VetoShield coverages
00033       // in PlexPlaneId these get truncated in the bit field
00034       // but restored in GetPlaneCoverage()
00035       // "c" "e" has logical strip # opposite of mapper strip #
00036       // "C" "E"       "       "     same          "      "
00037       // N means F1 on North side, S means F1 on South side
00038       kVScN           =  4,
00039       kVSCN           =  5,
00040       kVSeS           =  6,
00041       kVSES           =  7,
00042       kVScS           =  8,
00043       kVSCS           =  9,
00044       kVSeN           = 10,
00045       kVSEN           = 11 
00046    } PlaneCoverage_t;
00047 
00048    // Translation from enum to character strings
00049 
00050    const Char_t*                   AsString(PlaneCoverage_t view);
00051    PlaneCoverage::PlaneCoverage_t  StringToEnum(const Char_t* chars);
00052 
00053 }
00054 
00055 #endif // PLANECOVERAGE_H

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