Skip to content

Commit

Permalink
Merge pull request #16 from beaudett/master
Browse files Browse the repository at this point in the history
fix problem with CaloParticles
  • Loading branch information
clelange authored Mar 1, 2017
2 parents c8172da + 61ddd1a commit 5fff339
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HGCalAnalysis/plugins/HGCalAnalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ HGCalAnalysis::HGCalAnalysis(const edm::ParameterSet& iConfig) :
if(!readOfficialReco) {
_vtx = consumes<std::vector<TrackingVertex> >(edm::InputTag("mix","MergedTrackTruth"));
_part = consumes<std::vector<TrackingParticle> >(edm::InputTag("mix","MergedTrackTruth"));
if (!readCaloParticles) {
_caloParticles = consumes<std::vector<CaloParticle> >(edm::InputTag("mix","MergedCaloTruth"));
}
}
else {
_hev = consumes<edm::HepMCProduct>(edm::InputTag("generatorSmeared") );
_simTracks = consumes<std::vector<SimTrack> >(edm::InputTag("g4SimHits"));
_simVertices = consumes<std::vector<SimVertex> >(edm::InputTag("g4SimHits"));
}
if (readCaloParticles) {
_caloParticles = consumes<std::vector<CaloParticle> >(edm::InputTag("mix","MergedCaloTruth"));
}
_pfClusters = consumes<std::vector<reco::PFCluster> >(edm::InputTag("particleFlowClusterHGCal"));
_multiClusters = consumes<std::vector<reco::HGCalMultiCluster> >(edm::InputTag("hgcalLayerClusters"));
_tracks = consumes<std::vector<reco::Track> >(edm::InputTag("generalTracks"));
Expand Down

0 comments on commit 5fff339

Please sign in to comment.