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