Skip to content

Commit

Permalink
Take suggestion from Ianna
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Oct 27, 2017
1 parent ffffd63 commit e8ebefd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Geometry/HcalTowerAlgo/interface/HcalGeometry.h
Expand Up @@ -16,6 +16,8 @@ class HcalHardcodeGeometryLoader;

class HcalGeometry : public CaloSubdetectorGeometry {

friend class HcalGeometryPlan1Tester;

public:

friend class HcalFlexiHardcodeGeometryLoader;
Expand Down Expand Up @@ -107,10 +109,6 @@ class HcalGeometry : public CaloSubdetectorGeometry {
const CCGFloat* parm,
const DetId& detId ) override ;

const CaloCellGeometry* getGeometryBase( const DetId& id ) const {
return cellGeomPtr( m_topology.detId2denseId( id ) ) ;
}

void getSummary( CaloSubdetectorGeometry::TrVec& trVector,
CaloSubdetectorGeometry::IVec& iVector,
CaloSubdetectorGeometry::DimVec& dimVector,
Expand All @@ -127,6 +125,11 @@ class HcalGeometry : public CaloSubdetectorGeometry {

private:

// Base clas for getting geometry
const CaloCellGeometry* getGeometryBase( const DetId& id ) const {
return cellGeomPtr( m_topology.detId2denseId( id ) ) ;
}

//returns din
unsigned int newCellImpl( const GlobalPoint& f1 ,
const GlobalPoint& f2 ,
Expand Down

0 comments on commit e8ebefd

Please sign in to comment.