test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZdcNumberingScheme.h
Go to the documentation of this file.
1 // File: ZdcNumberingScheme.h
3 // Date: 03.06
4 // Description: Numbering scheme for Zdc
5 // Modifications:
7 #undef debug
8 #ifndef ZdcNumberingScheme_h
9 #define ZdcNumberingScheme_h
10 
11 #include "G4Step.hh"
12 
14 
15 public:
16  ZdcNumberingScheme(int);
17  virtual ~ZdcNumberingScheme();
18 
19  void setVerbosity(const int);
20 
21  virtual unsigned int getUnitID(const G4Step* aStep) const ;
22 
27  static unsigned int packZdcIndex(int subDet, int layer, int fiber, int channel, int z);
28 
29  // unpacking Unit ID for Zdc (-z=1, +z=2)
30  static void unpackZdcIndex(const unsigned int& idx, int& subDet, int& layer, int& fiber,
31  int& channel, int& z);
32 
33  int detectorLevel(const G4Step*) const;
34  void detectorLevel(const G4Step*, int&, int*, G4String*) const;
35 
36 private:
37 
38  int verbosity;
39 
40 };
41 
42 #endif
static unsigned int packZdcIndex(int subDet, int layer, int fiber, int channel, int z)
virtual unsigned int getUnitID(const G4Step *aStep) const
float float float z
void setVerbosity(const int)
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
static void unpackZdcIndex(const unsigned int &idx, int &subDet, int &layer, int &fiber, int &channel, int &z)
int detectorLevel(const G4Step *) const