From fefd9fc530220f6ab6383b98fb62cbccae1a830c Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Fri, 9 Jun 2017 11:54:37 +0200 Subject: [PATCH] Fix includes in RecoLocalCalo/HGCalRecAlgos. We use std::vector in KDTreeLinkerTools.h, so we also need to include the corresponding STL header to make this header compile. In HGCalRecHitSimpleAlgo.h we use cms::Exception, so here we also need to include the relevant header Exception.h. --- RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitSimpleAlgo.h | 1 + RecoLocalCalo/HGCalRecAlgos/interface/KDTreeLinkerToolsT.h | 1 + 2 files changed, 2 insertions(+) diff --git a/RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitSimpleAlgo.h b/RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitSimpleAlgo.h index 29c2226080cfe..b728f1c6ff7e5 100644 --- a/RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitSimpleAlgo.h +++ b/RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitSimpleAlgo.h @@ -8,6 +8,7 @@ * \author Valeri Andreev */ +#include "FWCore/Utilities/interface/Exception.h" #include "RecoLocalCalo/HGCalRecAlgos/interface/HGCalRecHitAbsAlgo.h" #include "DataFormats/HGCDigi/interface/HGCDataFrame.h" #include "DataFormats/ForwardDetId/interface/HGCalDetId.h" diff --git a/RecoLocalCalo/HGCalRecAlgos/interface/KDTreeLinkerToolsT.h b/RecoLocalCalo/HGCalRecAlgos/interface/KDTreeLinkerToolsT.h index 1811d80c7942f..ceef81e2754bf 100644 --- a/RecoLocalCalo/HGCalRecAlgos/interface/KDTreeLinkerToolsT.h +++ b/RecoLocalCalo/HGCalRecAlgos/interface/KDTreeLinkerToolsT.h @@ -2,6 +2,7 @@ #define KDTreeLinkerToolsTemplated_h #include +#include // Box structure used to define 2D field. // It's used in KDTree building step to divide the detector