CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/TrackerAlignment/src/TrackerCounters.cc

Go to the documentation of this file.
00001 #include "Alignment/TrackerAlignment/interface/TECNameSpace.h"
00002 #include "Alignment/TrackerAlignment/interface/TIBNameSpace.h"
00003 #include "Alignment/TrackerAlignment/interface/TIDNameSpace.h"
00004 #include "Alignment/TrackerAlignment/interface/TOBNameSpace.h"
00005 #include "Alignment/TrackerAlignment/interface/TPBNameSpace.h"
00006 #include "Alignment/TrackerAlignment/interface/TPENameSpace.h"
00007 
00008 #include "Alignment/TrackerAlignment/interface/TrackerCounters.h"
00009 
00010 using namespace align;
00011 
00012 //__________________________________________________________________________________________________
00013 TrackerCounters::TrackerCounters()
00014 {
00015   theCounters.clear();
00016 
00017   // Barrel Pixel
00018   theCounters[TPBModule]       = tpb::      moduleNumber;
00019   theCounters[TPBLadder]       = tpb::      ladderNumber;
00020   theCounters[TPBLayer]        = tpb::       layerNumber;
00021   theCounters[TPBHalfBarrel]   = tpb::  halfBarrelNumber;
00022 
00023   // Forward Pixel
00024   theCounters[TPEModule]       = tpe::      moduleNumber;
00025   theCounters[TPEPanel]        = tpe::       panelNumber;
00026   theCounters[TPEBlade]        = tpe::       bladeNumber;
00027   theCounters[TPEHalfDisk]     = tpe::    halfDiskNumber;
00028   theCounters[TPEHalfCylinder] = tpe::halfCylinderNumber;
00029   theCounters[TPEEndcap]       = tpe::      endcapNumber;
00030 
00031   // Tracker Inner Barrel
00032   theCounters[TIBModule]       = tib::      moduleNumber;
00033   theCounters[TIBString]       = tib::      stringNumber;
00034   theCounters[TIBSurface]      = tib::     surfaceNumber;
00035   theCounters[TIBHalfShell]    = tib::   halfShellNumber;
00036   theCounters[TIBLayer]        = tib::       layerNumber;
00037   theCounters[TIBHalfBarrel]   = tib::  halfBarrelNumber;
00038 
00039   // Tracker Inner Barrel
00040   theCounters[TIDModule]       = tid::      moduleNumber;
00041   theCounters[TIDSide]         = tid::        sideNumber;
00042   theCounters[TIDRing]         = tid::        ringNumber;
00043   theCounters[TIDDisk]         = tid::        diskNumber;
00044   theCounters[TIDEndcap]       = tid::      endcapNumber;
00045 
00046   // Tracker Outer Barrel
00047   theCounters[TOBModule]       = tob::      moduleNumber;
00048   theCounters[TOBRod]          = tob::         rodNumber;
00049   theCounters[TOBLayer]        = tob::       layerNumber;
00050   theCounters[TOBHalfBarrel]   = tob::  halfBarrelNumber;
00051 
00052   // Tracker Endcaps
00053   theCounters[TECModule]       = tec::      moduleNumber;
00054   theCounters[TECRing]         = tec::        ringNumber;
00055   theCounters[TECPetal]        = tec::       petalNumber;
00056   theCounters[TECSide]         = tec::        sideNumber;
00057   theCounters[TECDisk]         = tec::        diskNumber;
00058   theCounters[TECEndcap]       = tec::      endcapNumber;
00059 }
00060