#include <ME0EtaPartition.h>
Public Member Functions | |
LocalPoint | centreOfPad (int pad) const |
LocalPoint | centreOfPad (float pad) const |
LocalPoint | centreOfStrip (int strip) const |
LocalPoint | centreOfStrip (float strip) const |
int | firstStripInPad (int pad) const |
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads]) More... | |
ME0DetId | id () const |
int | lastStripInPad (int pad) const |
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads]) 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 |
ME0EtaPartition (ME0DetId id, const BoundPlane::BoundPlanePointer &bp, ME0EtaPartitionSpecs *rrs) | |
int | npads () const |
number of ME0-CSC trigger readout pads in partition More... | |
int | nstrips () const |
Return the chamber this roll belongs to. 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 [1,nstrip] 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 ME0EtaPartitionSpecs * | specs () const |
float | strip (const LocalPoint &lp) const |
const Topology & | topology () const override |
const GeomDetType & | type () const override |
~ME0EtaPartition () 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 (Plane *plane) | |
GeomDet (const ReferenceCountingPointer< 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 | |
ME0DetId | id_ |
ME0EtaPartitionSpecs * | specs_ |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
using | SubDetector = GeomDetEnumerators::SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
Protected Attributes inherited from GeomDet | |
AlignmentPositionError * | theAlignmentPositionError = 0 |
Definition at line 12 of file ME0EtaPartition.h.
ME0EtaPartition::ME0EtaPartition | ( | ME0DetId | id, |
const BoundPlane::BoundPlanePointer & | bp, | ||
ME0EtaPartitionSpecs * | rrs | ||
) |
|
override |
LocalPoint ME0EtaPartition::centreOfPad | ( | int | pad | ) | const |
returns center of pad position for INTEGER pad number that has a value range of [1, npads]
Definition at line 98 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), and specificPadTopology().
Referenced by id().
LocalPoint ME0EtaPartition::centreOfPad | ( | float | pad | ) | const |
returns center of pad position for FRACTIONAL pad number that has a value range of [0., npads]
Definition at line 105 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), and specificPadTopology().
LocalPoint ME0EtaPartition::centreOfStrip | ( | int | strip | ) | const |
returns center of strip position for INTEGER strip number that has a value range of [1, nstrip]
Definition at line 54 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), alignCSCRings::s, specificTopology(), and strip().
Referenced by id(), padOfStrip(), and ME0SimpleModel::simulateClustering().
LocalPoint ME0EtaPartition::centreOfStrip | ( | float | strip | ) | const |
returns center of strip position for FRACTIONAL strip number that has a value range of [0., nstrip]
Definition at line 61 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), and specificTopology().
int ME0EtaPartition::firstStripInPad | ( | int | pad | ) | const |
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition at line 137 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), specificPadTopology(), and strip().
Referenced by id().
|
inline |
Definition at line 20 of file ME0EtaPartition.h.
References centreOfPad(), centreOfStrip(), firstStripInPad(), id_, lastStripInPad(), localError(), localPadPitch(), localPitch(), npads(), nstrips(), pad(), padOfStrip(), padPitch(), padTopology(), pitch(), specificPadTopology(), specificTopology(), strip(), topology(), and type().
Referenced by ME0ReDigiProducer::getStripProperties(), ME0PreRecoGaussianModel::simulateNoise(), ME0SimpleModel::simulateNoise(), ME0PreRecoGaussianModel::simulateSignal(), and ME0SimpleModel::simulateSignal().
int ME0EtaPartition::lastStripInPad | ( | int | pad | ) | const |
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition at line 145 of file ME0EtaPartition.cc.
References StripTopology::localPosition(), AlCaHLTBitMon_ParallelJobs::p, pad(), specificPadTopology(), and strip().
Referenced by id().
LocalError ME0EtaPartition::localError | ( | float | strip, |
float | cluster_size = 1. |
||
) | const |
Definition at line 67 of file ME0EtaPartition.cc.
References StripTopology::localError(), specificTopology(), and mathSSE::sqrt().
Referenced by id().
float ME0EtaPartition::localPadPitch | ( | const LocalPoint & | lp | ) | const |
pad pitch at a particular point
Definition at line 117 of file ME0EtaPartition.cc.
References StripTopology::localPitch(), and specificPadTopology().
Referenced by id().
float ME0EtaPartition::localPitch | ( | const LocalPoint & | lp | ) | const |
Definition at line 79 of file ME0EtaPartition.cc.
References StripTopology::localPitch(), and specificTopology().
Referenced by id().
int ME0EtaPartition::npads | ( | ) | const |
number of ME0-CSC trigger readout pads in partition
Definition at line 92 of file ME0EtaPartition.cc.
References StripTopology::nstrips(), and specificPadTopology().
Referenced by id().
int ME0EtaPartition::nstrips | ( | ) | const |
Return the chamber this roll belongs to.
number of readout strips in partition
Definition at line 48 of file ME0EtaPartition.cc.
References StripTopology::nstrips(), and specificTopology().
Referenced by id(), ME0SimpleModel::simulateClustering(), and ME0SimpleModel::simulateNoise().
float ME0EtaPartition::pad | ( | const LocalPoint & | lp | ) | const |
returns FRACTIONAL pad number [0.,npads] for a point
Definition at line 111 of file ME0EtaPartition.cc.
References specificPadTopology(), and StripTopology::strip().
Referenced by centreOfPad(), firstStripInPad(), id(), lastStripInPad(), and padOfStrip().
float ME0EtaPartition::padOfStrip | ( | int | strip | ) | const |
returns FRACTIONAL pad number [0.,npads] for an integer strip [1,nstrip]
Definition at line 130 of file ME0EtaPartition.cc.
References centreOfStrip(), and pad().
Referenced by id().
float ME0EtaPartition::padPitch | ( | ) | const |
pad pitch in a center
Definition at line 123 of file ME0EtaPartition.cc.
References StripTopology::pitch(), and specificPadTopology().
Referenced by id().
const Topology & ME0EtaPartition::padTopology | ( | ) | const |
Definition at line 30 of file ME0EtaPartition.cc.
References ME0EtaPartitionSpecs::padTopology(), and specs_.
Referenced by id().
float ME0EtaPartition::pitch | ( | ) | const |
Definition at line 85 of file ME0EtaPartition.cc.
References StripTopology::pitch(), and specificTopology().
Referenced by id(), and ME0SimpleModel::simulateNoise().
const StripTopology & ME0EtaPartition::specificPadTopology | ( | ) | const |
Definition at line 36 of file ME0EtaPartition.cc.
References ME0EtaPartitionSpecs::specificPadTopology(), and specs_.
Referenced by centreOfPad(), firstStripInPad(), id(), lastStripInPad(), localPadPitch(), npads(), pad(), and padPitch().
const StripTopology & ME0EtaPartition::specificTopology | ( | ) | const |
Definition at line 24 of file ME0EtaPartition.cc.
References ME0EtaPartitionSpecs::specificTopology(), and specs_.
Referenced by centreOfStrip(), ME0ReDigiProducer::getStripProperties(), id(), localError(), localPitch(), nstrips(), pitch(), ME0SimpleModel::simulateClustering(), and strip().
|
inline |
Definition at line 19 of file ME0EtaPartition.h.
References specs_.
Referenced by ME0PreRecoGaussianModel::correctSigmaU(), and ME0PreRecoGaussianModel::simulateNoise().
float ME0EtaPartition::strip | ( | const LocalPoint & | lp | ) | const |
returns fractional strip number [0..nstrips] for a LocalPoint E.g., if local point hit strip #2, the fractional strip number would be somewhere in the (1., 2] interval
Definition at line 73 of file ME0EtaPartition.cc.
References specificTopology(), and StripTopology::strip().
Referenced by centreOfStrip(), firstStripInPad(), id(), and lastStripInPad().
|
overridevirtual |
Reimplemented from GeomDet.
Definition at line 18 of file ME0EtaPartition.cc.
References specs_, and ME0EtaPartitionSpecs::topology().
Referenced by ME0PreRecoGaussianModel::correctSigmaU(), id(), ME0PreRecoGaussianModel::simulateNoise(), and ME0SimpleModel::simulateNoise().
|
overridevirtual |
Reimplemented from GeomDet.
Definition at line 42 of file ME0EtaPartition.cc.
References specs_.
Referenced by ME0Geometry::add(), and id().
|
private |
Definition at line 91 of file ME0EtaPartition.h.
Referenced by id().
|
private |
Definition at line 92 of file ME0EtaPartition.h.
Referenced by padTopology(), specificPadTopology(), specificTopology(), specs(), topology(), type(), and ~ME0EtaPartition().