#include <GEMEtaPartition.h>
Public Member Functions | |
LocalPoint | centreOfPad (float pad) const |
LocalPoint | centreOfPad (int pad) const |
LocalPoint | centreOfStrip (float strip) const |
LocalPoint | centreOfStrip (int strip) const |
int | firstStripInPad (int pad) const |
returns first strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1]) More... | |
GEMEtaPartition (GEMDetId id, const BoundPlane::BoundPlanePointer &bp, GEMEtaPartitionSpecs *rrs) | |
GEMDetId | id () const |
bool | isGE11 () const |
bool | isGE21 () const |
bool | isME0 () const |
int | lastStripInPad (int pad) const |
returns last strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1]) More... | |
LocalError | localError (float strip, float cluster_size=1.) const |
float | localPadPitch (const LocalPoint &lp) const |
pad pitch at a particular point More... | |
float | localPitch (const LocalPoint &lp) const |
int | npads () const |
number of GEM-CSC trigger readout pads in partition More... | |
int | nstrips () const |
number of readout strips in partition More... | |
float | pad (const LocalPoint &lp) const |
returns FRACTIONAL pad number [0.,npads) for a point More... | |
float | padOfStrip (int strip) const |
returns FRACTIONAL pad number [0.,npads) for an integer strip [0,nstrip-1] More... | |
float | padPitch () const |
pad pitch in a center More... | |
const Topology & | padTopology () const |
float | pitch () const |
const StripTopology & | specificPadTopology () const |
const StripTopology & | specificTopology () const |
const GEMEtaPartitionSpecs * | specs () const |
float | strip (const LocalPoint &lp) const |
GEMSubDetId::Station | subsystem () const |
const Topology & | topology () const override |
const GeomDetType & | type () const override |
~GEMEtaPartition () override | |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError const * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
virtual const GeomDet * | component (DetId) const |
Returns a component GeomDet given its DetId, if existing. More... | |
virtual std::vector< const GeomDet * > | components () const |
Returns direct components, if any. More... | |
int | gdetIndex () const |
DetId | geographicalId () const |
The label of this GeomDet. More... | |
GeomDet (const ReferenceCountingPointer< Plane > &plane) | |
GeomDet (Plane *plane) | |
int | index () const |
virtual bool | isLeaf () const |
is a Unit More... | |
const Surface::PositionType & | position () const |
The position (origin of the R.F.) More... | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. More... | |
void | setGdetIndex (int i) |
void | setIndex (int i) |
const Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
const Plane & | surface () const |
The nominal surface of the GeomDet. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
GlobalPoint | toGlobal (const Local2DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalPoint | toGlobal (const Local3DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalVector | toGlobal (const LocalVector &lv) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Conversion to the R.F. of the GeomDet. More... | |
LocalVector | toLocal (const GlobalVector &gv) const |
Conversion to the R.F. of the GeomDet. More... | |
virtual | ~GeomDet () |
Private Attributes | |
GEMDetId | id_ |
GEMEtaPartitionSpecs * | specs_ |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
using | SubDetector = GeomDetEnumerators::SubDetector |
Protected Member Functions inherited from GeomDet | |
virtual bool | setAlignmentPositionError (const AlignmentPositionError &ape) |
void | setDetId (DetId id) |
Definition at line 12 of file GEMEtaPartition.h.
GEMEtaPartition::GEMEtaPartition | ( | GEMDetId | id, |
const BoundPlane::BoundPlanePointer & | bp, | ||
GEMEtaPartitionSpecs * | rrs | ||
) |
Definition at line 5 of file GEMEtaPartition.cc.
References GeomDet::setDetId().
|
override |
Definition at line 10 of file GEMEtaPartition.cc.
References specs_.
LocalPoint GEMEtaPartition::centreOfPad | ( | float | pad | ) | const |
returns center of pad position for FRACTIONAL pad number that has a value range of [0., npads)
Definition at line 50 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), pad(), and specificPadTopology().
LocalPoint GEMEtaPartition::centreOfPad | ( | int | pad | ) | const |
returns center of pad position for INTEGER pad number that has a value range of [0, npads-1]
Definition at line 45 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), and specificPadTopology().
Referenced by GEMCoPadDigiValidation::analyze(), GEMPadDigiValidation::analyze(), GEMPadDigiClusterValidation::analyze(), CSCUpgradeMotherboardLUTGenerator::gemPadToCscHsLUT(), and L1TMuon::GeometryTranslator::getGEMSpecificPoint().
LocalPoint GEMEtaPartition::centreOfStrip | ( | float | strip | ) | const |
returns center of strip position for FRACTIONAL strip number that has a value range of [0.0, nstrip)
Definition at line 31 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), and specificTopology().
LocalPoint GEMEtaPartition::centreOfStrip | ( | int | strip | ) | const |
returns center of strip position for INTEGER strip number that has a value range of [0, nstrip-1]
Definition at line 26 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), alignCSCRings::s, specificTopology(), and strip().
Referenced by GEMStripDigiValidation::analyze(), GEMRecHitStandardAlgo::compute(), and padOfStrip().
int GEMEtaPartition::firstStripInPad | ( | int | pad | ) | const |
returns first strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1])
Definition at line 63 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), specificPadTopology(), and strip().
|
inline |
Definition at line 18 of file GEMEtaPartition.h.
References id_.
Referenced by GEMBkgModel::simulate(), GEMNoiseModel::simulate(), and GEMDigiModule::simulate().
bool GEMEtaPartition::isGE11 | ( | ) | const |
Definition at line 77 of file GEMEtaPartition.cc.
References id_, and GEMDetId::isGE11().
bool GEMEtaPartition::isGE21 | ( | ) | const |
Definition at line 79 of file GEMEtaPartition.cc.
References id_, and GEMDetId::isGE21().
bool GEMEtaPartition::isME0 | ( | ) | const |
Definition at line 81 of file GEMEtaPartition.cc.
References id_, and GEMDetId::isME0().
int GEMEtaPartition::lastStripInPad | ( | int | pad | ) | const |
returns last strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1])
Definition at line 69 of file GEMEtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), specificPadTopology(), and strip().
LocalError GEMEtaPartition::localError | ( | float | strip, |
float | cluster_size = 1. |
||
) | const |
Definition at line 33 of file GEMEtaPartition.cc.
References StripTopology::localError(), and specificTopology().
Referenced by GEMRecHitStandardAlgo::compute().
float GEMEtaPartition::localPadPitch | ( | const LocalPoint & | lp | ) | const |
pad pitch at a particular point
Definition at line 54 of file GEMEtaPartition.cc.
References StripTopology::localPitch(), and specificPadTopology().
float GEMEtaPartition::localPitch | ( | const LocalPoint & | lp | ) | const |
Definition at line 39 of file GEMEtaPartition.cc.
References StripTopology::localPitch(), and specificTopology().
int GEMEtaPartition::npads | ( | ) | const |
number of GEM-CSC trigger readout pads in partition
Definition at line 43 of file GEMEtaPartition.cc.
References StripTopology::nstrips(), and specificPadTopology().
Referenced by CSCUpgradeMotherboardLUTGenerator::gemPadToCscHsLUT(), and CSCGEMMotherboard::maxPads().
int GEMEtaPartition::nstrips | ( | ) | const |
number of readout strips in partition
Definition at line 24 of file GEMEtaPartition.cc.
References StripTopology::nstrips(), and specificTopology().
Referenced by GEMBkgModel::simulate(), and GEMNoiseModel::simulate().
float GEMEtaPartition::pad | ( | const LocalPoint & | lp | ) | const |
returns FRACTIONAL pad number [0.,npads) for a point
Definition at line 52 of file GEMEtaPartition.cc.
References specificPadTopology(), and StripTopology::strip().
Referenced by centreOfPad(), CSCUpgradeMotherboardLUTGenerator::cscHsToGemPadLUT(), firstStripInPad(), lastStripInPad(), and padOfStrip().
float GEMEtaPartition::padOfStrip | ( | int | strip | ) | const |
returns FRACTIONAL pad number [0.,npads) for an integer strip [0,nstrip-1]
Definition at line 58 of file GEMEtaPartition.cc.
References centreOfStrip(), pad(), and strip().
float GEMEtaPartition::padPitch | ( | ) | const |
pad pitch in a center
Definition at line 56 of file GEMEtaPartition.cc.
References StripTopology::pitch(), and specificPadTopology().
const Topology & GEMEtaPartition::padTopology | ( | ) | const |
Definition at line 18 of file GEMEtaPartition.cc.
References GEMEtaPartitionSpecs::padTopology(), and specs_.
float GEMEtaPartition::pitch | ( | ) | const |
Definition at line 41 of file GEMEtaPartition.cc.
References StripTopology::pitch(), and specificTopology().
Referenced by GEMBkgModel::simulate(), and GEMNoiseModel::simulate().
const StripTopology & GEMEtaPartition::specificPadTopology | ( | ) | const |
Definition at line 20 of file GEMEtaPartition.cc.
References GEMEtaPartitionSpecs::specificPadTopology(), and specs_.
Referenced by centreOfPad(), firstStripInPad(), lastStripInPad(), localPadPitch(), npads(), pad(), and padPitch().
const StripTopology & GEMEtaPartition::specificTopology | ( | ) | const |
Definition at line 16 of file GEMEtaPartition.cc.
References GEMEtaPartitionSpecs::specificTopology(), and specs_.
Referenced by centreOfStrip(), localError(), localPitch(), nstrips(), pitch(), and strip().
|
inline |
float GEMEtaPartition::strip | ( | const LocalPoint & | lp | ) | const |
returns fractional strip number [0.0, nstrips) for a LocalPoint E.g., if local point hit strip #2, the fractional strip number would be somewhere in the [2.0, 3.0) interval
Definition at line 37 of file GEMEtaPartition.cc.
References specificTopology(), and StripTopology::strip().
Referenced by GEMStripDigiValidation::analyze(), centreOfStrip(), firstStripInPad(), lastStripInPad(), and padOfStrip().
GEMSubDetId::Station GEMEtaPartition::subsystem | ( | ) | const |
Definition at line 75 of file GEMEtaPartition.cc.
References id_, and GEMDetId::subsystem().
|
overridevirtual |
Reimplemented from GeomDet.
Definition at line 14 of file GEMEtaPartition.cc.
References specs_, and GEMEtaPartitionSpecs::topology().
Referenced by GEMBkgModel::simulate(), GEMNoiseModel::simulate(), and GEMSignalModel::simulate().
|
overridevirtual |
Reimplemented from GeomDet.
Definition at line 22 of file GEMEtaPartition.cc.
References specs_.
Referenced by GEMGeometry::add().
|
private |
Definition at line 88 of file GEMEtaPartition.h.
Referenced by id(), isGE11(), isGE21(), isME0(), and subsystem().
|
private |
Definition at line 89 of file GEMEtaPartition.h.
Referenced by padTopology(), specificPadTopology(), specificTopology(), specs(), topology(), type(), and ~GEMEtaPartition().