@@ -51,7 +51,7 @@ class HGCalDDDConstants {
5151 double calibCellRad (bool hd) const { return (hd ? hgpar_->calibCellRHD_ : hgpar_->calibCellRLD_ ); }
5252 bool cassetteMode () const {
5353 return ((mode_ == HGCalGeometryMode::Hexagon8Cassette) || (mode_ == HGCalGeometryMode::TrapezoidCassette) ||
54- (mode_ == HGCalGeometryMode::Hexagon8CalibCell));
54+ (mode_ == HGCalGeometryMode::Hexagon8CalibCell) || (mode_ == HGCalGeometryMode::Hexagon8FineCell) || (mode_ == HGCalGeometryMode::TrapezoidFineCell) );
5555 }
5656 bool cassetteShiftScintillator (int zside, int layer, int iphi) const ;
5757 bool cassetteShiftSilicon (int zside, int layer, int waferU, int waferV) const ;
@@ -113,10 +113,8 @@ class HGCalDDDConstants {
113113 std::pair<float , float > localToGlobal8 (
114114 int zside, int lay, int waferU, int waferV, double localX, double localY, bool reco, bool debug) const ;
115115 std::pair<float , float > locateCell (int cell, int lay, int type, bool reco) const ;
116- std::pair<float , float > locateCell (
117- int zside, int lay, int waferU, int waferV, int cellU, int cellV, bool reco, bool all, bool norot, bool debug)
118- const ;
119- std::pair<float , float > locateCell (const HGCSiliconDetId&, bool debug) const ;
116+ std::pair<float , float > locateCell (int zside, int lay, int waferU, int waferV, int cellU, int cellV, bool reco, bool all, bool norot, bool cog, bool debug) const ;
117+ std::pair<float , float > locateCell (const HGCSiliconDetId&, bool cog, bool debug) const ;
120118 std::pair<float , float > locateCell (const HGCScintillatorDetId&, bool debug) const ;
121119 std::pair<float , float > locateCellHex (int cell, int wafer, bool reco) const ;
122120 std::pair<float , float > locateCellTrap (int zside, int lay, int ieta, int iphi, bool reco, bool debug) const ;
@@ -153,12 +151,12 @@ class HGCalDDDConstants {
153151 inline int tileSiPM (int sipm) const { return ((sipm > 0 ) ? HGCalTypes::SiPMSmall : HGCalTypes::SiPMLarge); }
154152 bool tileTrapezoid () const {
155153 return ((mode_ == HGCalGeometryMode::Trapezoid) || (mode_ == HGCalGeometryMode::TrapezoidFile) ||
156- (mode_ == HGCalGeometryMode::TrapezoidModule) || (mode_ == HGCalGeometryMode::TrapezoidCassette));
154+ (mode_ == HGCalGeometryMode::TrapezoidModule) || (mode_ == HGCalGeometryMode::TrapezoidCassette) || (mode_ == HGCalGeometryMode::TrapezoidFineCell) );
157155 }
158156 std::pair<int , int > tileType (int layer, int ring, int phi) const ;
159157 inline bool trapezoidFile () const {
160158 return ((mode_ == HGCalGeometryMode::TrapezoidFile) || (mode_ == HGCalGeometryMode::TrapezoidModule) ||
161- (mode_ == HGCalGeometryMode::TrapezoidCassette));
159+ (mode_ == HGCalGeometryMode::TrapezoidCassette) || (mode_ == HGCalGeometryMode::TrapezoidFineCell) );
162160 }
163161 inline bool v17OrLess () const { return (mode_ < HGCalGeometryMode::Hexagon8CalibCell); }
164162 inline unsigned int volumes () const { return hgpar_->moduleLayR_ .size (); }
@@ -182,15 +180,18 @@ class HGCalDDDConstants {
182180 inline bool waferHexagon8 () const {
183181 return ((mode_ == HGCalGeometryMode::Hexagon8) || (mode_ == HGCalGeometryMode::Hexagon8Full) ||
184182 (mode_ == HGCalGeometryMode::Hexagon8File) || (mode_ == HGCalGeometryMode::Hexagon8Module) ||
185- (mode_ == HGCalGeometryMode::Hexagon8Cassette) || (mode_ == HGCalGeometryMode::Hexagon8CalibCell));
183+ (mode_ == HGCalGeometryMode::Hexagon8Cassette) || (mode_ == HGCalGeometryMode::Hexagon8CalibCell) || (mode_ == HGCalGeometryMode::Hexagon8FineCell) );
186184 }
187185 inline bool waferHexagon8File () const {
188186 return ((mode_ == HGCalGeometryMode::Hexagon8File) || (mode_ == HGCalGeometryMode::Hexagon8Module) ||
189- (mode_ == HGCalGeometryMode::Hexagon8Cassette) || (mode_ == HGCalGeometryMode::Hexagon8CalibCell));
187+ (mode_ == HGCalGeometryMode::Hexagon8Cassette) || (mode_ == HGCalGeometryMode::Hexagon8CalibCell) || (mode_ == HGCalGeometryMode::Hexagon8FineCell));
188+ }
189+ inline bool waferHexagon8Fine () const {
190+ return ((mode_ == HGCalGeometryMode::Hexagon8FineCell));
190191 }
191192 inline bool waferHexagon8Module () const {
192193 return ((mode_ == HGCalGeometryMode::Hexagon8Module) || (mode_ == HGCalGeometryMode::Hexagon8Cassette) ||
193- (mode_ == HGCalGeometryMode::Hexagon8CalibCell));
194+ (mode_ == HGCalGeometryMode::Hexagon8CalibCell) || (mode_ == HGCalGeometryMode::Hexagon8FineCell) );
194195 }
195196 bool waferInLayer (int wafer, int lay, bool reco) const ;
196197 bool waferFullInLayer (int wafer, int lay, bool reco) const ;
0 commit comments