20 theRightHit(wireId,
Right, digi.
time()) {}
61 vector<const TrackingRecHit*>
result;
71 vector<TrackingRecHit*>
result;
112 if(lrside != undefLR)
114 else throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
124 if(lrside != undefLR) {
128 else throw cms::Exception(
"DTRecHit1DPair::setPosition with undefined LR");
137 }
else if(lrSide == Right) {
150 }
else if(lrSide == Right) {
LocalPoint localPosition() const override
Return the 3-dimensional local position.
void setPosition(LocalPoint pos)
Set local position.
LocalError localPositionError() const override
float digiTime() const
Return the digi time (ns) used to build the rechits.
LocalError localPositionError() const override
Return the 3-dimensional error on the local position.
const DTRecHit1D * componentRecHit(DTEnums::DTCellSide lrSide) const
Return the left/right DTRecHit1D.
void setError(LocalError err)
Set local position error.
void setPositionAndError(DTEnums::DTCellSide lrside, const LocalPoint &point, const LocalError &err)
virtual DetId geographicalId() const
Return the detId of the Det (a DTLayer).
ostream & operator<<(ostream &os, const DTRecHit1DPair &hit)
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)
std::vector< const TrackingRecHit * > recHits() const override
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
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