diff --git a/SimG4CMS/Calo/interface/CaloSD.h b/SimG4CMS/Calo/interface/CaloSD.h index a1c0df4ea6c3d..b35ccb72ffd5a 100644 --- a/SimG4CMS/Calo/interface/CaloSD.h +++ b/SimG4CMS/Calo/interface/CaloSD.h @@ -67,6 +67,8 @@ class CaloSD : public SensitiveCaloDetector, void fillHits(edm::PCaloHitContainer&, const std::string&) override; void reset() override; + bool isItFineCalo(const G4VTouchable* touch); + protected: virtual double getEnergyDeposit(const G4Step* step); virtual double EnergyCorrected(const G4Step& step, const G4Track*); @@ -113,8 +115,6 @@ class CaloSD : public SensitiveCaloDetector, inline void setNumberCheckedHits(int val) { nCheckedHits = val; } - bool isItFineCalo(const G4VTouchable* touch); - private: void storeHit(CaloG4Hit*); bool saveHit(CaloG4Hit*);