diff --git a/SimTracker/Common/interface/SiG4UniversalFluctuation.h b/SimTracker/Common/interface/SiG4UniversalFluctuation.h index d8e8474..21531a3 100644 --- a/SimTracker/Common/interface/SiG4UniversalFluctuation.h +++ b/SimTracker/Common/interface/SiG4UniversalFluctuation.h @@ -21,7 +21,7 @@ // ******************************************************************** // // $Id: SiG4UniversalFluctuation.h,v 1.4 2011/06/13 07:18:21 innocent Exp $ -// GEANT4 tag $Name: CMSSW_6_2_0 $ +// GEANT4 tag $Name: V02-02-02 $ // // ------------------------------------------------------------------- // diff --git a/SimTracker/Common/src/SiG4UniversalFluctuation.cc b/SimTracker/Common/src/SiG4UniversalFluctuation.cc index 55441a5..272e058 100644 --- a/SimTracker/Common/src/SiG4UniversalFluctuation.cc +++ b/SimTracker/Common/src/SiG4UniversalFluctuation.cc @@ -21,7 +21,7 @@ // ******************************************************************** // // $Id: SiG4UniversalFluctuation.cc,v 1.9 2013/04/25 18:17:07 civanch Exp $ -// GEANT4 tag $Name: CMSSW_6_2_0 $ +// GEANT4 tag $Name: V02-02-02 $ // // ------------------------------------------------------------------- // diff --git a/SimTracker/SiStripDigitizer/plugins/SiStripDigitizer.cc b/SimTracker/SiStripDigitizer/plugins/SiStripDigitizer.cc index d93dacb..d099598 100644 --- a/SimTracker/SiStripDigitizer/plugins/SiStripDigitizer.cc +++ b/SimTracker/SiStripDigitizer/plugins/SiStripDigitizer.cc @@ -107,15 +107,12 @@ void SiStripDigitizer::accumulateStripHits(edm::Handle > hS unsigned int detId = (*it).detUnitId(); if(detIds.insert(detId).second) { // The insert succeeded, so this detector element has not yet been processed. - unsigned int isub = DetId(detId).subdetId(); - if((isub == StripSubdetector::TIB) || (isub == StripSubdetector::TID) || (isub == StripSubdetector::TOB) || (isub == StripSubdetector::TEC)) { - StripGeomDetUnit* stripdet = detectorUnits[detId]; - //access to magnetic field in global coordinates - GlobalVector bfield = pSetup->inTesla(stripdet->surface().position()); - LogDebug ("Digitizer ") << "B-field(T) at " << stripdet->surface().position() << "(cm): " - << pSetup->inTesla(stripdet->surface().position()); - theDigiAlgo->accumulateSimHits(it, itEnd, globalSimHitIndex, stripdet, bfield, tTopo); - } + StripGeomDetUnit* stripdet = detectorUnits[detId]; + //access to magnetic field in global coordinates + GlobalVector bfield = pSetup->inTesla(stripdet->surface().position()); + LogDebug ("Digitizer ") << "B-field(T) at " << stripdet->surface().position() << "(cm): " + << pSetup->inTesla(stripdet->surface().position()); + theDigiAlgo->accumulateSimHits(it, itEnd, globalSimHitIndex, stripdet, bfield, tTopo); } } // end of loop over sim hits }