#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 30 of file CastorNumberingScheme.h.
|
private |
Definition at line 53 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(), DetId::rawId(), and fileinputsource_cfi::sec.
|
virtual |
Definition at line 84 of file CastorNumberingScheme.cc.
|
private |
Definition at line 207 of file CastorNumberingScheme.cc.
References mps_fire::i, cuy::ii, and personalPlayback::level.
Referenced by getUnitID().
|
virtual |
Definition at line 86 of file CastorNumberingScheme.cc.
References cms::cuda::assert(), TauDecayModes::dec, detectorLevel(), personalPlayback::level, LogDebug, lvC3EF, lvC3HF, lvC4EF, lvC4HF, lvCAER, lvCAES, lvCAHR, lvCAHS, lvCAST, lvCASTFar, lvCASTNear, lvCEDR, lvCEDS, lvCHDR, lvCHDS, packIndex(), DetId::rawId(), nano_mu_digi_cff::sector, 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 178 of file CastorNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, nano_mu_digi_cff::sector, and z.
Referenced by CastorShowerLibraryMaker::FillShowerEvent(), and getUnitID().
|
static |
Definition at line 193 of file CastorNumberingScheme.cc.
References heavyIonCSV_trainingSettings::idx, nano_mu_digi_cff::sector, and z.
Referenced by CastorShowerLibraryMaker::FillShowerEvent(), CastorTestAnalysis::getCastorBranchData(), and DoCastorAnalysis::update().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 59 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().
|
private |
Definition at line 58 of file CastorNumberingScheme.h.
Referenced by CastorNumberingScheme(), and getUnitID().