#include <SimG4CMS/Forward/interface/CastorNumberingScheme.h>
Public Member Functions | |
CastorNumberingScheme () | |
virtual uint32_t | getUnitID (const G4Step *aStep) const |
virtual | ~CastorNumberingScheme () |
Static Public Member Functions | |
static uint32_t | packIndex (int z, int sector, int zmodule) |
static void | unpackIndex (const uint32_t &idx, int &z, int §or, int &zmodule) |
Private Types | |
typedef G4LogicalVolume * | lvp |
Private Member Functions | |
void | detectorLevel (const G4Step *, int &, int *, lvp *) const |
Private Attributes | |
lvp | lvC3EF |
lvp | lvC3HF |
lvp | lvC4EF |
lvp | lvC4HF |
lvp | lvCAER |
lvp | lvCAES |
lvp | lvCAHR |
lvp | lvCAHS |
lvp | lvCAST |
lvp | lvCEDR |
lvp | lvCEDS |
lvp | lvCHDR |
lvp | lvCHDS |
Description: This class manages the UnitID that labels Castor sensitive volumes
Usage: Used in CastorSD to get unique ID of sensitive detector element
Definition at line 31 of file CastorNumberingScheme.h.
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
CastorNumberingScheme::CastorNumberingScheme | ( | ) |
|
virtual |
Definition at line 50 of file CastorNumberingScheme.cc.
|
private |
Definition at line 176 of file CastorNumberingScheme.cc.
References i, and testEve_cfg::level.
Referenced by getUnitID().
|
virtual |
Definition at line 54 of file CastorNumberingScheme.cc.
References detectorLevel(), getHLTprescales::index, testEve_cfg::level, LogDebug, lvC3EF, lvC3HF, lvC4EF, lvC4HF, lvCAER, lvCAES, lvCAHR, lvCAHS, lvCAST, lvCEDR, lvCEDS, lvCHDR, lvCHDS, packIndex(), and DetId::rawId().
Referenced by CastorSD::setDetUnitId().
|
static |
pack the Unit ID for Castor
Bits 0- 5: zmodule index
Bits 6- 9: sector index
Bits 10-19: unused
Bit 20: +/- z side
Bits 22-27: unused
Bits 28-31: subdetector
(+z=1,-z=2); sector=1..16, zmodule=1..18;
Definition at line 144 of file CastorNumberingScheme.cc.
Referenced by CastorShowerLibraryMaker::FillShowerEvent(), and getUnitID().
|
static |
Definition at line 162 of file CastorNumberingScheme.cc.
Referenced by CastorShowerLibraryMaker::FillShowerEvent(), CastorTestAnalysis::getCastorBranchData(), and DoCastorAnalysis::update().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 64 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 63 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().