CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BscNumberingScheme.h
Go to the documentation of this file.
1 // File: BscNumberingScheme.h
3 // Date: 02.2006
4 // Description: Numbering scheme for Bsc
5 // Modifications:
7 #ifndef BscNumberingScheme_h
8 #define BscNumberingScheme_h
9 
10 #include "G4Step.hh"
11 #include <boost/cstdint.hpp>
12 #include "G4ThreeVector.hh"
13 #include <map>
14 
15 
16 
17 
19 
20  public:
22  virtual ~BscNumberingScheme();
23 
24  virtual unsigned int getUnitID(const G4Step* aStep) const;
25 
26  // Utilities to get detector levels during a step
27  virtual int detectorLevel(const G4Step*) const;
28  virtual void detectorLevel(const G4Step*, int&, int*, G4String*) const;
29 
30 
31  //protected:
32 
33  static unsigned int packBscIndex(int det, int zside, int station);
34 
35  static void unpackBscIndex(const unsigned int& idx);
36 
37 
38 
39 };
40 
41 #endif
virtual unsigned int getUnitID(const G4Step *aStep) const
static void unpackBscIndex(const unsigned int &idx)
virtual int detectorLevel(const G4Step *) const
static unsigned int packBscIndex(int det, int zside, int station)