16 : theLeftHit(wireId,
Left, digi.time()), theRightHit(wireId,
Right, digi.time()) {}
42 vector<const TrackingRecHit*>
result;
50 vector<TrackingRecHit*>
result;
77 if (lrside != undefLR)
80 throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
86 if (lrside != undefLR) {
90 throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
97 }
else if (lrSide == Right) {
106 if (lrSide == Left) {
108 }
else if (lrSide == Right) {
void setPosition(LocalPoint pos)
Set local position.
float digiTime() const
Return the digi time (ns) used to build the rechits.
LocalPoint localPosition() const override
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setError(LocalError err)
Set local position error.
std::vector< const TrackingRecHit * > recHits() const override
void setPositionAndError(DTEnums::DTCellSide lrside, const LocalPoint &point, const LocalError &err)
virtual DetId geographicalId() const
Return the detId of the Det (a DTLayer).
DTRecHit1DPair * clone() const override
bool operator==(const DTRecHit1DPair &hit) const
Comparison operator, based on the wireId and the digi time.
void setPosition(DTEnums::DTCellSide lrside, const LocalPoint &point)
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
DTLayerId layerId() const
Return the corresponding LayerId.
~DTRecHit1DPair() override
Destructor.
DTRecHit1DPair()
Default constructor. Needed to write the RecHit into a STL container.
LocalPoint localPosition() const override
Return the 3-dimensional local position.
std::pair< const DTRecHit1D *, const DTRecHit1D * > componentRecHits() const
Get the left and right 1D rechits (first and second respectively).
*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
LocalError localPositionError() const override