#include <CSCRecHit2D.h>
Public Types | |
typedef edm::RangeMap< int, std::vector< float > > | ADCContainer |
typedef std::vector< int > | ChannelContainer |
enum | SharedInputType { all = TrackingRecHit::all, some = TrackingRecHit::some, allWires, someWires, allStrips, someStrips } |
Public Types inherited from RecHit2DLocalPos | |
typedef Surface::LocalPoint | LocalPoint |
Public Types inherited from TrackingRecHit | |
typedef unsigned int | id_type |
enum | SharedInputType { all, some } |
definition of equality via shared input More... | |
enum | Type { valid = 0, missing = 1, inactive = 2, bad = 3 } |
Public Member Functions | |
const ADCContainer & | adcs () const |
L1A. More... | |
short int | badStrip () const |
flags for involvement of 'bad' channels More... | |
short int | badWireGroup () const |
const ChannelContainer & | channels () const |
Extracting strip channel numbers comprising the rechit. More... | |
const ChannelContainer & | channelsl1a () const |
const ChannelContainer& channels() const { return theStrips; } More... | |
const ChannelContainer & | channelsTotal () const |
L1A. More... | |
CSCRecHit2D * | clone () const |
RecHit2DLocalPos base class interface. More... | |
CSCDetId | cscDetId () const |
CSCRecHit2D () | |
CSCRecHit2D (const CSCDetId &id, const LocalPoint &pos, const LocalError &err, const ChannelContainer &channels, const ADCContainer &adcs, const ChannelContainer &wgroups, float tpeak, float posInStrip, float errInStrip, int quality, short int badStrip=0, short int badWireGroup=0, int scaledWireTime=0) | |
float | errorWithinStrip () const |
The uncertainty of the estimated position within the strip. More... | |
LocalPoint | localPosition () const |
LocalError | localPositionError () const |
float | positionWithinStrip () const |
The estimated position within the strip. More... | |
void | print () const |
Print the content of the RecHit2D including L1A (for debugging) More... | |
int | quality () const |
quality flag of the reconstruction More... | |
virtual bool | sharesInput (const TrackingRecHit *other, TrackingRecHit::SharedInputType what) const |
Returns true if the two TrackingRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires. More... | |
bool | sharesInput (const TrackingRecHit *other, CSCRecHit2D::SharedInputType what) const |
Returns true if the two TrackingRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires. More... | |
bool | sharesInput (const CSCRecHit2D *otherRecHit, CSCRecHit2D::SharedInputType what) const |
Returns true if the two CSCRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires. More... | |
float | tpeak () const |
Fitted peaking time. More... | |
ChannelContainer | wgroups () const |
Container of wire groups comprising the rechit. More... | |
ChannelContainer | wgroupsBX () const |
The BX number. More... | |
ChannelContainer | wgroupsBXandWire () const |
The BX + wire group number. More... | |
float | wireTime () const |
~CSCRecHit2D () | |
Public Member Functions inherited from RecHit2DLocalPos | |
virtual int | dimension () const |
virtual AlgebraicVector | parameters () const |
virtual AlgebraicSymMatrix | parametersError () const |
virtual AlgebraicMatrix | projectionMatrix () const |
RecHit2DLocalPos (DetId id) | |
RecHit2DLocalPos (TrackingRecHit::id_type id=0) | |
virtual std::vector< const TrackingRecHit * > | recHits () const |
Access to component RecHits (if any) More... | |
virtual std::vector < TrackingRecHit * > | recHits () |
Non-const access to component RecHits (if any) More... | |
virtual | ~RecHit2DLocalPos () |
Public Member Functions inherited from TrackingRecHit | |
DetId | geographicalId () const |
virtual void | getKfComponents (KfComponentsHolder &holder) const |
Type | getType () const |
bool | isValid () const |
virtual void | recHitsV (std::vector< const TrackingRecHit * > &) const |
virtual void | recHitsV (std::vector< TrackingRecHit * > &) |
TrackingRecHit (DetId id, Type type=valid) | |
TrackingRecHit (id_type id=0, Type type=valid) | |
Type | type () const |
virtual float | weight () const |
virtual | ~TrackingRecHit () |
Private Attributes | |
ADCContainer | theADCs |
short int | theBadStrip |
short int | theBadWireGroup |
float | theErrorWithinStrip |
LocalError | theLocalError |
LocalPoint | theLocalPosition |
float | thePositionWithinStrip |
int | theQuality |
int | theScaledWireTime |
ChannelContainer | theStrips |
ChannelContainer | theStripsHighBits |
L1A. More... | |
ChannelContainer | theStripsLowBits |
float | theTpeak |
ChannelContainer | theWgroupsHighBits |
L1A. More... | |
ChannelContainer | theWgroupsLowBits |
BX. More... | |
ChannelContainer | theWireGroups |
Additional Inherited Members | |
Protected Member Functions inherited from TrackingRecHit | |
void | setId (id_type iid) |
void | setType (Type ttype) |
Describes a 2-dim reconstructed hit in one layer of an Endcap Muon CSC.
Definition at line 18 of file CSCRecHit2D.h.
typedef edm::RangeMap<int, std::vector<float> > CSCRecHit2D::ADCContainer |
Definition at line 23 of file CSCRecHit2D.h.
typedef std::vector<int> CSCRecHit2D::ChannelContainer |
Definition at line 22 of file CSCRecHit2D.h.
Enumerator | |
---|---|
all | |
some | |
allWires | |
someWires | |
allStrips | |
someStrips |
Definition at line 25 of file CSCRecHit2D.h.
CSCRecHit2D::CSCRecHit2D | ( | ) |
Extract low byte to account strip number
Extract middle byte to account L1A phase
To account BX in wgroups
Definition at line 4 of file CSCRecHit2D.cc.
References i, theStrips, theStripsHighBits, theStripsLowBits, theWgroupsHighBits, theWgroupsLowBits, and theWireGroups.
Referenced by clone().
CSCRecHit2D::CSCRecHit2D | ( | const CSCDetId & | id, |
const LocalPoint & | pos, | ||
const LocalError & | err, | ||
const ChannelContainer & | channels, | ||
const ADCContainer & | adcs, | ||
const ChannelContainer & | wgroups, | ||
float | tpeak, | ||
float | posInStrip, | ||
float | errInStrip, | ||
int | quality, | ||
short int | badStrip = 0 , |
||
short int | badWireGroup = 0 , |
||
int | scaledWireTime = 0 |
||
) |
Extract second byte to account strip number
Extract middle byte to account L1A phase
To account BX in wgroups
Definition at line 38 of file CSCRecHit2D.cc.
References i, theStrips, theStripsHighBits, theStripsLowBits, theWgroupsHighBits, theWgroupsLowBits, and theWireGroups.
CSCRecHit2D::~CSCRecHit2D | ( | ) |
Definition at line 83 of file CSCRecHit2D.cc.
|
inline |
L1A.
Map of strip ADCs for strips comprising the rechit
Definition at line 60 of file CSCRecHit2D.h.
References theADCs.
Referenced by MuonTruth::analyze().
|
inline |
flags for involvement of 'bad' channels
Definition at line 85 of file CSCRecHit2D.h.
References theBadStrip.
|
inline |
|
inline |
Extracting strip channel numbers comprising the rechit.
Definition at line 50 of file CSCRecHit2D.h.
References theStripsLowBits.
Referenced by MuonTruth::analyze(), MuonTruth::associateCSCHitId(), MuonTruth::associateHitId(), operator<<(), print(), and sharesInput().
|
inline |
const ChannelContainer& channels() const { return theStrips; }
L1AExtract the L1A phase bits from the StripChannelContainer
Definition at line 54 of file CSCRecHit2D.h.
References theStripsHighBits.
Referenced by print().
|
inline |
L1A.
Container of the L1A+Channels comprising the rechit
Definition at line 57 of file CSCRecHit2D.h.
References theStrips.
Referenced by print().
|
inlinevirtual |
RecHit2DLocalPos base class interface.
Implements RecHit2DLocalPos.
Definition at line 44 of file CSCRecHit2D.h.
References CSCRecHit2D().
|
inline |
Definition at line 47 of file CSCRecHit2D.h.
References TrackingRecHit::geographicalId().
Referenced by MuonTruth::analyze(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), MuonTruth::associateCSCHitId(), MuonTruth::associateHitId(), FWCSCRecHitProxyBuilder::build(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoST::correctTheCovX(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), print(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), sharesInput(), CSCSegAlgoShowering::showerSeg(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().
|
inline |
The uncertainty of the estimated position within the strip.
Definition at line 79 of file CSCRecHit2D.h.
References theErrorWithinStrip.
Referenced by operator<<().
|
inlinevirtual |
Implements RecHit2DLocalPos.
Definition at line 45 of file CSCRecHit2D.h.
References theLocalPosition.
Referenced by CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInLocalX(), CSCSegAlgoTC::areHitsCloseInLocalX(), FWCSCRecHitProxyBuilder::build(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoST::correctTheCovX(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCMake2DRecHit::isHitInFiducial(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), CSCValidation::ltrh::operator()(), operator<<(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), print(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), CSCSegAlgoShowering::showerSeg(), CSCSegAlgoSK::tryAddingHitsToSegment(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().
|
inlinevirtual |
Implements RecHit2DLocalPos.
Definition at line 46 of file CSCRecHit2D.h.
References theLocalError.
Referenced by FWCSCRecHitProxyBuilder::build(), CSCSegAlgoST::correctTheCovX(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), operator<<(), CSCRecHit2DValidation::plotResolution(), print(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoHitPruning::weightMatrix(), CSCSegAlgoShowering::weightMatrix(), CSCSegAlgoTC::weightMatrix(), CSCSegAlgoST::weightMatrix(), CSCSegAlgoDF::weightMatrix(), and CSCSegAlgoSK::weightMatrix().
|
inline |
The estimated position within the strip.
Definition at line 76 of file CSCRecHit2D.h.
References thePositionWithinStrip.
Referenced by operator<<().
void CSCRecHit2D::print | ( | void | ) | const |
Print the content of the RecHit2D including L1A (for debugging)
Prefered to have this version of print() for debugging; will be removed soon
L1A
L1A
Definition at line 214 of file CSCRecHit2D.cc.
References channels(), channelsl1a(), channelsTotal(), gather_cfg::cout, cscDetId(), i, gen::k, localPosition(), localPositionError(), mathSSE::sqrt(), wgroups(), wgroupsBX(), wgroupsBXandWire(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inline |
quality flag of the reconstruction
Definition at line 82 of file CSCRecHit2D.h.
References theQuality.
Referenced by operator<<().
|
virtual |
Returns true if the two TrackingRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires.
Reimplemented from TrackingRecHit.
Definition at line 85 of file CSCRecHit2D.cc.
Referenced by sharesInput().
bool CSCRecHit2D::sharesInput | ( | const TrackingRecHit * | other, |
CSCRecHit2D::SharedInputType | what | ||
) | const |
Returns true if the two TrackingRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires.
Definition at line 94 of file CSCRecHit2D.cc.
References MuonSubdetId::CSC, TrackingRecHit::geographicalId(), sharesInput(), and DetId::subdetId().
bool CSCRecHit2D::sharesInput | ( | const CSCRecHit2D * | otherRecHit, |
CSCRecHit2D::SharedInputType | what | ||
) | const |
Returns true if the two CSCRecHits are using the same input information, false otherwise. In this case, looks at the geographical ID and channel numbers for strips and wires.
Definition at line 105 of file CSCRecHit2D.cc.
References all, allStrips, allWires, CSCDetId::channel(), channels(), cscDetId(), newFWLiteAna::found, TrackingRecHit::geographicalId(), some, someStrips, someWires, theStrips, theWireGroups, and wgroups().
|
inline |
|
inline |
Container of wire groups comprising the rechit.
Definition at line 64 of file CSCRecHit2D.h.
References theWgroupsLowBits.
Referenced by operator<<(), print(), and sharesInput().
|
inline |
The BX number.
Definition at line 67 of file CSCRecHit2D.h.
References theWgroupsHighBits.
Referenced by print().
|
inline |
The BX + wire group number.
Definition at line 70 of file CSCRecHit2D.h.
References theWireGroups.
Referenced by print().
|
inline |
|
private |
Definition at line 108 of file CSCRecHit2D.h.
Referenced by adcs().
|
private |
Definition at line 114 of file CSCRecHit2D.h.
Referenced by badStrip().
|
private |
Definition at line 115 of file CSCRecHit2D.h.
Referenced by badWireGroup().
|
private |
Definition at line 112 of file CSCRecHit2D.h.
Referenced by errorWithinStrip().
|
private |
Definition at line 106 of file CSCRecHit2D.h.
Referenced by localPositionError().
|
private |
Definition at line 105 of file CSCRecHit2D.h.
Referenced by localPosition().
|
private |
Definition at line 111 of file CSCRecHit2D.h.
Referenced by positionWithinStrip().
|
private |
Definition at line 113 of file CSCRecHit2D.h.
Referenced by quality().
|
private |
Definition at line 116 of file CSCRecHit2D.h.
Referenced by wireTime().
|
private |
Definition at line 107 of file CSCRecHit2D.h.
Referenced by channelsTotal(), CSCRecHit2D(), and sharesInput().
|
private |
|
private |
Definition at line 117 of file CSCRecHit2D.h.
Referenced by channels(), and CSCRecHit2D().
|
private |
Definition at line 110 of file CSCRecHit2D.h.
Referenced by tpeak().
|
private |
|
private |
|
private |
Definition at line 109 of file CSCRecHit2D.h.
Referenced by CSCRecHit2D(), sharesInput(), and wgroupsBXandWire().