Skip to content

Commit

Permalink
Merge pull request #21918 from bsunanda/Phase2-hgx96
Browse files Browse the repository at this point in the history
Phase2-hgx96 Correct DetId types for HGCal
  • Loading branch information
cmsbuild committed Jan 25, 2018
2 parents 7d64c7b + 5e44861 commit e61430c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions SimCalorimetry/HGCalSimProducers/src/HGCDigitizer.cc
@@ -1,6 +1,4 @@
#include "DataFormats/ForwardDetId/interface/HGCalDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCEEDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCHEDetId.h"
#include "SimDataFormats/CaloTest/interface/HGCalTestNumbering.h"
#include "SimCalorimetry/HGCalSimProducers/interface/HGCDigitizer.h"
#include "SimGeneral/MixingModule/interface/PileUpEventPrincipal.h"
Expand Down
6 changes: 2 additions & 4 deletions SimG4CMS/HGCalTestBeam/plugins/HGCalTBAnalyzer.cc
Expand Up @@ -9,8 +9,6 @@
// user include files
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DataFormats/ForwardDetId/interface/HGCalDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCEEDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCHEDetId.h"
#include "DataFormats/HGCDigi/interface/HGCDigiCollections.h"
#include "DataFormats/HGCRecHit/interface/HGCRecHitCollections.h"

Expand Down Expand Up @@ -648,7 +646,7 @@ void HGCalTBAnalyzer::analyze(const edm::Event& iEvent,
<< theDigiContainers->size() << " element(s)" << std::endl;
#endif
for (auto it : *theDigiContainers) {
HGCEEDetId detId = (it.id());
HGCalDetId detId = (it.id());
const HGCSample& hgcSample = it.sample(sampleIndex_);
uint16_t adc = hgcSample.data();
analyzeDigi(0, detId, adc);
Expand All @@ -664,7 +662,7 @@ void HGCalTBAnalyzer::analyze(const edm::Event& iEvent,
<< theDigiContainers->size() << " element(s)" << std::endl;
#endif
for (auto it : *theDigiContainers) {
HGCHEDetId detId = (it.id());
HGCalDetId detId = (it.id());
const HGCSample& hgcSample = it.sample(sampleIndex_);
uint16_t adc = hgcSample.data();
analyzeDigi(1, detId, adc);
Expand Down
2 changes: 0 additions & 2 deletions SimG4CMS/HGCalTestBeam/plugins/HGCalTimingAnalyzer.cc
Expand Up @@ -9,8 +9,6 @@
// user include files
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DataFormats/ForwardDetId/interface/HGCalDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCEEDetId.h"
#include "DataFormats/ForwardDetId/interface/HGCHEDetId.h"
#include "DataFormats/HGCDigi/interface/HGCDigiCollections.h"
#include "DataFormats/HGCRecHit/interface/HGCRecHitCollections.h"

Expand Down

0 comments on commit e61430c

Please sign in to comment.