Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:15

0001 #include "SimG4CMS/Forward/interface/TotemT2ScintNumberingScheme.h"
0002 
0003 uint32_t TotemT2ScintNumberingScheme::packID(const int& zside, const int& layer, const int& iphi) {
0004   uint32_t id = (((layer & kTotemT2LayerMask) << kTotemT2LayerOffset) | ((zside > 0) ? kTotemT2ZsideMask : 0) |
0005                  (iphi & kTotemT2PhiMask));
0006   return id;
0007 }