CMS 3D CMS Logo

Public Member Functions | Public Attributes

ShallowClustersProducer::moduleVars Struct Reference

List of all members.

Public Member Functions

 moduleVars (uint32_t, const TrackerTopology *)

Public Attributes

int layerwheel
uint32_t module
int petal
int side
int stereo
int stringringrod
int subdetid

Detailed Description

Definition at line 24 of file ShallowClustersProducer.h.


Constructor & Destructor Documentation

ShallowClustersProducer::moduleVars::moduleVars ( uint32_t  detid,
const TrackerTopology tTopo 
)

Definition at line 221 of file ShallowClustersProducer.cc.

References SiStripDetId::subDetector(), SiStripDetId::TEC, TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibString(), SiStripDetId::TID, TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidModule(), TrackerTopology::tidRing(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), and TrackerTopology::tobRod().

                                                         {
  SiStripDetId subdet(detid);
  subdetid = subdet.subDetector();
  if( SiStripDetId::TIB == subdetid ) {
    
    module        = tTopo->tibModule(detid); 
    side          = tTopo->tibIsZMinusSide(detid)?-1:1;  
    layerwheel    = tTopo->tibLayer(detid); 
    stringringrod = tTopo->tibString(detid); 
    stereo        = tTopo->tibIsStereo(detid) ? 1 : 0;
  } else
  if( SiStripDetId::TID == subdetid ) {
    
    module        = tTopo->tidModule(detid); 
    side          = tTopo->tidIsZMinusSide(detid)?-1:1;  
    layerwheel    = tTopo->tidWheel(detid); 
    stringringrod = tTopo->tidRing(detid); 
    stereo        = tTopo->tidIsStereo(detid) ? 1 : 0;
  } else
  if( SiStripDetId::TOB == subdetid ) {
    
    module        = tTopo->tobModule(detid); 
    side          = tTopo->tobIsZMinusSide(detid)?-1:1;  
    layerwheel    = tTopo->tobLayer(detid); 
    stringringrod = tTopo->tobRod(detid); 
    stereo        = tTopo->tobIsStereo(detid) ? 1 : 0;
  } else
  if( SiStripDetId::TEC == subdetid ) {
    
    module        = tTopo->tecModule(detid); 
    side          = tTopo->tecIsZMinusSide(detid)?-1:1;  
    layerwheel    = tTopo->tecWheel(detid); 
    stringringrod = tTopo->tecRing(detid); 
    petal         = tTopo->tecPetalNumber(detid); 
    stereo        = tTopo->tecIsStereo(detid) ? 1 : 0;
  } else {
    module = 0;
    side = 0;
    layerwheel=-1;
    stringringrod = -1;
    petal=-1;
  }
}

Member Data Documentation

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 27 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().

Definition at line 26 of file ShallowClustersProducer.h.

Referenced by ShallowClustersProducer::produce().