CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimG4CMS/Forward/interface/TotemRPOrganization.h

Go to the documentation of this file.
00001 #ifndef Forward_TotemRPOrganization_h
00002 #define Forward_TotemRPOrganization_h 1
00003 // -*- C++ -*-
00004 //
00005 // Package:     Forward
00006 // Class  :     TotemRPOrganization
00007 //
00017 //
00018 // Original Author:  
00019 //         Created:  Tue May 16 10:14:34 CEST 2006
00020 // $Id: TotemRPOrganization.h,v 1.1 2006/05/17 16:18:57 sunanda Exp $
00021 //
00022  
00023 // system include files
00024 
00025 // user include files
00026 
00027 #include "SimG4CMS/Forward/interface/TotemVDetectorOrganization.h"
00028 #include "globals.hh"
00029 
00030 class TotemRPOrganization : public TotemVDetectorOrganization {
00031 
00032 public: 
00033 
00034   // ---------- Constructor and destructor -----------------
00035   TotemRPOrganization();
00036   virtual          ~TotemRPOrganization();
00037 
00038   // ---------- member functions ---------------------------
00039   uint32_t         GetUnitID(const G4Step* aStep);
00040   uint32_t         GetUnitID(const G4Step* aStep) const;
00041 
00042 private:
00043 
00044   // ---------- member data --------------------------------
00045   bool             _needUpdateUnitID;
00046   bool             _needUpdateData;
00047 
00048   int              _currentUnitID;
00049   int              _currentDetectorPosition ;
00050   int              _currentPlane;
00051   int              _currentCSC;
00052   int              _currentLayer;
00053 
00054 };
00055 #endif