#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 | lvCASTFar |
lvp | lvCASTNear |
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 | ( | ) |
Definition at line 15 of file CastorNumberingScheme.cc.
References LogDebug, lvC3EF, lvC3HF, lvC4EF, lvC4HF, lvCAER, lvCAES, lvCAHR, lvCAHS, lvCAST, lvCASTFar, lvCASTNear, lvCEDR, lvCEDS, lvCHDR, lvCHDS, mod(), and DetId::rawId().
|
virtual |
Definition at line 64 of file CastorNumberingScheme.cc.
|
private |
Definition at line 205 of file CastorNumberingScheme.cc.
References i, cuy::ii, and testEve_cfg::level.
Referenced by getUnitID().
|
virtual |
Definition at line 68 of file CastorNumberingScheme.cc.
References TauDecayModes::dec, detectorLevel(), cmsHarvester::index, testEve_cfg::level, LogDebug, lvC3EF, lvC3HF, lvC4EF, lvC4HF, lvCAER, lvCAES, lvCAHR, lvCAHS, lvCAST, lvCASTFar, lvCASTNear, lvCEDR, lvCEDS, lvCHDR, lvCHDS, packIndex(), DetId::rawId(), and ecaldqm::zside().
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 173 of file CastorNumberingScheme.cc.
References customizeTrackingMonitorSeedNumber::idx.
Referenced by CastorShowerLibraryMaker::FillShowerEvent(), and getUnitID().
|
static |
Definition at line 191 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 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().