35 if (ch->id().layer() == isl)
45 double extX = point.
x() + extZ * dir.x() / dir.z();
46 double extY = point.
y() + extZ * dir.y() / dir.z();
54 const float centerOfChamber = this->
position().
z();
58 extrap(position, direction, (centerOfChamber < 0 ? -1.0 : 1.0) * (endOfChamber - centerOfChamber));
60 extrap(position, direction, (centerOfChamber < 0 ? -1.0 : 1.0) * (beginOfChamber - centerOfChamber));
63 return globHigh.phi() - globLow.phi();
Point3DBase< Scalar, LocalTag > LocalPoint
float computeDeltaPhi(const LocalPoint &position, const LocalVector &direction) const
const GEMChamber * chamber(GEMDetId id) const
Return the chamber corresponding to the given id.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
bool operator==(const GEMSuperChamber &sch) const
equal if the id is the same
constexpr std::array< uint8_t, layerIndexSize > layer
~GEMSuperChamber() override
destructor
const Surface::PositionType & position() const
The position (origin of the R.F.)
const GeomDet * component(DetId id) const override
Return the sub-component (chamber) with a given id in this super chamber.
std::vector< const GeomDet * > components() const override
Return the chambers in the super chamber.
void add(const GEMChamber *ch)
Add chamber to the super chamber which takes ownership.
constexpr int chamber() const
int nChambers() const
Return numbers of chambers.
GEMDetId id() const
Return the GEMDetId of this super chamber.
static int position[264][3]
const std::vector< const GEMChamber * > & chambers() const
Return the chambers in the super chamber.
GEMSuperChamber(GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
constructor
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
std::vector< const GEMChamber * > chambers_