From 0f6b01c5b57b6f9c7cc21fb265eafdf64210146d Mon Sep 17 00:00:00 2001
From: Jihee Kim <jihee.kim@anl.gov>
Date: Thu, 23 Jul 2020 14:11:51 -0500
Subject: [PATCH] Apply suggestion to calorimeters/simple_checking.cxx

---
 calorimeters/simple_checking.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calorimeters/simple_checking.cxx b/calorimeters/simple_checking.cxx
index 8b1eda8b..4d9dab19 100644
--- a/calorimeters/simple_checking.cxx
+++ b/calorimeters/simple_checking.cxx
@@ -56,7 +56,7 @@ std::cout << "testing 2\n";
   //dd4hep::rec::SurfaceManager& surfMan = *detector.extension<dd4hep::rec::SurfaceManager>() ;
   //auto surfMap = surfMan.map( "world" ) ;
   
-  auto nhits = [] (std::vector<dd4hep::sim::Geant4Tracker::Hit*>& hits){ return (int) hits.size(); };
+  auto nhits = [] (std::vector<dd4hep::sim::Geant4Calorimeter::Hit*>& hits){ return (int) hits.size(); };
 std::cout << "testing 3\n";
   //for(const auto& h: hits){
   //  //std::cout << (h->position/10.0) << std::endl;
-- 
GitLab