Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:10

0001 #ifndef _PPS_TrackerOrganization_h
0002 #define _PPS_TrackerOrganization_h 1
0003 // -*- C++ -*-
0004 //
0005 // Package:     PPS
0006 // Class  :     PPSPixelOrganization
0007 //
0008 /**\class PPSPixelOrganization PPSPixelOrganization.h SimG4CMS/PPS/interface/PPSPixelOrganization.h
0009  
0010  Description: This class manages the UnitID that labels PPS sensitive
0011               volumes
0012  
0013  Usage:
0014     Used in PPSPixelSD to get unique ID of sensitive detector element
0015  
0016 */
0017 //
0018 // Original Author:  R. Capra
0019 //         Created:  Tue May 16 10:14:34 CEST 2006
0020 //
0021 
0022 #include "SimG4CMS/PPS/interface/PPSVDetectorOrganization.h"
0023 #include "globals.hh"
0024 
0025 class PPSPixelOrganization : public PPSVDetectorOrganization {
0026 public:
0027   // ---------- Constructor and destructor -----------------
0028   PPSPixelOrganization();
0029   ~PPSPixelOrganization() override = default;
0030 
0031   // ---------- member functions ---------------------------
0032   uint32_t unitID(const G4Step* aStep) override;
0033 
0034 private:
0035   // ---------- Private data members -----------------------
0036   int currentUnitID_;
0037   int currentArm_;
0038   int currentStation_;
0039   int currentRP_;
0040   int currentPlane_;
0041 };
0042 #endif