CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/RecoTBCalo/HcalPlotter/scripts/MyHcalClasses.h

Go to the documentation of this file.
00001 #ifndef MYHCALCLASSES_INCLUDED
00002 #define MYHCALCLASSES_INCLUDED
00003 
00004   enum MyHcalSubdetector { HcalEmpty=0,
00005                            HcalBarrel=1,
00006                            HcalEndcap=2,
00007                            HcalOuter=3,
00008                            HcalForward=4,
00009                            HcalTriggerTower=5,
00010                            HcalOther=7 };
00011   typedef struct {
00012     MyHcalSubdetector subdet;
00013     int               ieta;
00014     int               iphi;
00015     int               depth;
00016   }
00017     MyHcalDetId;
00018 
00019 
00020   typedef struct {
00021    
00022     int               fiber;
00023     int               fiberChan;
00024     int               crate;
00025   
00026     int Slot;
00027     char tb;
00028   } 
00029     MyElectronicsId;
00030 
00031 
00032 
00033 #endif // MYHCALCLASSES_INCLUDED